单项选择题
You are maintaining a Windows Communication Foundation (WCF) service that uses a custom username password class to authenticate clients with. The service certificate is hosted in the deployment server store for trusted root certificate authorities and has a Subject value of TaxServiceKey. Other service certificates hosted on the same server also use TaxServiceKey as a Subject value.You need to ensure that the service identifies itself with a certificate whose subject name and distinguished names are TaxServiceKey.Which code segment should you use?()
A.
B.
C.
D.
点击查看答案
相关考题
-
单项选择题
You are hosting a Windows Communication Foundation (WCF) service under Microsoft Interent Information Services (IIS) 7.0. You have set up a web site in IIS Manager. The physical path is c:\wwwroot\Calendar. There is a Calendar.svc file in the c:\wwwroot\Calendar folder. It contains the following directive: <% @ServiceHost Language="C#" Debug="true" Service="Calendar.Calendar" CodeBehind="CalendarSvc.cs" %> The CalendarSvc.cs file contains the source for the Calendar class in the Calendar namespace. You compile this code into the Calendar.dll file. You need to deploy your service to the web site. What should you do?()
A. Copy the Calendar.dll file to the c:\wwwroot\Calendar\code folder
B. Copy the Calendar.dll file to the c:\wwwroot\Calendar\bin folder
C. Copy the Calendar.svc.cs file to the c:\wwwroot\Calendar\bin folder
D. Copy the Calendar.svc.cs file to the c:\wwwroot\Calendar\code folder -
单项选择题
You are using tracing to diagnose run-time issues.When you look at the traces for the service in SvcTraceViewer.exe, you see what is shown in the exhibit: The exception trace is selected in SvcTraceViewer.exe. You need to interpret the trace results to determine where the error occurred and what to do next. What should you do?()
A.
B.
C.
D. -
单项选择题
You want to debug the Windows Communication Foundation (WCF) client and server interaction through message and application tracing.You need to correlate traces generated on the client and the server. Which XML segment should you add to the system.diagnostics configuration element in the client and server application configuration file?()
A.
B.
C.
D.
