![]() This class does not support the First Name and Last Name properties, for example. For example, the MembershipUser class, which is found in the Membership API and represents a member saved in the application’s database, contains a limited number of properties. But a problem arises when working with huge applications. The Membership API works fine with small Web applications. I will not spend more time on the Membership API controls in this article-you can find many online resources and articles to get more information. You would end up creating a User control or a Server control so you would not need to repeat your work again and again.ĪSP.NET 2.0 provides a Role Management API that works with the Membership API to provide a full solution for the authentication and authorization needed for most Web applications you develop. In ASP.NET 1.x, you had to add this control to each application you developed. This control contains the username and password fields used to authenticate every user who tries to access a secure area inside the Web application. The Membership API provides many ready-made features that you had always needed to build in ASP.NET 1.x and that took hundreds of lines of code to accomplish.įor example, the Membership API has the Login control. NET Framework and you can access all its objects and methods from one namespace reference,. As with the other new features in ASP.NET 2.0, Microsoft integrated the Membership API into the. Microsoft built their Membership API upon the provider model. Microsoft ASP.NET 2.0 provides many new features, such as the Membership API, where you no longer need to worry about membership management in any application you develop. You would usually end up creating your own membership API to be able to use in any application you were working on. In the days of ASP.NET 1.x, managing an application’s members and roles was a hectic job, especially when most of the middle and higher-level applications needed that kind of management. This article discusses one of the techniques that you can use to overcome this limitation and extend the Microsoft ASP.NET 2.0 Membership API to accommodate custom member records with a solution that works on top of the Membership API without requiring any change in the API. To have a better understanding of the provider model in ASP.NET 2.0, I highly recommend the following link: Provider Model in Depth ( ) However, this API best suits small to medium Web sites due to their limitation in expressing a detailed member record. Microsoft ASP.NET 2.0 shipped with a complete membership API that allows developers to manage the application’s users and their roles. In this article, I’ll present one of the available techniques used to extend the Microsoft ASP.NET 2.0 Membership API to solve some of the limitations of that API. Working with big applications requires extending the Microsoft ASP.NET 2.0 Membership API to handle more detailed member records.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |