搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【单选题】

A Windows Communication Foundation (WCF) service listens for messages at net.tcp://www.contoso.com/MyService.It has a logical address at http://www.contoso.com/MyService. The configuration for the WCF client is as follows:<endpoint address="http://www.contoso.com/MyService" binding="netTcpBinding" bindingConfiguraton="NetTcpBinding_IMyService" contract="ServiceReference1.IMyService" name="NetTcpBinding_IMyService"/>The generated configuration does not provide enough information for the client to communicate with the server.You need to update the client so that it can communicate with the server. What should you do?()

A、In the client configuration, change the value of the address attribute to net.tcp://www.contoso.com/MyService

B、In the client configuration, change the value of the address attribute to net.tcp://www.contoso.com/MyService listen=http://www.contoso.com/MyService.

C、After instantiating the client and before invoking any service operation, add this line of code. EndpointBehaviors.Add(new EndpointDiscoveryBehavior(){ Enabled = true });

D、After instantiating the client and before invoking any service operation, add this line of code. client.Endpoint.Behaviors.Add(new ClientViaBehavior(new Uri("net.tcp://www.contoso.com/IMyService")));

更多“A Windows Communication Foundation (WCF) service listens for messages at net.tcp://www.contoso.com/MyService.It has a logical address at http://www.contoso.com/MyService. The configuration for the WCF client is as follows:<endpoint address="http://www.contoso.com/MyService" binding="netTcpBinding" bindingConfiguraton="NetTcpBinding_IMyService" contract="ServiceReference1.IMyService" name="NetTcpBinding_IMyService"/>The generated configuration does not provide enough information for the client to communicate with the server.You need to update the client so that it can communicate with the server. What should you do?()”相关的问题
第1题

AWindows ME是Windows 98的升级版本,Windows XP是Windows ME的升级版本  B、Windows ME是Windows 98的升级版本,Windows XP是Windows 2000的升级版本  C、Windows XP是Windows 98的升级版本,Windows 2000是Windows XP的升级版本  D、Windows XP是Windows 98的升级版本,Windows 2000是Windows ME的升级版本  

点击查看答案
第3题

AWindows家庭版  B、Windows专业版  C、Windows旗舰版  D、Windows企业版  

点击查看答案
第4题

AWindows 98  B、Windows ME  C、Windows 2003  D、Windows 2000  

点击查看答案
第5题

A、启动到Windows 7并且使用ImageX.  B、启动到Windows 7并且使用Windows SIM.  C、启动到Windows 7并且使用DISM.  D、启动到Windows PE并且使用ImageX.  E、启动到Windows PE并且使用Windows SIM.  F、启动到Windows PE并且使用DISM.  

点击查看答案
第6题

AWINDOWS  B、WINDOWS\system32  C、WINDOWS\system32\config  D、WINDOWS\system  

点击查看答案
第7题

AWindows Vista Home Premium  B、Windows 2000 Professional  C、Windows XP Pro  D、Windows XP Pro x64  E、Windows Vista Pro  

点击查看答案
第8题

AWinDows 2000  B、WinDows 98  C、WinDows Me  D、WinDows XP  

点击查看答案
第9题

AWindows家庭版  B、Windows专业版  C、Windows旗舰版  D、Windows企业版  

点击查看答案
第10题

AWindows 98  B、Windows ME  C、Windows 2000  D、Windows 98/ME  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服