Chapter 7 Themes uses * .skin and * .css files to make unified deployments for the appearance of Page. There is no Skin file in the New Item list, use the text file, the suffix name is modified to .skin, and add the time attribute programming in <% @ Page /> to resolve the page.Theme = Request.QueryString ("XXX ') Performs Processing Programming Solving the THEME of Control, using the control.skinid property in the page.preinit event.
Chapter 8 MEMBERSHIP AND ROLE Management Authentication, Authorization, Authorization, Certification, Is there a permission, whether it is a legal user Authorization, authorization, giving user power, averaged web site, using Authentication Mode = "Forms" to perform FORM level user verification, also Just if there is no login, then you need to log in to the CreateUserWizard Server Control Complete the Account Login Server Control Complete the account login operation Login Status Server Control, displaying whether it is already logged in, click on this Server Control, you can log out or Arrival login interface Use the method and attributes in the Membership class and the authentication of account information, and the management of account settings. The static method of the FormSauthorization class provides account information management tools, manipulating the Authentication Ticket Loginname Displays the current login account UserName ChangePassword Server Control provides Change Password. Interface and function PasswordRecovery Server Control provides interfaces for password failures and feature LoginView Server Control providing template editing, logging in to the account, can provide different interface display information about Role and the user's operation, for example Add USER to Role, enumerate the User in the role, remove user, etc. from the Role, use the ROLES class to operate
Chapter 9 Personalization Personalized Data, the original method has session, cookie, but it is not very good, it is not convenient, it takes a lot of programming, now ASP.NET 2.0 uses Profile and Web.config Profile method, very convenient To say, under the System.Web node in the web.config file, declare Profile, declare Properties under Profile, under Properties, use add to join the Profile information you need to control, simple looks as follows: