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

You are creating a Windows Communication Foundation (WCF) service that accepts claims-base

You are creating a Windows Communication Foundation (WCF) service that accepts claims-based tokens. You need to ensure that the service can use claims from trading partners even though there are variations on naming for the same elements.Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)()

A. Register a custom Service Authorization Manager that implements Check Access. In this method, use System.Convert.ChangeType to transform the incoming claim set to a WindowsClaimSet type.

B. Apply a PrincipalPermission attribute on the operation with the required claims listed in the Roles property.

C. Within the operation, verify the presence of the required claims in the current AuthorizationContext.

D. Register an AuthorizationPolicy that maps external claims to an internal ClaimSet.

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

第1题

Network access protection (NAP) is configured for the corporate network. Users connect to

the corporate network by using portable computers. The command policy required confidentiality of data when is in transmit between the portable computers and the servers. You need to ensure that users can access network resources only from computers that comply with the company policy. What should you do?()

A.Create an Ipsec enforcement network policy.

B.Create an 802.1xenforcemen tnetwork policy.

C.Createa wired network(IEEE802.3)Group policy.

D.Create an extensible authentication protocol(EAP)enforcement network policy.

点击查看答案

第2题

你在 Certkiller .com做应用程序的开发工作。,Certkiller.com 希望可以开发一个应用程序存储和独

特的帐号的方式检索客户端的信息。您创建的自定义集合类,该类实现 IDictionary 接口,名为ClientDictionary。下面的代码已纳入新的应用程序。//Create 客户端对象Client c1 = new Client ("AReid", "Andy Reid", Status.Current); Client c2 = new Client ("DAustin", "Dean Austin", Status.New); //Create ClientDictionary objectIDictionary cData = new ClientDictionary ();cData.Add ("10001", c1);cData.Add ("10002", c2);您可以使用相同的方法将其他客户端对象添加到集合。您需要确保您能够检索与帐号 10111 相关联的客户信息。你应该做什么?()

A.

B.

C.

D.

点击查看答案

第3题

A Windows Communication Foundation (WCF) service is required to log all authorization atte

mpts 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?()

A. service Authentication Manager

B. service Authorization

C. service Credentials

D. service Security Audit

点击查看答案

第4题

You create a Web application. You need to turn on Tracing for a page that is not performin

g well. You must store the trace information in a database for reporting and trending. Which two actions should you perform? ()

A. Add a TraceContextEventHandler to the Trace.TraceFinished event to add the trace records into the database.

B. Add a system.diagnostics section to the Web.config file. Then add a listener to the new section.

C. Use the System.Diagnostics.Trace object to connect to a database. Then insert the trace records.

D. In the Page_Load for the page, place the Trace.Write call into a SQL INSERT statement.

点击查看答案

第5题

You create a Web Form. The Web Form allows users to recover their passwords. You add a Pas

swordRecovery server control by using the following code segment.You need to ensure that the server control generates a new password and sends it by e-mail to the users e?mail address. Which two actions should you perform? ()

A. Create a validdefinition in the Web.config file.

B. Set the passwordFormat attribute of the configured membership provider to Encrypted.

C. Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to False.

D. Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to True.

点击查看答案

第6题

Youarecreatinganundobufferthatstoresdatamodifications.Youneedtoensurethattheundofunctional

ityundoesthemostrecentdatamodificationsfirst.Youalsoneedtoensurethattheundobufferpermitsthestorageofstringsonly.Whichcodesegmentshouldyouuse?()

A.Stack<string> undoBuffer=newStack<string>();

B.StackundoBuffer=newStack();

C.Queue<string>undoBuffer=newQueue<string>();

D.QueueundoBuffer=newQueue();

点击查看答案

第7题

您正在开发的应用程序使用的队列名为MyQueue的类对象。此队列的类对象将用于存储在应用程序运行时,用户发送的消息。您正在开发的应用程序的管理员和用户界面创建消息报告提供了一个接口。要确保管理员选择重置选项时删除MyQueue对象中存储的所有用户消息。你应该做什么?()

A.使用MyQueue对象Enqueue方法。

B.使用MyQueue对象的Clear方法。

C.使用MyQueue对象的Dequeue方法。

D.使用TrimToSize方法的MyQueue对象

点击查看答案

第8题

You create an intranet Web site for management of project documents. You need to enable al

l users to browse documents on the site. Only members of the administrators group must be able to upload files. Which code segment of the Web.config file should you use? ()

A. <allow verbs="GET" users="*" /><deny verbs="POST" users="*" /><allow verbs="POST" roles="Administrators" />

B. <allow roles="Administrators" /><deny users="*" />

C. <allow u sers="Administrators" /><allow users="*" />

D. <allow v erbs = "POST" roles="Administrators" /><deny verbs="POST" users="*" /><allow verbs="GET" users="*" />

点击查看答案

第9题

YoucreateanASP.NETpage.ThepageusesthejQuery$.ajaxfunctiontomakecallsbacktotheserverinsever

alplaces.Youaddthefollowingdivelementtothepage.Youneedtoimplementasingleerrorhandlerthatwilladderrorinformationfromallpage$.ajaxcallstothedivnamederrorInfo.Whatshouldyoudo?()

A.Addthefollowingoptionstoeach$.ajaxfunctioncall:

B.Addthefollowingcodetothe$(document).readyfunctiononthepage:

C.Addthefollowingoptiontoeach$.ajaxfunctioncall:

D.Addthefollowingcodetothe$(document).readyfunctiononthepage:

点击查看答案

第10题

A Windows Communication Foundation (WCF) service only accepts messages that are signed and

encrypted. A client application is not receiving expected responses from the service. You need to enable logging to verify that the messages from the client are signed and encrypted. You also need to see what each message looks like before the message body is deserialized into a NET object. What should you do?()

A.

B.

C.

D.

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

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

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

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

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