网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

You are creating an ASP.NET web application that hosts several Windows Communication Foundation (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


参考答案

更多 “ You are creating an ASP.NET web application that hosts several Windows Communication Foundation (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.AuthenticationServiceFactory=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 ” 相关考题
考题 当 Web 应用关闭后,你需要人工释放资源。为此,你应该响应哪一个事件?() A.Application_BeginRequestB.Application_EndC. Application_StartD.Application_EndRequest

考题 WhatisthenameoftheWebLogicspecificdeploymentdescriptorofJavaEnterpriseApplication?() A.application.xmlB.weblogic.xmlC.web.xmlD.weblogic-application.xmlE.config.xml

考题 运行Asp.Net需要安装()Web服务器。 A.ResinB.tomcatC.WebLogicD.IIS

考题 在以下Windows操作系统中,()支持ASP.NET。 A.Windows98B.Windows2000C.WindowsXPD.WindowsServer2003

考题 ASP.NET网站的Web配置文件是A.Web.configB.App.configC.App.xmlD.Web.xml文件编译成dll文件存放在bin目录

考题 1、当有用户请求 Web页面时,会触发()事件?A.Application_Start()B.Session_Start()C.Application_End()D.Session_End()

考题 ASP.NET的WEB按钮控件包括()。A.ButtonB.ImageButtonC.LinkButtonD.SubButton

考题 在ASP.NET中,应用程序启动时触发的事件为()。A.Session_StartB.Session_EndC.Application_StartD.Application_End

考题 当有用户请求 Web页面时,会触发()事件?A.Application_Start()B.Session_Start()C.Application_End()D.Session_End()

考题 2、ASP.NET网站的Web配置文件是A.Web.configB.App.configC.App.xmlD.Web.xml文件编译成dll文件存放在bin目录