If you are already familiar with ASP.NET, you are probably familiar with the ASP.NET Membership / Role / Profile system, the default providers, and the ability to add your own without too much trouble.
Wouldn't it be great if you could use all of this from your Windows Forms or WPF applications? Yes? Ok, then take a look at ASP.NET Application Services ! You simply set up a website to provide an authentication URL, and then ask it to use it. You can create your own login window and open applications when necessary, or use your own logic and call methods yourself.
It has full support for "offline mode", in which it caches the password hash for comparison, it can also cache roles and allows you to use profile settings.
Timothy walters
source share