网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

关于WCF说法正确的是()

  • A、支持新的WS-*系列协议,并能够通过像SOAP/HTTP这样的开放标准实现异构系统的互操作
  • B、WCF通过一个统一的编程模型把Web Service提升到了一个新的层次,可以方便地构建安全、可靠和互操作的应用程序
  • C、在WCF中有不同的契约,其中包括服务契约、数据契约和消息契约
  • D、WCF英文全称Windows Communication Foundation

参考答案

更多 “关于WCF说法正确的是()A、支持新的WS-*系列协议,并能够通过像SOAP/HTTP这样的开放标准实现异构系统的互操作B、WCF通过一个统一的编程模型把Web Service提升到了一个新的层次,可以方便地构建安全、可靠和互操作的应用程序C、在WCF中有不同的契约,其中包括服务契约、数据契约和消息契约D、WCF英文全称Windows Communication Foundation” 相关考题
考题 You are developing a Windows Communication Foundation (WCF) service that will be hosted in Microsoft Internet Services (IIS) 7.0.The service must be hosted in an IIS application named Info. You need to enable this service to be hosted in IIS by changing the web.config file.Witch XML segment should you add to the web.config file?()A.B.C.D.

考题 You are developing a Windows Service. The Windows Service will host a Windows Communication Foundation (WCF) service.The Windows Service class will inherit from ServiceBase.You need to ensure that the WCF service starts when the Windows Service is restarted.What should you do in the Windows Service class?()A.B.C.D.

考题 You are developing an application that performs file backups in the background. The background application will host a Windows Communication Foundation (WCF) service and must be active as soon as the machine is running. The background application will not have a user interface. A front-end application will consume the WCF service and will provide the user interface.You need to choose a host environment for the WCF service.Which hosting environment should you choose? ()A. Microsoft Internet Information Services (IIS) 6.0B. Windows Process Activation Services (WAS)C. A Windows Forms applicationD. A Windows Service

考题 A Windows Communication Foundation (WCF) service sends notifications when the service is started and stopped.You need to implement a client that logs these notifications. Which class should you use?() A. AnnouncementServiceB. AnnouncementClientC. DiscoveryClientD. HttpListener

考题 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.

考题 You have an existing Windows Communication Foundation (WCF) service. You need to ensure that other services are notified when the service is started.What should you do?() A.B.C.D.

考题 Your Windows Communication Foundation (WCF) client application uses HTTP to communicate with the service.You need to enable message logging and include all security information such as tokens and nonces in logged messages.What should you do?()A.B.C.D.

考题 A Windows Communication Foundation (WCF) service implements the following contract. [ServiceContract] public interface IHelloService { [OperationContract(WebGet(UriTemplate="hello?name={name}"))] A.B.C.D.

考题 A Windows Communication Foundation (WCF) service uses the following service contract. [ServiceContract] public interface IService{ [OperationContract] string Operation1(string s);}You need to ensure that the operation contract Operation1 responds to HTTP POST requests.Which code segment should you use?()A.B.C.D.

考题 You are designing a Windows Azure application.   The application includes processes that communicate by using Windows Communications Foundation (WCF) services.  The WCF services must support streaming.  You need to recommend a host for the processes and a WCF binding.   Which two actions should you recommend?()A、 Host the processes in web roles.B、 Host the processes in worker roles.C、 Use NetTcpBinding for the WCF services.D、 Use WSHttpBinding for the WCF services.

考题 You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  This application will be part of a solution that contains a Windows Communication Foundation (WCF) service project. The Web application will be used to make calls to a service identified in theWCF service project. Management is planning to host the Web application on a separate serverfrom the WCF service. They want the WCF service to perform remotely. You need to add areference to the WCF service.  What should you do?()A、You should add an assembly reference to the project.B、You should add a project reference to the project.C、You should add a Web reference to the project.D、You should add a service reference to the project.

考题 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、NetTcpContextBindingB、BasicHttpContextBindingC、NetTcpBindingD、NetMsmqBinding

考题 A Windows Communication Foundation (WCF) service is deployed with netTcpBinding. This service uses a duplex message exchange pattern.You are developing the next version of the WCF service. You discover that your company's hardware load balancer performs correctly only for WCF services that use HTTP. You need to ensure that your service works with the load balancer. What should you do?()A、Use basicHttpBinding.B、Create a custom binding that has the compositeDuplex, textMessageEncoding, and namedPipeTransport binding elements in this order.C、Create a custom binding that has the compositeDuplex, textMessageEncoding, and wsHttpTransport binding elements in this order.D、Use wsHttpBinding.

考题 你正在设计一个Windows Azure应用。应用程序包括过程沟通通过使用Windows通信基础(WCF)WCF服务必须支持流媒体服务。您需要推荐一个过程和一个主机WCF绑定。你推荐这两个动作应是()A、主机在web角色的过程。B、主机工作者角色的过程。C、使用NetTcpBinding WCF服务。D、使用WSHttpBinding WCF服务。

考题 You are building a client for a Windows Communication Foundation (WCF) service. You need to create a proxy to consume this service. Which class should you use?()A、ChannelFactoryB、 ServiceHostC、ClientRuntimeD、CommunicationObject

考题 A Windows Communication Foundation (WCF) service sends notifications when the service is started and stopped.You need to implement a client that logs these notifications. Which class should you use?()A、AnnouncementServiceB、AnnouncementClientC、DiscoveryClientD、HttpListener

考题 A Windows Communication Foundation (WCF) service is required to log all authorization attempts to the Windows Event Log. You need to configure a behavior and apply it to the service to support this requirement. Which behavior should you configure and apply?()A、service Authentication ManagerB、service AuthorizationC、service CredentialsD、service Security Audit

考题 You plan to host a Windows Communication Foundation (WCF) service in a Windows Azure worker role.  Custom code is necessary to initialize and configure the service endpoint.   You need to recommend the point at which the application should initialize the WCF service.  What should you recommend?()A、 When Windows Azure initializes the worker role instance.B、 When the worker role instance receives its first request.C、 When the worker role instance instantiates the WCF service.D、 When the worker role instance enters the main execution thread.

考题 A Windows Azure application includes a single-threaded worker role that has multiple instances. The worker role hosts a Windows Communication Foundation (WCF) service. Each request to the WCF service takes several seconds to complete.   You need to recommend an approach for ensuring that worker role instances do not receive requests while processing.  What should you recommend?()A、 Close the WCF endpoint.B、 Throw an exception to cancel the request.C、 Redirect incoming requests to a different worker role instance.D、 Remove the worker role instance from the load balancer rotation.

考题 A Windows Communication Foundation (WCF) service has a callback contract. You are developing a client application that will call this service.You must ensure that the client application can interact with the WCF service. What should you do?()A、On the OperationContractAttribute, set the AsyncPattern property value to true.B、On the OperationContractAttribute, set the ReplyAction property value to the endpoint address of the client.C、On the client, create a proxy derived from DuplexClientBaseTChannel .D、On the client, use GetCallbackChannelT .

考题 单选题You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  This application will be part of a solution that contains a Windows Communication Foundation (WCF) service project. The Web application will be used to make calls to a service identified in theWCF service project. Management is planning to host the Web application on a separate serverfrom the WCF service. They want the WCF service to perform remotely. You need to add areference to the WCF service.  What should you do?()A You should add an assembly reference to the project.B You should add a project reference to the project.C You should add a Web reference to the project.D You should add a service reference to the project.

考题 单选题You plan to host a Windows Communication Foundation (WCF) service in a Windows Azure worker role.  Custom code is necessary to initialize and configure the service endpoint.   You need to recommend the point at which the application should initialize the WCF service.  What should you recommend?()A  When Windows Azure initializes the worker role instance.B  When the worker role instance receives its first request.C  When the worker role instance instantiates the WCF service.D  When the worker role instance enters the main execution thread.

考题 单选题You are building a client for a Windows Communication Foundation (WCF) service. You need to create a proxy to consume this service. Which class should you use?()A ChannelFactoryB ServiceHostC ClientRuntimeD CommunicationObject

考题 单选题A Windows Communication Foundation (WCF) service is deployed with netTcpBinding. This service uses a duplex message exchange pattern.You are developing the next version of the WCF service. You discover that your company's hardware load balancer performs correctly only for WCF services that use HTTP. You need to ensure that your service works with the load balancer. What should you do?()A Use basicHttpBinding.B Create a custom binding that has the compositeDuplex, textMessageEncoding, and namedPipeTransport binding elements in this order.C Create a custom binding that has the compositeDuplex, textMessageEncoding, and wsHttpTransport binding elements in this order.D Use wsHttpBinding.

考题 多选题You are designing a Windows Azure application.   The application includes processes that communicate by using Windows Communications Foundation (WCF) services.  The WCF services must support streaming.  You need to recommend a host for the processes and a WCF binding.   Which two actions should you recommend?()AHost the processes in web roles.BHost the processes in worker roles.CUse NetTcpBinding for the WCF services.DUse WSHttpBinding for the WCF services.

考题 单选题A Windows Azure application includes a single-threaded worker role that has multiple instances. The worker role hosts a Windows Communication Foundation (WCF) service. Each request to the WCF service takes several seconds to complete.   You need to recommend an approach for ensuring that worker role instances do not receive requests while processing.  What should you recommend?()A  Close the WCF endpoint.B  Throw an exception to cancel the request.C  Redirect incoming requests to a different worker role instance.D  Remove the worker role instance from the load balancer rotation.

考题 单选题You are developing an application that performs file backups in the background. The background application will host a Windows Communication Foundation (WCF) service and must be active as soon as the machine is running. The background application will not have a user interface. A front-end application will consume the WCF service and will provide the user interface.You need to choose a host environment for the WCF service. Which hosting environment should you choose? ()A Microsoft Internet Information Services (IIS) 6.0B Windows Process Activation Services (WAS)C A Windows Forms applicationD A Windows Service