单项选择题
You are creating a Windows Communication Foundation (WCF) service. You need to ensure that the service is compatible with ASP.NET to make use of the session state. Which binding should you use?()
A. NetTcpContextBinding
B. BasicHttpContextBinding
C. NetTcpBinding
D. NetMsmqBinding
点击查看答案
相关考题
-
单项选择题
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.
