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

Answer Posted / sanjay maurya

What are the two types of configuration files supported by
ASP.Net?
Configuration files are used to control and manage the
behavior of a web application.
? Machine.config
? Web.config
Difference between Machine.Config and Web.Config?
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 ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain different types of validators in asp.net?

704


How is my content secured from unauthorized access?

697


What is asp.net and how it works?

678


What is x xss protection?

724


Whats the difference between registerclientscriptblock, registerclientscriptinclude and registerclientscriptresource?

788






Can you edit data in the Repeater control? Which template must you provide, in order to display data in a Repeater control? How can you provide an alternating color scheme in a Repeater control? What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control?

759


How do cookies work?

760


Explain what is viewstate?

726


If there are multiple update panels on the page say upd1 and upd2. There is a button placed in upd1. How can you stop upd2 to update when button placed in upd1 is clicked?

757


What is the difference between mvc and asp.net? : Asp.Net MVC

661


In Code-Behind class which kind of code (server or client) is found ?

772


Describe the Server Control Events of ASP.NET?

860


Explain the concept of event bubbling in ASP.NET?

782


How can we Validate a Controls in ASP.NET page using JavaScript?

809


What is application and session in asp.net?

681