what is the use of web.config file?

Posted by Krishnamanohar under ASP.NET on 4/22/2013 | Points: 10 | Views : 666 | Status : [Member] | Replies : 3
Hi Experts,
what is the use web.config file ?if we metion the conection string in application variable we can use it ?then what is the use of web.config file?
why one folder contains one web.config file only?
thanks in advance
Krish




Responses

Posted by: Satyapriyanayak on: 4/22/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
http://www.codeproject.com/Articles/301726/Web-config-File-ASP-NET
http://www.c-sharpcorner.com/uploadfile/puranindia/Asp-Net-web-configuration-file/

If this post helps you mark it as answer
Thanks

Krishnamanohar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Raj.Trivedi on: 4/22/2013 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hello Krish,

In web.config file you can save your settings for the web application as

1.Connection to Database.
2.Framework on which application will work
3.Session Timeout values.
4.Authentication etc.

Regard's
Raj.Trivedi
"Sharing is Caring"
Please mark as answer if your Query is resolved

Krishnamanohar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sriramnandha on: 5/11/2013 [Member] Starter | Points: 25

Up
0
Down
Web.Config:

1) Web.config file configuration setting for Asp.net Web applicaitons.
2) Connection to the database
2) Error Handling [custom error handling]
3) Authentication[fomrs,windows,passport]
4) Session management
5) cookies
6) Tracing
7) Handling Error global in applicaiton

hope this will help.......................

sriram

Krishnamanohar, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response