I am having a .net web application which uses membership for users validations. The membership has a definition in the web.config file and refer to a connection string in th
Create a child class extending SqlMembershipProvider class.
Override Initialize method
Set connectionString property config["connectionString"]
Let the base.Initialize logic continue
In the web.config file, instead of SqlMembershipProvider, use your
custom class. (if you give it a different name, make sure to set the defaultProvider attribute to match that)