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
Why do you use the app_code folder in asp.net?
Define xmlreader class.
What is the difference between session and application?
What parameters can you pass in the url of the api? Can get and post use the same url?
What are validator? Name the validation controls in asp.net? How do you disable them?
If 200 is for all successful operation then why do we have 201 response codes?
What are directives in asp.net?
When should I use server transfer and response redirect?
What is webresource axd?
Explain asp.net mvc request life cycle? : asp.net mvc
Where is the view state data stored?
How many types of file extensions for razor views in ASP.Net MVC?
What is asp.net web application?
Explain the components of web form in asp.net
Explain what is the procedure to create the environment for asp.net? : asp.net mvc