Groups | Blog | Home
all groups > asp.net > march 2007 >

asp.net : asp.net web.config file


Juan T. Llibre
3/24/2007 11:42:30 AM
You can have as many web.config files as you have directories.

The web.config settings will apply to whichever directory the web.config file is in
....plus all the subdirectories under that directory, unless a subdirectory has been
configured as another application ( a nested application, in that case. Don't do that. ).

The only restraint is that application-wide settings can only be
placed in a directory which has been configured as an application.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
[quoted text, click to view]

Eric Layman
3/24/2007 11:21:02 PM
Hi everyone,

Im fiddling around with connection strings and found out that conn strings
can be stored in web.config

May I know where is this file located?

or I can create within the site root of my www folder?

Or was it generated by default?

Please advise.

Thanks.



Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
Eric Layman
3/24/2007 11:27:06 PM
I've found it

Thanks

http://support.microsoft.com/kb/815179

But can it be in individual folders?
Just curious.

[quoted text, click to view]



Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
AddThis Social Bookmark Button