What was the difference between machine.config and
web.config files
Answer Posted / 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 View All Answers
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.
Is data edited in the Repeater control?
What is event in asp.net?
What is a page life cycle? What are the events in a page life cycle?
A web service can only be written in .net? State whether true or false.
Explain the boxing and unboxing concept in .net?
Is asp.net different from asp? If yes, explain how?
How to add DateTime Control in normal DataGrid Server Control?
Take a Large textbox allow to type any data. Task 1:display the count of vowels in a lable on key press event of the textbox Task 2:dispaly count of dates in a lable when dates in following foramats:dd/mm/yy , mm/dd/yy , yy/mm/dd. Task3:compare 2 dates and display both are same or not which dates are in dd/mm/yy and mm/dd/yy farmats.
What is application state?
Is it true that a Web service must be written in .NET or not?
explain code with datachaching with example
What is the extension of master page in asp.net?
Differentiate between early binding and late binding.
Where are session variables stored?