Strokes may sometimes destroy all of the mirror image.
A.True
B.False
第1题
You are developing a Windows Communication Foundation (WCF) service. Client applications require reliable sessions to access the service.Users report that they receive ServerTooBusyException errors when their client application tries to establish a session. You need to ensure that the service can handle a minimum of 30 client connection requests.Which ReliableSessionBindingElement property should you configure?()
A. MaxRetryCount
B. MaxTransferWindowSize
C. MaxPendingChannels
D. InactivityTimeout
第2题
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 DuplexClientBase<TChannel >.
D. On the client, use GetCallbackChannel<T >.
第3题
You are developing a Windows Communication Foundation (WCF) service.You enable message logging, trace listeners, activity propagation, and tracing on the trace sources.You have the following code segment in the client application. (Line numbers are included for reference only.)01 Guid multiCallActivityId = Guid.NewGuid();02 TraceSource ts = new TraceSource("Multicall");03 Trace.CorrelationManager.ActivityId = multiCallActivityId;04You encounter errors when your client application consumes the service.You need to ensure that your client application can correlate tracing information with the service.Which code segment should you add at line 04?()
A.
B.
C.
D.
第4题
You are developing a Windows Communication Foundation (WCF) client application.The client application contains the following code.[ServiceContract]public interface ISocialStatus{[OperationContract][WebInvoke(UriTemplate = "/statuses/update.xml?status-{text}")]void UpdateStatus(string text);}public class SocialClient : ClientBase, ISocialStatus{...}The configuration file contains the following lines.binding="webHttpBinding" contract="SocialApp.ISocialStatus"bindingConfiguration="BindingConfig" />You need to ensure that the service is consumed.Which code segment should you use?()
A. var client = new SocialClient("SocialClient"); client.Endpoint.Behaviors.Add(new WebHttpBehavior());
B. var client = new SocialClient("SocialClient"); client.Endpoint.Behaviors.Add(new WebScriptEnablingBehovior());
C. var client = new SocialClient("POST"); client.Endpoint.Behaviors.Add(new WebHttpBehovior());
D. var client = new SocialClient("POST"); client.Endpoint.Behaviors.Add(new WebScriptEnablingBehavior());
第5题
A. In the client application, add a service reference to the router service. In the client binding configuration, specify the address of the router service.
B. In the client application, add a service reference to the target service. In the client binding configuration, specify the address of the target service.
C. In the client application, add a service reference to the router service. In the client binding configuration, specify the address of the target service.
D. In the client application, add a service reference to the target service. In the client binding configuration, specify the address of the router service.
第6题
You want to debug the Windows Communication Foundation (WCF) client and server interaction through message and application tracing.You need to correlate traces generated on the client and the server. Which XML segment should you add to the system.diagnostics configuration element in the client and server application configuration file?()
A.
B.
C.
D.
第7题
You are developing a Windows Communication Foundation (WCF) service to provide shopping cart support. ASP.NET compatibility mode is not enabled. The shopping cart information must be retained across user visits to the store until the user explicitly empties the cart or submits the cart contents to order.You need to implement the service as a DurableService.Which two actions should you perform? ()(Each correct answer presents part of the solution. Choose two.)
A. Use basicHttpBinding for both the client application and the service.
B. Create the persistence provider database and configure the persistenceProvider element of the service behavior to point to that database.
C. Use wsHttpContextBinding for both the client application and the service.
D. In the method to add an item to the shopping cart, serialize the shopping cart contents after adding the current item and storing it in a Session variable.
第8题
You are creating an application that consumes a Windows Communication Foundation (WCF) service. The service implements the IService contract. The client application contains the CallbackHandler class, which implements IServiceCallback.You need to ensure that a client proxy is created that can communicate with the service over a duplex channel.Which code segment should you use?()
A.
B.
C.
D.
第9题
A.Apply the following attribute to the server assembly. [assembly: AllowPartiallyTrustedCallers(PartialTrustVisibilityLevel=VisibleToAllHosts)]
B.Apply the following attribute to the server assembly. [assembly: AllowPartiallyTrustedCallers(PartialTrustVisibilityLevel=NotVisibleByDefault)]
C.Apply the following attribute to the client assembly. [assembly: AllowPartiallyTrustedCallers(PartialTrustVisibilityLevel=VisibleToAllHosts)]
D.Apply the following attribute to the client assembly. [assembly: AllowPartiallyTrustedCallers(PartialTrustVisibilityLevel=NotVisibleByDefault)]
第10题
Your company has an Active Directory Domain Services (AD DS) domain. You virtualize applications by using Microsoft Application Virtualization (App-V).You are creating an application virtualization package.Which should you use?()
A.Microsoft Application Virtualization Sequencer
B.Microsoft Application Virtualization Desktop Client
C.Microsoft System Center Application Virtualization Streaming Server
D.Microsoft System Center Application Virtualization Management Server
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!