Plunging into .NET Development

Weblog Pieter Gheysens
Microsoft .NET Development - C# - Enterprise Library - Visual Studio 2005 Team System - Compuware DevPartner - ...
 


Monday, June 8

using ASP.NET Membership in non-web applications

It's quite easy to use the ASP.NET Membership feature in non-web applications.
  1. Create a new WinForms / WPF application

  2. Import the System.Web assembly



  3. Configure app.config instead of web.config to use the membership feature



  4. Use the Membership class to query for information



Labels:

1 Comments:

  • At 5:41 AM, Blogger Dave Van den Eynde said…

    Excellent!

    This demonstrates very well how flexible the .NET Framework is, by not keeping its components loosely coupled.

     

Post a Comment

Links to this post:

Create a Link

<< Home