View previous topic :: View next topic |
Author |
Message |
marbles
Joined: 01 Mar 2006 Posts: 16
|
Posted: Wed Mar 01, 2006 6:01 pm Post subject: web.config |
|
|
I generally configure my web.config right before starting a new project.
I strip out all the settings i dont need, then i add things as im going if I require them.
Some people I know hardly use web.config at all.
Do you guys rely on it alot, or very little? |
|
Back to top |
|
|
paul
Joined: 11 Oct 2004 Posts: 128
|
Posted: Wed Mar 01, 2006 9:19 pm Post subject: |
|
|
I always put my SQL database connection strings in it, because this way it's much easier to manage it. Also changing the database end server doesn't require to restart or recompile my ASP.NET applications.
I've used the web.config for authentication too.
Paul _________________ World Countries | Survival Skills |
|
Back to top |
|
|
Darth
Joined: 01 Mar 2006 Posts: 9
|
Posted: Thu Mar 02, 2006 5:38 pm Post subject: |
|
|
Yes, they are the 2 main reasons for using web.config.
Also sessions, if you are using those, can be set in web.config. This is quite advanced though and something I generally have trouble with!
Its great putting the DB connection string in there, especially if you are transporting your application between work and home. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|