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

You are creating a Windows Communication Foundation (WCF) service based on WSHttpBinding.

You are creating a Windows Communication Foundation (WCF) service based on WSHttpBinding. New audit requirements dictate that callers must be authenticated on every call to ensure that their credentials have not been revoked.You need to ensure that the service will not cache the security request token. What should you do?()

A. Apply a ServiceBehavior attribute to the service implementation class with the lnstanceContextMode property set to Single.

B. In the message security configuration, change clientCredentialType from lssuedToken to UserName

C. In the message security configuration, set establishSecurityContext to false.

D. At the end of every operation, call the SessionStateUtility.RaiseSessionEnd method.

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

第1题

You have a self-hosted Windows Communication Foundation (WCF) service. You need to configu

re the service to provide an X509 certificate during authentication. What should you use to configure the service?()

A. the Certificate property of the X509 Certificate lnitiator Service Credential class

B. the SetCertificate method of the X509 Certificate Initiator Service Credential class

C. the SetCertificate method of the X509 Certificate Recipient Service Credential class

D. the TrustedStoreLocation property of the X509 Certificate Recipient Service Credential class

点击查看答案

第2题

Certkiller.com 已经被本地小私立学校聘请开发一类库,将在名为ManageAttendance的 学生档案管理

应用程序中使用,ManageAttendance 名学生档案您应负责此类库的开发。Certkiller.com 已指示您在应用程序中创建集合以存储学习的结果目前仅有七个学生,但此值将增加两倍,在下一年度,学校已通知您。由于对有限的资源,您需要确保您所创建的集合消耗最少的资源。创建集合,您应该使用什么?()

A.HybridDictionary 的集合类

B.哈希表集合类

C.ListDictionary 的集合类

D.StringCollection 的集合类

点击查看答案

第3题

YouareimplementinganASP.NETAJAXpage.Youaddthefollowingcontroltothepage.YouneedupdatethecontentsoftheUpdatePanelwithoutcausingafullreloadofthepage.Whichtwoactionsshouldyouperform?()

A.AddthefollowingcontrolbeforetheUpdatePanel.

B.AddthefollowingcontrolwithintheUpdatePanel.

C.AddanAsyncPostBackTriggerthatreferencesTimer1.

D.AddaPostBackTriggerthatreferencesTimer1.

点击查看答案

第4题

WhichmethodsallowCOMcomponentstobeusedin.NETapplications?()

A.AddareferencetothecomponentthroudhMicrosoftVisualStudio2005.

B.UsethetypeLibraryImporttool(TlbImport.exe).

C.UsetheRegsvr32tool.

D.Ensurethettheapplicationisregistered,usingtheRegSvrtoolifnecessary.TheneitheraddareferencetoitfromdialogboxoruseTblIpm.exe.

点击查看答案

第5题

You are creating an ASP.NET web application that hosts several Windows Communication Found

ation (WCF) services.The services have ASP.NET Compatibility Mode enabled. Users authenticate with the Web application by using a cookie-based ASP.NET Forms Authentication model.You add a service file named Authentication.svc that contains the following code segment:<%@ ServiceHost Service="System.Web.ApplicationServices.AuthenticationService"Factory="System.Web.ApplicationServices.ApplicationServicesHostFactory" %>You need to ensure that users can access the WCF services without having to re-authenticate.Which two configuration settings should you add? (Each is part of a complete solution. Choose two.)()

A. In the system web. Extensions scripting/webServices/authenticationService element, set the enabled attribute to true.

B. In the system web. Extensions scripting/webServices/profileService element, set the enabled attribute to true.

C. Add a service endpoint with basicHttpBinding for the contract System.Web.ApplicationServices.AuthenticationService.

D. Add a custom service behavior named AuthenticationService Type Behaviors with a service AuthenticationManager element that has service AuthenticationManagerType set to System.Web.Security.SQL Membership Provider

点击查看答案

第6题

WhattypesofobjectsderivefromteMemberInfoclass?()

A.FieldInfoclass

B.MethodInfoclass

C.Assemblyclass

D.Typeclass

点击查看答案

第7题

A self-hosted Windows Communication Foundation (WCF) service uses a secure HTTP binding wi

th a custom principal permission mode. The binding requires users to provide their Windows logon credentials. You need to retrieve the identity of the caller.What are two possible properties you can use to achieve this goal? (Each correct answer presents a complete solution Choose two)()

A. Thread.CurrentPrincipal.Identity.Name

B. HttpContext.Current.User.Identity.Name

C. ServiceSecurityContext.Current.PrimaryIdentity.Name

D. OperationContext.Current.ServiceSecurityContext.PrimaryIdentity.Name

点击查看答案

第8题

WhencompressingdatawiththeDeflateStreamclass,howdoyouspecifyastreamintowhichtowritecompresseddata?()

A.SettheBaseStreampropertywiththedestinationstream,andsettheCompressionModepropertytoCompression.

B.SpecifythestreamtowriteintotheDeflateStreamobjectiscreated(forexample,inthe constructor).

C.UsetheWritemethodoftheDeflateStreamclass.

D.RegisterfortheBaseSreameventoftheDeflateStreamclass.

点击查看答案

第9题

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

d 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.

点击查看答案

第10题

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.

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

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

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

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

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