Decorate the service implementation class with the following line of code [ServiceBehavior(UseSyncronizationContext = false)]
Decorate the service implementation class with the following line of code [ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Multiple)]
Call the Invoke method of the form and supply a delegate.
Call the BeginInvoke method of the form and supply a delegate.
第1题:
You are developing a Windows Communication Foundation (WCF) service. You establish that the largest size of valid messages is 8,000 bytes. You notice that many malformed messages are being transmitted.Detailed information about whether each message is malformed must be logged.You need to ensure that this information is saved in XML format so that it can be easily analyzed.What should you add to the service configuration file?()
A.
B.
C.
D.
第2题:
You are developing a Windows Communication Foundation (WCF) service.You must record all available information for the first 1,000 messages processed, even if they are malformed.You need to configure the message logging section of the configuration file.Which configuration segment should you use? ()
A.
B.
C.
D.
第3题:
A. AnnouncementService
B. AnnouncementClient
C. DiscoveryClient
D. HttpListener
第4题:
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.
第5题:
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.
第6题:
You are developing a Windows Communication Foundation (WCF) service that is hosted by a Windows Forms Application.The ServiceHost instance is created in the Form Constructor.You need to ensure that the service is not blocked while the UI thread is busy. What should you do?()
第7题:
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?()
第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题:
Microsoft Internet Information Services (IIS) 6.0
Windows Process Activation Services (WAS)
A Windows Forms application
A Windows Service
第10题:
Use basicHttpBinding.
Create a custom binding that has the compositeDuplex, textMessageEncoding, and namedPipeTransport binding elements in this order.
Create a custom binding that has the compositeDuplex, textMessageEncoding, and wsHttpTransport binding elements in this order.
Use wsHttpBinding.
第11题:
MaxRetryCount
MaxTransferWindowSize
MaxPendingChannels
InactivityTimeout
第12题:
TimeoutException
FaultException
DivideByZeroException
FaultException<SalesFault>
第13题:
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.
第14题:
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.
第15题:
A. NetTcpContextBinding
B. BasicHttpContextBinding
C. NetTcpBinding
D. NetMsmqBinding
第16题:
A.
B.
C.
D.
第17题:
You are developing a Windows Communication Foundation (WCF) service. You need to enable security auditing for all events. What should you do?()
第18题:
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?()
第19题:
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?()
第20题:
ICommunicationObject
IExtension
IExtensibleObject
IExtensibleDataObject
第21题:
ChannelFactory
ClientRuntime
CommunicationObject
第22题:
net.msmq://localhost/msmq$FailedMessages
net.msmq://localhost/msmq$DeadLetter
net.msmq://localhost/system$DeadXact
net.msmq://localhost/system$DeadLetter
第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 >.