title: using asp.net membership provider in a dll
body: <p>I've used Membership Providers in web apps over the last several years.  I now have a new "request" for an internal project at work.  They would like a service (not a web service) to do a quick authenticate against.  Basically, exposing the <strong>ValidateUser(UserName, Password)</strong> method...</p>
  
  <p>I am building this in a DLL that will sit with our internal web site.  What is the best approach to make this work?  The DLL will <strong>not</strong> reference the web app and the web app <strong>will</strong> reference the DLL.  How do I make the DLL aware of the Membership Provider?</p>
  
  <p>TIA</p>
  
  <p>PS:  If this has been answered elsewhere please direct me to that...</p>
  
  <p>EDIT:  I found an article on using ASP.NET Membership with WinForms and/or WPF applications.  Unfortunately, these depend on an app.config file.  A DLL appears to not use the app.config once published.  If I am wrong, please set me straight!  The article is here: <a href="http://aspalliance.com/1595_Client_Application_Services__Part_1.all" rel="nofollow">http://aspalliance.com/1595_Client_Application_Services__Part_1.all</a></p>