View Full Version : How can we use web.config?

10-31-2012, 12:19 PM
How can we use web.config file? What is the use of it?:confused:

11-01-2012, 03:14 AM
The web.config file is the main configuration file for your ASP.NET application. It will contain settings such as Database connection strings, general application settings, and the like.

If you have a specific question or something you're having trouble with, please make a detailed post including what you're trying to do, as well as what you've already tried.

For all other information, here's the Wikipedia page for Web.config (http://en.wikipedia.org/wiki/Web.config).

11-24-2012, 12:24 PM
Thanks Shane..!!!

11-24-2012, 09:30 PM
if you use the web.config file correctly then you can do all sorts - developing a website/application you can set values in your web.config and then call that value from the code behind of your website using the web configuration manager - so if you have a URL for example to your Facebook page you can set it in web.config and then call it on code behind or something like that. Compile and publish - if the URL changes you just change it in the web.config

If you require any more information have a look at the link posted above - if still you have any questions dont hesitate to ask.

Are you a newbie to ASP.NET?