You want to enable users of a Web application to modify the Web application's UI and behavior. These modifications must be maintained at the user level so that when users return to the Web application, the changes are still in effect. You need to achieve this goal by using the minimum amount of custom code. What should you do?
Persist control data by using view state.
Use Web Part controls
Maintain a profile for each user
Enable session state on the Web application.
You create a Web site for a customer. You need to deploy the Web site to the customers server without any of the source files for the Web site. You do not want the customer to be able to update any of the static pages
on the Web site. Which tool should you use?
aspnet_compiler.exe
InstallUtil.exe
CSC.exe
aspnet_wp.exe
None of the above
You create a Web site that is for members only. The behavior of the
Web site changes according to the role of the user. The Web site uses the
ASP.NET Membership control for creation of user accounts. You need to
find out whether a user is a member of a particular role. What should you
do?
Pass the user names and passwords to Membership.ValidateUser
Pass the role names to User.IsInRole
Pass the role names to Roles.RoleExists
Pass the user names to Membership.GetUser
You have a Web application that is configured for personalization. You need to access personalization data from one of the pages of the Web application by using the minimum amount of administrative effort. What should you do?
Access the personalization data from the Session property of the HttpContext object
Access the personalization data from the Application property of the HttpContext object.
Access the personalization data from the Cache property of the HttpContext object.
Access the personalization data from the Profile property of the HttpContext object.
You are developing a Web application. Your code restricts access to some pages based on the users credentials. You need to configure IIS to supply the user's Windows credentials to your Web application. These
credentials must be encrypted. What should you do?
Enable Anonymous access.
Enable Integrated Windows authentication.
Enable Anonymous access.
Enable Basic authentication
Disable Anonymous access.
Enable Integrated Windows authentication
Disable Anonymous access.
Enable Basic authentication