可学答题网 > 问答 > MCTS(70-513)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You are creating an ASP.NET web appli


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
参考答案
参考解析:
分类:MCTS(70-513)题库
相关推荐

1、You create an ASP.NET&

You&ensp;create&ensp;an&ensp;ASP.NET&ensp;page.&ensp;The&ensp;page&ensp;uses&ensp;the&ensp;jQuery&ensp;$.ajax&ensp;function&ensp;to&ensp;make&ensp;calls&ensp;back&en...

2、You create a Web site. You add an Edi

You create a Web site. You add an EditorZone control to the home page on the Web site. You need to enable users to customize the size and...

3、You are using the ASP.NET membership

You are using the ASP.NET membership APIs to manage user accounts for a Web site. The Web.config file contains the definition for the membersh...

4、You develop an ASP.NET

You&ensp;develop&ensp;an&ensp;ASP.NET&ensp;web&ensp;application&ensp;that&ensp;uses&ensp;a&ensp;Windows&ensp;Azure&ensp;web&ensp;role.&ensp;The&ensp;application&ensp...

5、You are creating an&

You&#8194;are&#8194;creating&#8194;an&#8194;ASP.NET&#8194;Web&#8194;site.&#8194;The&#8194;site&#8194;contains&#8194;pages&#8194;that&#8194;are&#8194;available&#8194;...

6、You develop an ASP.NET

You&ensp;develop&ensp;an&ensp;ASP.NET&ensp;web&ensp;application&ensp;that&ensp;uses&ensp;a&ensp;Windows&ensp;Azure&ensp;web&ensp;role.&ensp;The&ensp;application&ensp...