What was the difference between machine.config and
web.config files

Answers were Sorted based on User's Feedback



What was the difference between machine.config and web.config files..

Answer / naveen malik

Machine.Config:-

1. This file comes from the Visual Studio .net installation.
2. You can refer this file as machine level configuration
file.
3. This file you can search in the server.


Web.Config:-

1. This file gets created with your application.
2. You can refer this file as application level
configuration file.
3. This file inherits setting from the machine.config

Is This Answer Correct ?    2 Yes 0 No

What was the difference between machine.config and web.config files..

Answer / srinu

machine. config is configuration file for all the
application in the IIS.
web.config is a configuration file for a application or
folder

machine.config for machine level configuration.
web.config for a application/folder level configuration

Is This Answer Correct ?    2 Yes 0 No

What was the difference between machine.config and web.config files..

Answer / abu

WebConfig: It's more than one web.config files in application
Machine: Only One

Is This Answer Correct ?    5 Yes 4 No

What was the difference between machine.config and web.config files..

Answer / morasa.srinivasarao

Machine.Config:-

1. This file comes from the Visual Studio .net installation.
2. You can refer this file as machine level configuration
file.
3. This file you can search in the server.


Web.Config:-

1. This file gets created with your application.
2. You can refer this file as application level
configuration file.
3. This file inherits setting from the machine.config

Is This Answer Correct ?    1 Yes 0 No

What was the difference between machine.config and web.config files..

Answer / m.srinivasarao

Machine.config:This is automatically installed when you
install Visual Studio. Net.This is also called machine level
configuration file. Only one Machine.config file exists on a
server.This file is at the highest level in the
configuration hierarchy.
Web.config:This is automatically created when you create
an ASP.Net web application project. This is also called
application level configuration file. This file inherits
setting from the Machine.config

Is This Answer Correct ?    1 Yes 0 No

What was the difference between machine.config and web.config files..

Answer / kalyan ch sarkar

Two types of configuration files supported by ASP.Net.
Configuration files are used to control and manage the
behavior of a web application.

i) Machine.config
ii)Web.config

Difference between Machine.Config and Web.Config
Machine.Config:
i) This is automatically installed when you install Visual
Studio. Net.
ii) This is also called machine level configuration file.
iii)Only one machine.config file exists on a server.
iv) This file is at the highest level in the configuration
hierarchy.

Web.Config:
i) This is automatically created when you create an
ASP.Net web application project.
ii) This is also called application level configuration
file.
iii)This file inherits setting from the machine.config

Is This Answer Correct ?    1 Yes 0 No

What was the difference between machine.config and web.config files..

Answer / mansi

Two types of configuration files supported by ASP.Net.
Configuration files are used to control and manage the behavior of a web application.

i) Machine.config
ii)Web.config

Difference between Machine.Config and Web.Config
Machine.Config:
i) This is automatically installed when you install Visual Studio. Net.
ii) This is also called machine level configuration file.
iii)Only one machine.config file exists on a server.
iv) This file is at the highest level in the configuration hierarchy.

Web.Config:
i) This is automatically created when you create an ASP.Net web application project.
ii) This is also called application level configuration file.
iii)This file inherits setting from the machine.config

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

how many character send in one sms forget 160limit and think about gateway allowed

2 Answers   Wipro,


What is the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc

0 Answers  


My website has around 100 aspx. Out of this, a certain 20 aspx files should be made available to the users only if they are logged in. How can I achieve this with the web.config file?

1 Answers   Techno Solutions,


Define xmlreader class.

0 Answers  


What is the use of session?

0 Answers  






What’s the catch?

0 Answers  


What is master page in dtp?

0 Answers  


Explain the differences between Server-side and Client-side code?

3 Answers  


Why would a company use an application service provider?

0 Answers  


What is ispostback method in asp.net? Why do we use that?

0 Answers  


What is Boxing and Unboxing?

7 Answers   Accenture, IBM, Tech Mahindra,


What is http protocol and how it works?

0 Answers  


Categories