views:

647

answers:

2

Hi, Just thinking about this, is it possible to create a connection string outside the ASP.NET's web.config?

+2  A: 

Yes you can store it anywhere it is just text.... The web.config is just a XML document that stores configuration settings about your application. You could just as easily create another XML file or a text file and read it in from there. You just wouldnt be able to use:

ConfigurationManager.ConnectionStrings[].ConnectionString
cgreeno
+1  A: 

Possibly you're looking for configSource?

annakata