Establish a standard routine that uses the. Net 2.0 Membership Feature (ii)-Configuration Chapter

Source: Internet
Author: User

Starting with. NET 2.0, ASP.net has entered a period of advocacy for less-than-write code-Multiple configurations

"The machine is advanced, we just have to drive the pig in and the sausage comes out of the conveyor belt." ”

Here's the job of starting the machine and catching the pig.

Before we catch a pig, let's take a look at the approximate way web.security works.

When a page opens the system will first read the system.web according to the configuration segment in the process to establish the corresponding various provider instances.

All subsequent login controls automatically invoke the methods and properties of the corresponding provider instance when interacting. So most of the work is done in the configuration.

Component part of the object there are many peers who recommend themselves to write lest too dependent on aspnetdb specific can refer to Fantasia articles

But this is a standard routine, so it's time to build on the m$ standard base

The specific configuration is as follows

1 configuration database

Running \windows\microsoft.net\framework\v2.0.50727 under the Aspnet_regsql.exe

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.