K
kuukoku
I am attempting to write a custom Membership Provider, but am having a
little trouble getting started.
I would like to write the custom provider (either in VB or C#) as a
standalone assembly so it can be used in multiple projects. However,
when I create a class library project and try to write the necessary
code, it appears that I don't have access to the required framework
assemblies.
When I try to inherit System.Web.Security.MembershipProvider, I get an
error that it cannot be found. However, when I use the same code in a
web project, it works fine.
All code examples (including Microsoft's Sample Access Providers at
http://msdn.microsoft.com/asp.net/downloads/providers/) seem to just
include the code in a web project. There's got to be a way to put this
in a class library that is reusable.
little trouble getting started.
I would like to write the custom provider (either in VB or C#) as a
standalone assembly so it can be used in multiple projects. However,
when I create a class library project and try to write the necessary
code, it appears that I don't have access to the required framework
assemblies.
When I try to inherit System.Web.Security.MembershipProvider, I get an
error that it cannot be found. However, when I use the same code in a
web project, it works fine.
All code examples (including Microsoft's Sample Access Providers at
http://msdn.microsoft.com/asp.net/downloads/providers/) seem to just
include the code in a web project. There's got to be a way to put this
in a class library that is reusable.