What is the use of web.config? Difference between
machine.config and Web.config?

Answer Posted / yograj pandey

Minimize
Asp .net Web.config Configuration File
Minimize
What is Web.Config File?

Web.config file, as it sounds like is a configuration file
for the Asp .net web application. An Asp .net application
has one web.config file which keeps the configurations
required for the corresponding application. Web.config file
is written in XML with specific tags having specific meanings.
What is Machine.config File?

As web.config file is used to configure one asp .net web
application, same way Machine.config file is used to
configure the application according to a particular machine.
That is, configuration done in machine.config file is
affected on any application that runs on a particular
machine. Usually, this file is not altered and only
web.config is used which configuring applications.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

To bind columns manually which tags do you need to add within the asp:datagrid ?

553


What is the mvc model?

581


Is asp.net still used?

495


What is full trust in asp.net?

549


Can asp.net work on an nt server?

557






What is work flow gen? how can it will work with .Net?

2576


How many types of cache are there?

537


How can you register a custom server control to a web page?

549


How does http session work?

523


What are the different session state management options available in asp.net?

522


What is the difference between client-side and server-side validations in webpages?

564


What is Bundling and Minification in MVC?

584


How do we implement bundling in MVC?

595


What is difference between asp state management and asp.net state management? How can we pass info between 2 asp.net pages?

500


Explain the different types of directives in .net?

521