I'm writing a custom memberhsip provider based on the source for the SQL provider and I tried first making the SQL Provider a separate project. Yet, the web app wouldn't recognize it unless I put all the source in an APP_Code folder in my web app.

Is this how you implement a custom provider? I thought I could simply reference the provider project from the web app and move on.

+3  A: 

Make sure you specify the type as "Namespace.Type, Assembly.Name" if you have your provider in a compiled assembly. Like "System.String, mscorlib" or "System.Web.UI.Design.ControlDesigner, System.Design".


<membership defaultProvider="OlaMembershipProvider">  
    <add name="OlaMembershipProvider" type="OpenAccess.Web.OlaMembershipProvider, OpenAccess.ClientSide" />  
Simon Svensson