What is web.config and machine.config ?



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

Answer / alb.shah

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 ?    12 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

what is view state?

10 Answers   Satyam,


What is odata in web api?

0 Answers  


What is difference between abstract class and an interface?

0 Answers  


Distinguish between Server-side and Client-side code with its functionality?

0 Answers   Siebel,


How can we secure the data which is send from client side to server? Like the login id and paasword needs to be authenticated on the server but we cannot send it in plain text into the server.One more thing we are not using the SSL here.

0 Answers   Microsoft,






What is server side session?

0 Answers  


What is globalization and localization in asp net?

0 Answers  


How to check the end of the record in Datareader?

2 Answers   Cognizant,


accessing a textbox that was created dynamically? for (int i = 0; i < t1; i++) { TextBox t2 = new TextBox(); t2.ID = "adf" + i; PlaceHolder1.Controls.Add(t2); } accessing data entered in the above created controls.

1 Answers  


what is the MSIL assembler do?

1 Answers  


What is CSS? What is the advantage os using CSS in ASP.NET Web Applications?

2 Answers   PCS,


Differentiate between client-side and server-side validations in web pages.

0 Answers  


Categories