What is web.config and machine.config ?

Answers were Sorted based on User's Feedback



What is web.config and machine.config ?..

Answer / dhananjay nazare

web.Config: Web.Config file is maintained within a
particular Web application and the Configuration setting
specified within web.config file is applicable to that
application only.

Machin.Config: Machin.Config file is maintained within .Net
framework derectories and configuration setting within
Machin.Config file affects all the managed application
deployed on that machin

Is This Answer Correct ?    56 Yes 5 No

What is web.config and machine.config ?..

Answer / naren

1. web.config and machine.config both are the configuration
files
2. web.config files contains settings specific to a web
application, machine.config file contains settings to
computer.
3. configuration system first searches settings in the
machine.config file next look at web.config file
4. web.config file exists within the web application,
machine.config file exists in the
c:\windows\microsoft.net\framework\version\config file
5. if we remove web.config file it does not contains any
connection string settings the web application will run, if
we remove machine.config file no one windows and web
application will run.

Is This Answer Correct ?    55 Yes 5 No

What is web.config and machine.config ?..

Answer / prakash j

web.config apply settings to each web application.
machine.config apply settings to all asp.net web application

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Can any one explain with the example how to capture the application error in Aplication_Error() method?

1 Answers   Infosys,


What are session objects?

0 Answers  


What is the difference between application and cache variables?

6 Answers   Astadia,


i need code for insert,delete,update adn display records using stored procedure in C#

2 Answers  


how can i call output parameters from ado.net

3 Answers   TCS,






Which data types are supported by the RangeValidator control?

2 Answers   Siebel,


They mostly asked difference between versions of technologies

0 Answers   Mphasis,


Why do you use the app_code folder in asp.net?

0 Answers  


What is a web based system?

0 Answers  


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

17 Answers   Assurgent, NIIT, TCS,


Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)

0 Answers   Tricom,


What are the main differences between asp and asp.net?

0 Answers  


Categories