Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is web.config. How many web.config files can be allowed
to use in an application?

Answer Posted / mohanraj

The ASP.NET Web.config file is used to define the
configuration settings for an ASP.NET application. ASP.NET
and the .NET Framework use .config files to define all
configuration options. The .config files, including the
ASP.NET Web.config file, are XML files.

Server-wide configuration settings for the .NET Framework
are defined in a file called Machine.config. The settings
in the Machine.config file can be changed and those
settings affect all .NET applications on the server.

Different ASP.NET applications might need different
application settings, that’s why defining those settings in
the Machine.config file, is usually not practical. The
solution for this problem is the ASP.NET Web.config file.

The ASP.NET application configuration settings can be
changed by creating a file called Web.config and saving it
in the root folder of the application. But what if the
Machine.config file defines different settings than the
ones defined in your Web.config file? The good news is that
the settings in the Web.config file override the settings
in the Machine.config file.
There can be more than one web.config file .

Is This Answer Correct ?    31 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the authentication types in asp.net?

1017


What is a uri query?

962


what is a .xap file? Explain with an example.

982


What’s the catch?

1050


Give me one example of Web API Routing?

1031


Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared web hosting platform?

1078


How does a content page differ from a master page?

998


3. What goals do you have in your career?

1818


Which protocol is used in a web api?

1055


How can we provide the WebParts control functionality to a server control?

952


What is application in asp net?

871


In Data grid the question is below quantity price total these are 3 fields available in data grid if you enter quantity the total has to update automatically.Price field is already filled completely

1956


If Instancing = Single use for ActiveX Exe, how will this be executed if there are 2 consecutive client requests ?

2429


Whats the difference between registerclientscriptblock, registerclientscriptinclude and registerclientscriptresource?

1011


What do you mean by View State and what is its role?

1008