Difference between web.config, Machine.config and app.config [Resolved]

Posted by Karthik2010_Mca under Interview Questions on 3/26/2013 | Points: 10 | Views : 2790 | Status : [Member] | Replies : 2
Hi,

Any one can explain this,
Difference between web.config, Machine.config and app.config ?

Thanks
Karthik.K

Karthik


Responses

Posted by: Mohansubramanian on: 3/26/2013 [Member] Starter | Points: 50

Up
0
Down

Resolved
Web.config: It is used with web applications. web.config will by default have several configurations required for the web application. You can have a web.config for each folder under your web application.

App.config: It is used for windows applications. When you build the application in vs.net, it will be automatically renamed to <appname>.exe.config and this file has to be delivered along with your application.

Machine.config: It contains settings that apply to an entire computer. This file is located in the %runtime install path%\Config directory. Machine.config contains configuration settings for machine-wide assembly binding, built-in remoting channels, and ASP.NET.

Regards,
Mohan
http://powerofmicrosoft.blogspot.in

Regards,
Mohan Subramanian
http://mohanks.com

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

Posted by: Jayakumars on: 3/26/2013 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi

refer this url

http://forums.asp.net/t/1878882.aspx/1
http://www.codeproject.com/Questions/281315/Difference-between-Machine-config-and-web-config-f

Mark as Answer if its helpful to you

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

Login to post response