题目内容 (请给出正确答案)
[主观题]

You are creating a Windows Communication Foundation (WCF) service. The service endpoints c

You are creating a Windows Communication Foundation (WCF) service. The service endpoints change frequently. On the service, you add a new ServiceDiscoveryBehavior to the Behaviors collection of the ServiceHost Description property. You need to ensure that client applications can communicate with the service and discover changes to the service endpoints.What should you do?()

A. Add a new ServiceDiscoveryBehavior to the Behaviors collection in the client application.

B. Add a new AnnouncementClient to the Behaviors collection in the client application.

C. Use the FindCriteria class and the UdpDiscoveryEndpoint class to set up the binding in the client application.

D. Use the DiscoveryProxy class and the EndpointDiscoveryMetadata class to set up the binding in the client application.

查看答案
如搜索结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能会需要:
您的账号:
发送账号密码至手机
发送
更多“You are creating a Windows Com…”相关的问题

第1题

YouhaveadomaincontrollernamedDC1thatrunsWindowsServer2008R2.DC1isconfiguredasaDNSserverfor

contoso.com.YouinstalltheDNSServerserverroleonamemberservernamedServer1andthenyoucreateastandardsecondaryzoneforcontoso.com.YouconfigureDC1asthemasterserverforthezone.YouneedtoensurethatServer1receiveszoneupdatesfromDC1.Whatshouldyoudo()

A.OnServer1,addaconditionalforwarder.

B.OnDC1,modifythepermissionsofcontoso.comzone.

C.OnDC1,modifythezonetransfersettingsforthecontoso.comzone.

D.AddtheServer1computeraccounttotheDNSUpdateProxygroup.

点击查看答案

第2题

YournetworkcontainsaserverthatrunsWindowsServer2008.TheserverhastheNetworkPolicyServer(NPS

)serviceroleinstalled.YouneedtoallowonlymembersofaglobalgroupnamedGroup1VPNaccesstothenetwork.Whatshouldyoudo?()

A.AddGroup1totheRASandIASServersGroup

B.AddGroup1totheNetworkConfigurationOperatorsgroup

C.Createanewnetworkpolicyanddefineagroup-basedconnectionforGroup1.SettheaccesspermissionofthepolicytoAccessgranted.Settheprocessingorderofthepolicyto1

D.Createanewnetworkpolicyanddefineagroup-basedconditionforGroup1.SettheaccesspermissionofthepolicytoAccessGranted.Settheprocessingofthepolicyto3.

点击查看答案

第3题

YouaredevelopinganASP.NETWebpage.Youaddthefollowingmarkuptothepage.Youaddthefollowingcodes

egmenttothecode-behind.Youneedtosavetheuploadedfileanddisplayamessagetotheuserthatindicatesthattheuploadeithersucceededorfailed.Whichtwoactionsshouldyouperform?()

A.Replaceline3withthefollowingcodesegment.if(FileUpload1.HasFile)

B.Replaceline3withthefollowingcodesegment.if(FileUpload1.FileContent.Length>0)

C.Insertthefollowingcodesegmentatline6. FileUpload1.SaveAs(saveName);

D.Insertthefollowingcodesegmentatline6.FileUpload1.FileContent.CopyTo(newFileStream(saveName,FileMode.Open);

点击查看答案

第4题

YournetworkcontainsoneActiveDirectorydomain.YouhaveamemberservernamedServer1thatrunsWindow

sServer2008.TheserverhastheRoutingandRemoteAcecssroleserviceinstalled.YouimplementNetworkAccessProtection(NAP)forthedomain.YouneedtoconfigurethePoint-to-Point(PPP)authenticationmethodonServer1.Whichautneticationmethodshouldyouchoose?()

A.ChallengeHandshakeAuthenticationProtocol(CHAP)

B.ExtensibleAuthenticationProtocol(EAP)

C.MicrosoftChallengeHandshakeAuthenticationProtocolversion2(MS-CHAPv2)

D.PasswordAuthenticationProtocol(PAP)

点击查看答案

第5题

You are developing a client application that uses the following code to consume a Windows

Communication Foundation (WCF) service.(Line numbers are included for reference only.)01 BasicHttpBinding myBinding = new BasicHttpBinding();02 EndpointAddress myEndpointAddress = new EndpointAddress("http://contoso.com/TaxService.svc");03 ...04 ITaxService client = channelFactory.CreateChannel();05 string data = client.GetData(1);You need to consume the service.Which code segment should you insert at line 03?()

A. var channelFactory = new ChannelFactory();

B. var channelFactory = new ChannelFactory(myBinding);

C. var channelFactory = new ChannelFactory(myBinding, myEndpointAddress);

D. var channelFactory = new ChannelFactory("http://contoso.com/TaxService.svc");

点击查看答案

第6题

You are creating a Web Form. The Web Form allows users to rename or delete products in a l

ist. You create a DataTable named dtProducts that is bound to a GridView. DataTable has the following four rows. dtProducts.Rows(0)("ProductName") = "Soap"dtProducts.Rows(1)("ProductName") = "Book"dtProducts.Rows(2)("ProductName") = "Computer"dtProducts.Rows(3)("ProductName") = "Spoon"dtProducts.AcceptChanges()The user utilizes a Web Form to delete the first product. You need to set the RowStateFilter property of the DataTables DefaultView so that only products that have not been deleted are shown. To which value should you set the DataTabless DefaultView.RowStateFilter?()

A. Data View Row State.Modified Original

B. Data View Row State.Modified Current

C. Data View Row State.Current Rows

D. Data View Row State.Added

点击查看答案

第7题

YournetworkconsistsofasingleActiveDirectorydomain.AlldomaincontrollersrunWindowsServer2008

R2andareconfiguredasDNSservers.AdomaincontrollernamedDC1hasastandardprimaryZoneforcontoso.com.AdomaincontrollernamedDC2hasastandardsecondaryzoneforcontoso.com.Youneedtoensurethatthereplicationofthecontoso.comzoneisencrypted.Youmustnotloseanyzonedata.Whatshouldyoudo()

A.Onbothservers,modifytheinterfacethattheDNSserverlistenson.

B.ConverttheprimaryzoneintoanActiveDirectory-integratedzone.Deletethesecondaryzone.

C.ConverttheprimaryzoneintoanActiveDirectory-integratedstubzone.Deletethesecondaryzone.

D.Configurethezonetransfersettingsofthestandardprimaryzone.ModifytheMasterServerslistsonthesecondaryzone.

点击查看答案

第8题

Certkiller.com 希望可以开发一个应用程序处理 Certkiller.com 停车场通行证。为了使用先进的导航

技术,应用程序必须在连续的列表中存储和检索车辆信息。您已经编写并执行以下代码:Vehicle v1, v2, v3, v4, v5;v1 = new Vehicle ("1M2567871Y91234574", "Nissan Silvia", 1996); v2 = new Vehicle ("1H2569122493456960", "Honda Civic", 1999); v3 = new Vehicle ("1F2569106891234589", "Mitsubishi Lancer", 2001); v4 = new Vehicle ("1F7969122491234589", "Mazda MX7", 1998); v5 = new Vehicle ("1T2569122493456123", "Toyota Supra", 2000);A = Nissan, Honda, Mitsubishi, Mazda, ToyotaB = Nissan, Mazda, Mitsubishi, Honda, ToyotaC = Nissan, Mazda, Mitsubishi, Toyota, HondaD = Nissan, Mitsubishi, Mazda, Honda, Toyota正确的输出是什么?()

A.

B.

C.

D.

点击查看答案

第9题

YournetworkcontainsoneActiveDirectorydomainl.YouhaveamemberserverthatrunsWindowsServer2008.Youneedtoimmediatelydisableallincomingconnectionstotheserver.Whatshouldyoudo?()

A.FromtheServicessnap-indisabletheIPHelpder

B.FomtheServicessnap-indisabletheNetLogonService

C.FromWindowsFirewall,enabletheBlockallconnectionsoptiononthePublicProfile

D.FromtheWindowsFirewall,enabletheBlockallconnectionsoptionontheDomainProfile

点击查看答案

第10题

You are developing a client application that consumes a Windows Communication Foundation (

WCF) service. You use the svcutil.exe utility to create a proxy for the service. You use the svcutil.exe switches that generate asynchronous calls. GetFlight is a service operation that takes no parameters and returns a string. The GetFlightCallback method must be called when the service operation returns.You create an instance of the client proxy with the following code:var client = new TranvelServiceClient();You need to ensure that a callback is received when the GetFlight operation is called asynchronously.Which code segment should you use?()

A. client.BeginGetFlight(GetFlightCallback, null); client.GetFlight();

B. client.GetFlight(); client.BeginGetFlight(GetFlightCallback, null);

C. client.GetFlightCompleted += new EventHandler(GetFlightCallback); client.GetFlightAsync();

D. IAsyncResult asyncResult = client.BeginGetFlight(GetFlightCallback, client); client.EndGetFlight(asyncResult);

点击查看答案
热门考试 全部 >
相关试卷 全部 >
账号:
你好,尊敬的上学吧用户
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改
谢谢您的反馈

您认为本题答案有误,我们将认真、仔细核查,
如果您知道正确答案,欢迎您来纠错

警告:系统检测到您的账号存在安全风险

为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!

微信搜一搜
上学吧
点击打开微信
警告:系统检测到您的账号存在安全风险
抱歉,您的账号因涉嫌违反上学吧购买须知被冻结。您可在“上学吧”微信公众号中的“官网服务”-“账号解封申请”申请解封,或联系客服
微信搜一搜
上学吧
点击打开微信