单项选择题
Windows Communication Foundation (WCF) service is self-hosted in a console application. The service implements the lTimeService service interface in the TimeService class.You need to configure the service endpoint for HTTP communication. How should you define the service and endpoint tags?()
A.
B.
C.
D.
点击查看答案
相关考题
-
单项选择题
Four Windows Communication Foundation (WCF) services are hosted in Microsoft Internet Information Services (IIS).No behavior configuration exists in the web.config fiIe. You need to configure the application so that every service and endpoint limits the number of concurrent calls to 50 and the number of concurrent sessions to 25. Which XML segment should you add to the system.serviceModel configuration section of the web.config file?()
A.
B.
C.
D. -
单项选择题
You are moving a Windows Communication Foundation (WCF) service into production. You need to be able to monitor the health of the service. You only want to enable all performance counter instances exposed by the ServiceModelService counter group. Which element should you add to the system.serviceModel section in the application configuration file?()
A. <diagnostics performancecounters="ServiceOnly">
B. <diagnostics performancecounters="Off" wmiproviderenabled="true">
C. <diagnostics performancecounters="All">
D. <diagnostics wmiproviderenabled="true"> -
单项选择题
A Windows Communication Foundation (WCF) service is responsible for transmitting XML documents between systems. The service has the following requirements: It must minimize the transmission size by attaching the XML document as is without using escape characters or base64 encoding. It must interoperate with systems that use SOAP but are not built on the .NET plafform. You need to configure the service to support these requirements. Which message encoding should you use?()
A. Binary message encoding
B. MTOM (Message Transmission Optimization Mechanism) message encoding
C. Text message encoding with message version set to none
D. Text message encoding with message version set to SOAP 1.2
