Is there a way to disable ASP.Net membership provider from using a web.config?

Currently it stores a connection string and a sqlMembershipProvider in a web.config which is not where i'd like it to be.

Thank you