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 ?

Answers were Sorted based on User's Feedback



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

Answer / deepa

web.config is a file where we can configure the database
connection ,authentication and authorization etc. for the
entire application. we can have any number of web.config
files in an application ,but only one file at each folder
level.a web.config file at its least foleder level of a web
page replaces the parent level web.config file

Is This Answer Correct ?    37 Yes 3 No

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

Answer / lily antony

The web.config file is the configuration file of the web
application. This means that the configuration settings of
the application [such as authentication, authorisation,
tracing, debugging, connectionstrings, ...] can be changed
through the web.config file.

The main advantage is that that the changes made in the
web.config file will be applicable to the web application
without having to change the code of the application and
without recompiling the application.

The root folder of a web application can have only one
web.config file. But any inner/ sub folders can have a
web.config file. It web.config file in the sub folders will
override the one in the root folder of the application.

Is This Answer Correct ?    32 Yes 1 No

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

Answer / jignesh panchal

commenly one
we can give more than one

Is This Answer Correct ?    17 Yes 5 No

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

Answer / chirag

There is one web config by default but we can use any
number of web config file but inheritance will apply from
root to inward folder

Is This Answer Correct ?    14 Yes 4 No

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

Answer / ravindra reddy

web.config are many in one application but machine.config
are only one .

Is This Answer Correct ?    8 Yes 1 No

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

Answer / prasad. surbathina

an application can have a multiple web.congfig file but in
the root folder must have a one web.config and subfolder
contains a single web.congfig file.

Is This Answer Correct ?    6 Yes 1 No

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

Answer / karteek

Web.Config can be only one in a web application's root but
it may contain any number of web.config files inside the
subfolders of the application

The web.config file in subfolder overrides the web.config in
the root for that folder in which it is present.

If a subfolder doesnot has a web.config then the web.config
in the root is uses as usual

Is This Answer Correct ?    4 Yes 2 No

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

Answer / skumar

Web config file is a XML file, that contains information
about the application level settings. This is most useful
feature to change the hard coded things.

Usually only one config file will be used in the web
applications. That resides in the root folder of web
application. But the developer can create one config file
for each folder. It will take from the current level hierarchy.

Is This Answer Correct ?    2 Yes 1 No

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

Answer / moreshwar

we can have only single web.config file to each folder.in
the nested folder we can define the different configuration
for current folder files the only condition is we need to
mark the web.config as override. we generally need such type
of multiple web.config files @ the time of authentication.
where you will have different types of
user(employee,student,senior citizen) and each users needed
to check for authentication at different folders. like
employee,student,senior citizen etc. such operations can be
done in web.config.

Is This Answer Correct ?    1 Yes 1 No

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

Answer / meraj khan

There always b only one web.config file in the web
application contain userid, passord, database name, and
authentication. It is absurd to say could b more than 1 so
please ignore above all messages

Is This Answer Correct ?    3 Yes 41 No

Post New Answer

More ASP.NET Interview Questions

Where the viewstate is stored after the page postback?

0 Answers  


Describe the difference between inline and code behind - which is best in a?

0 Answers  


Do you know about caching with the datasource controls?

0 Answers  


Explain the different parts that constitute ASP.NET application?

0 Answers   B-Ways TecnoSoft,


How can you send an email message from an asp.net web page?

0 Answers  


if i have 1000 records and i want to access 20 ata time from SQL server, what will be the query?

9 Answers   Mind Tree,


Why should i prefer JSP over asp.net or any other web development language..??

0 Answers  


Asp.net - How to find last error which occurred?

1 Answers   Abacus,


How to limit table cell size with long strings?

1 Answers   IBS,


By default what is the Asp.Net application login context on IIS 5.0? By default the ASP.Net app runs in the context of a local user ASPNet on IIS version 5. On IIS version 6 on windows 2003 it is called Network service

0 Answers  


what do machine key element in configuration file specify?

1 Answers   TCS,


Difference between datareader and dataset ?

4 Answers   Microsoft,


Categories