ASP Hosting sale!
Double disk space and transfer for FREE!
Limited time offer! Act Now!

aspdev | articles | tutorials | forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

web.config

 
Post new topic   Reply to topic    ASPdev.org Forum Index -> .NET Programming (ASP.NET, VB.NET, C#)
View previous topic :: View next topic  
Author Message
marbles



Joined: 01 Mar 2006
Posts: 16

PostPosted: Wed Mar 01, 2006 6:01 pm    Post subject: web.config Reply with quote

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
View user's profile Send private message
paul



Joined: 11 Oct 2004
Posts: 128

PostPosted: Wed Mar 01, 2006 9:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Darth



Joined: 01 Mar 2006
Posts: 9

PostPosted: Thu Mar 02, 2006 5:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ASPdev.org Forum Index -> .NET Programming (ASP.NET, VB.NET, C#) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

SQL Tutorial