Which two actions should you perform?

You are creating an ASP.NET application by using the .NET Framework 3.5.

The application will be accessed by Internet users. You plan to enable users to authenticate from the client-side script.

You add the following code fragment in the Web.config file of the application.

<system.web.extensions>
<scripting>
<webServices>
<authenticationService enabled=”true” />
</webServices>
</scripting>
</system.web.extensions>

You need to configure the application to ensure user credentials are validated against Active Directory by using the client-side script.

Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

You are creating an ASP.NET application by using the .NET Framework 3.5.

The application will be accessed by Internet users. You plan to enable users to authenticate from the client-side script.

You add the following code fragment in the Web.config file of the application.

<system.web.extensions>
<scripting>
<webServices>
<authenticationService enabled=”true” />
</webServices>
</scripting>
</system.web.extensions>

You need to configure the application to ensure user credentials are validated against Active Directory by using the client-side script.

Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

A.
Configure the application to use the ActiveDirectoryMembershipProvider class.

B.
Configure the application to use the ClientWindowsAuthenticationMembershipProvider class.

C.
Add the following code fragment to the Web.config file of the application. <authentication mode=”None” />

D.
Add the following code fragment to the Web.config file of the application. <authentication mode=”Forms” />

E.
Add the following code fragment to the Web.config file of the application. <authentication mode=”Windows” />



Leave a Reply 0

Your email address will not be published. Required fields are marked *