Change line 03 as follows: typeof(IRequestReplyRouter),
Change line 03 as follows: typeof(IDuplexSessionRouter),
Change line 10 as follows: typeof(IRequestReplyRouter)
Change line 10 as follows: typeof(IDuplexSessionRouter)
第1题:
You are developing a Windows Communication Foundation (WCF) service. The service configuration file has a element defined. You need to ensure that all security audit information, trace logging, and message logging failures are recorded.Which configuration segment should you add to the element?()
A.
B.
C.
D.
第2题:
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 Manager
B. service Authorization
C. service Credentials
D. service Security Audit
第3题:
A. NetTcpContextBinding
B. BasicHttpContextBinding
C. NetTcpBinding
D. NetMsmqBinding
第4题:
A.
B.
C.
D.
第5题:
A.
B.
C.
D.
第6题:
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?()
第7题:
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?()
第8题:
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?()
第9题:
ChannelFactory
ClientRuntime
CommunicationObject
第10题:
Add the WebInvoke(UriTemplate=/Items/{id}, Method=DELETE) attribute to the operation
Add the HttpDelete atribute to the operation
Replace the string parameter with a RemovedActivityAction parameter
Replace the return type with RemovedActivityAction.
第11题:
When Windows Azure initializes the worker role instance.
When the worker role instance receives its first request.
When the worker role instance instantiates the WCF service.
When the worker role instance enters the main execution thread.
第12题:
service Authentication Manager
service Authorization
service Credentials
service Security Audit
第13题:
You are developing a Windows Communication Foundation (WCF) service. The service operation takes a customer number as the only argument and returns information about the customer. The service requires a security token in the header of the message. You need to create a message contract for the service.Which code segment should you use?()
A.
B.
C.
D.
第14题:
A. AnnouncementService
B. AnnouncementClient
C. DiscoveryClient
D. HttpListener
第15题:
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.
第16题:
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.
第17题:
You are creating a Windows Communication Foundation (WCF) service that implements operations in a RESTful manner. You need to add a delete operation. You implement the delete method as follows:void DeleteItems(string id);You need to configure WCF to call this method when the client calls the service with the HTTP DELETE operation. What should you do?()
A. Add the WebInvoke(UriTemplate="/Items/{id}", Method="DELETE") attribute to the operation
B. Add the HttpDelete atribute to the operation
C. Replace the string parameter with a RemovedActivityAction parameter
D. Replace the return type with RemovedActivityAction.
第18题:
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?()
第19题:
A Windows Communication Foundation (WCF) service interacts with the database of a workflow engine. Data access authorization is managed by the database, which raises security exceptions if a user is unauthorized to access it.You need to ensure that the application transmits the exceptions raised by the database to the client that is calling the service.Which behavior should you configure and apply to the service?()
第20题:
Microsoft Internet Information Services (IIS) 6.0
Windows Process Activation Services (WAS)
A Windows Forms application
A Windows Service
第21题:
Add the WebInvoke(UriTemplate = /Items/{id},Method=DELETE) attribute to the operation.
Add the HttpDelete attribute to the operation.
Replace the string parameter with a RemovedActivityAction parameter.
Replace the return type with RemovedActivityAction.
第22题:
Use Windows Server AppFabric.
Use the Windows Azure AppFabric Service Bus.
Use the Windows Azure AppFabric Access Control Service.
Use a Windows Communication Foundation (WCF) service in a Windows Azure role that relays to the internal web service
第23题:
NetTcpContextBinding
BasicHttpContextBinding
NetTcpBinding
NetMsmqBinding
第24题:
On the OperationContractAttribute, set the AsyncPattern property value to true.
On the OperationContractAttribute, set the ReplyAction property value to the endpoint address of the client.
On the client, create a proxy derived from DuplexClientBase<TChannel >.
On the client, use GetCallbackChannel<T >.