What is difference between machine.config and Web.Config?

Answers were Sorted based on User's Feedback



What is difference between machine.config and Web.Config?..

Answer / sandip divate

machine.config is for configuration settings of all the
applications on a machine. where as web.config is
application specific.it contains configuration settings for
a application.

Is This Answer Correct ?    17 Yes 3 No

What is difference between machine.config and Web.Config?..

Answer / madhunathanv

Web.config is particular WebApplication Specific,it has
diff web.config files for different applications.

Machine.config is Whole .Net Application specific ,it is
only one.ie..,machine.config applies to the entire machine

The Configuration system first searches settings in
machine.config file & then looks in application
configuration files(web.config)

AFAIK

Is This Answer Correct ?    15 Yes 3 No

What is difference between machine.config and Web.Config?..

Answer / suresh

In Machine.config file you can store,
1. Connection strings
2. Membership
3. RoleManager
4. Profile
5. HttpHandlers

in web.config
1. Database connections
2. Session States
3. Error Handling
4. Security

Is This Answer Correct ?    10 Yes 1 No

What is difference between machine.config and Web.Config?..

Answer / kannan

Web.Config Files - It is used to maintain the all type of
configuration like that Database connection and Error log
configuration and also maintain the Authenticate of user
security of the web application

Machine.config - only one file was created in your
microsoft .net folder when you installed the microsoft
visual studio.
So, it is used to configuration for the particular server
machine.

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

I want to connect a system in LAN and I want to access that. Whenever I am moving a mouse in my desktop, the similar thing has to happen in another system in which I have connected. I need coding for this in C# and ASP.NET Can anyone please help me. It is very urgent. Thanks in advance. My email id is manojkumarchallagundla@gmail.com Will you please?

0 Answers   Excel,


What is the application pool?

0 Answers  


How do you register the .Net Component or Assembly?

2 Answers   Accenture,


How many rules are there regarding a well formed XML document? a) Nine b) Three c) Six d) Two

1 Answers   Syntax Softtech,


What is scope of an application variable in asp.net?

0 Answers  






What is difference between session and cookies in asp net?

0 Answers  


What is the Global.asax used for?

9 Answers  


What is a multilingual website?

0 Answers  


Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?

2 Answers  


Explain what are webservices?

0 Answers  


What are validators and list some validators of asp.net?

0 Answers  


What is the default Orientation property in a Menu control?

0 Answers   Sans Pareil IT Services,


Categories