Establish a standard routine with the. Net 2.0 Membership Function (a) primer + trailer

Source: Internet
Author: User

Since the last update blog has been 8 months now, a small information collection project has been canceled, so here to remove the big pit first.

But the last project made me notice that the. NET membership feature that was originally intended to be used in the information acquisition project is quite rich. With simple built-in objects and configuration tools, we can clearly and conveniently build a very easy to expand user management function for many of our small projects. Actually I have done a lot of OA MIS system is the user Rights Management module is the most waste of time, with this system, I really have a bit of peace of sleep.

If you see here you have no clear concept of membership, please open your vs2k5 to see a website Engineering toolbar

"Isn't that some of the weird landing controls that can't be used?"

Yes, if you haven't used the membership function. The events, properties, and methods provided by these controls are almost completely unusable, and it is baffling.

In fact, they are very useful, they are a complete set of m$ provided by the basic face members. The so-called wasted deep like the sea, you see them these controls are not insignificant, but you can not imagine how much trouble behind the package, and we use how simple Oh @_@

First, draw a simple structure diagram

As shown in the picture we actually call this system membership, just because the basic part of the system, the basic class of management users is called membership, The entire landing plan is actually System.Web.Security the entire namespace to support, in fact, is called the. NET 2.0 Web security solution. Of course the custom has been established (our rookie is easy to be superficial puzzled, so we agreed first-B)

The following sections I'll start with how to configure membership to customize ObjectDataSource Management membership \roles \profile

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.