重要提示: 请勿将账号共享给其他人使用,违者账号将被封禁!
查看《购买须知》>>>
找答案首页 > 全部分类 > 计算机类考试
搜题
网友您好, 请在下方输入框内输入要搜索的题目:
搜题
题目内容 (请给出正确答案)
[主观题]

You are developing a Windows Communication Foundation (WCF) service to provide shopping ca

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.

查看答案
更多“You are developing a Windows Communication Foundation (WCF) service to provide shopping ca”相关的问题

第1题

Youarecreatinganapplicationthatretrievesvaluesfromacustomsectionoftheapplicationconfigurat

ionfile.ThecustomsectionusesXMLasshowninthefollowingblock.YouneedtowriteacodesegmenttodefineaclassnamedRole.YouneedtoensurethattheRoleclassisinitializedwithvaluesthatareretrievedfromthecustomsectionoftheconfigurationfile.Whichcodesegmentshouldyouuse?()

A.A

B.B

C.C

D.D

点击查看答案

第2题

Your network contains two Active Directory forests named contoso.com and fabrikam.com.You

have a standalone Network Policy Server (NPS) named NPS1.You have a VPN server named VPN1. VPN1 is configured as a RADIUS client to NPS1.You need to ensure that users from both forests can establish VPN connections by using their own domain accounts.What should you do?()

A. On NPS1, configure remediation server groups.

B. On NPS1, configure connection request policies.

C. On VPN1, modify the DNS suffix search order.

D. On VPN1, modify the IKEv2 Client connection controls.

点击查看答案

第3题

YournetworkconsistsofasingleActiveDirectorydomain.AlldomaincontrollersrunWindowsServer2008

R2.AuditingisconfiguredtologchangesmadetotheManagedByattributeongroupobjectsinanorganizationalunitnamedOU1.YouneedtologchangesmadetotheDescriptionattributeonallgroupobjectsinOU1only.Whatshouldyoudo()

A.Runauditpol.exe.

B.ModifytheauditingentryforOU1.

C.Modifytheauditingentryforthedomain.

D.CreateanewGroupPolicyobject(GPO).EnabletheAuditaccountmanagementpolicysetting.LinktheGPOtoOU1.

点击查看答案

第4题

A Windows Communication Foundation (WCF) service is deployed with netTcpBinding.This servi

ce uses a duplex message exchange pattern.You are developing the next version of the WCF service.You discover that your company‘s hardware load balancer performs correctly only for WCF services that use HTTP.You need to ensure that your service works with the load balancer.What should you do?()

A. Use basicHttpBinding.

B. Create a custom binding that has the compositeDuplex, textMessageEncoding, and namedPipeTransport binding elements in this order.

C. Create a custom binding that has the compositeDuplex, textMessageEncoding, and wsHttpTransport binding elements in this order.

D. Use wsHttpBinding.

点击查看答案

第5题

你在开发一个可以写入数据到服务器文件的 Web 应用。并且,你限制只有指定的 Windows用户才能存取

这个文件。你在 IIS 中拒绝了匿名用户访问 Web 应用。Web 应用以CONTOSO\ASPNET 用户身份进行运行。现在,你在 Web.Config 文件中,增加了如下 XML 段:你需求确保你的Web应用满足如下的需求:1. 当Web应用在写入数据到文件的时候,必须模拟一个用户身份。2. 当用户不访问文件的时候,Web应用必须以CONTOSO\ASPNET身份进行运行。请问,你必须进行下面那两步的操作达到此目的?()

A. 在Web.config 增加XML段 <identity impersonate="false"/>

B. 在Web.config 增加XML段 <identity impersonate="true"/>

C.用下面的代码段进行文件存取:

点击查看答案

第6题

You are developing a Windows Communication Foundation (WCF) service that executes a long-r

unning operation.The service is accessed from your business applications in a server transaction in which the client does not participate.You need to ensure that the transaction times out and aborts if the operation has not completed within 45 seconds.What should you do?()

A. Set the service binding sendTimeout attribute to 00:00:45.

B. Apply [ServiceBehavior(TransactionTimeout="00:00:45")] to the service implementation.

C. Set the service binding receiveTimeout attribute to 00:00:45.

D. Apply [OperationBehavior(TransactionScopeRequired=false)] to the service operation.

点击查看答案

第7题

YouhaveadomaincontrollerthatrunsWindowsServer2008R2.TheWindowsServerBackupfeatureisinstall

edonthedomaincontroller.Youneedtoperformanon-authoritativerestoreofthedomaincontrollerbyusinganexistingbackupfile.Whatshouldyoudo()

A.RestartthedomaincontrollerinDirectoryServicesRestoreMode.UsetheWBADMINcommandto performacriticalvolumerestore.

B.RestartthedomaincontrollerinDirectoryServicesRestoreMode.UsetheWindowsServerBackupsnap-intoperformacriticalvolumerestore.

C.Restartthedomaincontrollerinsafemode.UsetheWindowsServerBackupsnap-intoperformacriticalvolumerestore.

D.Restartthedomaincontrollerinsafemode.UsetheWBADMINcommandtoperformacriticalvolumerestore.

点击查看答案

第8题

our network contains a Network Policy Server (NPS) named NPS1 and a network access server

named NAS1. NAS1 is configured to use NPS1 for authentication and accounting. A firewall separates NPS1 and NAS1.You need to ensure that NAS1 can successfully send authentication and accounting messages to NPS1.Which ports should you allow through the firewall?()

A. TCP ports 80, 443, 389 and 1645

B. TCP ports 88, 135, 139 and 1813

C. UDP ports 53, 67, 68 and 69

D. UDP ports 1812, 1813, 1645 and 1646

点击查看答案

第9题

YourcompanyhasanActiveDirectorydomainthatrunsWindowsServer2008R2.TheSalesOUcontainsanOUfor

Computers,anOUforGroups,andanOUforUsers.Youperformnightlybackups.AnadministratordeletestheGroupsOU.YouneedtorestoretheGroupsOUwithoutaffectingusersandcomputersintheSalesOU.Whatshouldyoudo()

A.PerformanauthoritativerestoreoftheSalesOU.

B.PerformanauthoritativerestoreoftheGroupsOU.

C.Performanon-authoritativerestoreoftheGroupsOU.

D.Performanon-authoritativerestoreoftheSalesOU.

点击查看答案

第10题

Your network contains a Network Policy Server (NPS) named NPS1. NPS1 is configured for rem

ote access account lockout.A domain user named User1 has been locked out by NPS1.You need to unlock the User1 user account on NPS1.What should you use?()

A. the Netsh tool

B. the Network Policy Server console

C. the Registry Editor

D. the Routing and Remote Access console

点击查看答案
下载上学吧APP
客服
TOP
重置密码
账号:
旧密码:
新密码:
确认密码:
确认修改
购买搜题卡查看答案
购买前请仔细阅读《购买须知》
请选择支付方式
微信支付
支付宝支付
选择优惠券
优惠券
请选择
点击支付即表示你同意并接受《服务协议》《购买须知》
立即支付
搜题卡使用说明

1. 搜题次数扣减规则:

功能 扣减规则
基础费
(查看答案)
加收费
(AI功能)
文字搜题、查看答案 1/每题 0/每次
语音搜题、查看答案 1/每题 2/每次
单题拍照识别、查看答案 1/每题 2/每次
整页拍照识别、查看答案 1/每题 5/每次

备注:网站、APP、小程序均支持文字搜题、查看答案;语音搜题、单题拍照识别、整页拍照识别仅APP、小程序支持。

2. 使用语音搜索、拍照搜索等AI功能需安装APP(或打开微信小程序)。

3. 搜题卡过期将作废,不支持退款,请在有效期内使用完毕。

请使用微信扫码支付(元)
订单号:
遇到问题请联系在线客服
请不要关闭本页面,支付完成后请点击【支付完成】按钮
遇到问题请联系在线客服
恭喜您,购买搜题卡成功 系统为您生成的账号密码如下:
重要提示: 请勿将账号共享给其他人使用,违者账号将被封禁。
发送账号到微信 保存账号查看答案
怕账号密码记不住?建议关注微信公众号绑定微信,开通微信扫码登录功能
警告:系统检测到您的账号存在安全风险

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

- 微信扫码关注上学吧 -
警告:系统检测到您的账号存在安全风险
抱歉,您的账号因涉嫌违反上学吧购买须知被冻结。您可在“上学吧”微信公众号中的“官网服务”-“账号解封申请”申请解封,或联系客服
- 微信扫码关注上学吧 -
请用微信扫码测试
选择优惠券
确认选择
谢谢您的反馈

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

上学吧找答案