单项选择题
You are developing a Windows Communication Foundation (WCF) service that will be hosted in Microsoft Internet Information Services (IIS) 7.0.The service must be hosted in an lIS application named Info. You need to enable this service to be hosted in llS by changing the web.config file.Which XML segment should you add to the web.config file?()
A.
B.
C.
D.
点击查看答案
相关考题
-
单项选择题
Windows Communication Foundation (WCF) service will be hosted in Microsoft Internet Information Services (IIS).You create a new application in IIS to host this service and copy the service DLL to the bin directory of the application.You need to complete the deployment of this service to IIS. What should you do next?()
A. Create an asmx file and add a @ServiceHost directive to this file. Copy the file to the root of the application directory.
B. Create an .asmx file and add a @Register directive to this file. Copy the file to the bin directoyy of the application.
C. Create a svc file and add a @ServiceHost directive to this file. Copy the file to the root of the application directory.
D. Create a .svc file and add a @Register directive to this file. Copy the file to the bin directory of the application. -
单项选择题
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.
