Out-of-box membership provider for asp.net -
is there out-of-box membership provider asp.net?
or there tutorial creating one?
my problem can't change asp.net membership , need change on it.
is there out-of-box membership provider asp.net?
yes, there's default membership provider
uses sql database. if want write custom 1 inherit membershipprovider
class , implement abstract methods intend use.
for example:
public class myprovider: membershipprovider { ... implement abstract methods here }
and in web.config replace default provider own:
<membership defaultprovider="myprovider"> <providers> <clear /> <add name="myprovider" type="mynamespace.myprovider, myassembly" /> </providers> </membership>
here's article on msdn
explains different methods of membership provider need implement , used for.
Comments
Post a Comment