Using the ASP.NET membership provider in a Windows forms application

One of the new features in ASP.NET 2.0 is the membership and role provider system. This is a nicely designed system that allows the developer to handle the storage of user information pretty much any way he likes, all he has to do is create the appropriate providers and configure his application to use these. While this is very powerful there is something else I was much more interested in and that is the fact that user and role management can be added to an application without having to do any of the implementation work. Now this is very convenient if you don’t already have a user database to work with. Also, if at all possible, I would like to be able to use these providers in my Windows forms applications as well as in my web application. Fortunately this is possible without much work at all! So let’s create a very small console application with user management.

 

Read the full steps written by Maurice de Beijer here http://www.theproblemsolver.nl/usingthemembershipproviderinwinforms.htm

No Comments