Web application contains more than one Web.config file - ASP.NET Introduction

Q.  A web application can contain _______ .
- Published on 19 Oct 15

a. Only One Web.Config File
b. Only Two Web.Config File
c. more than one Web.config file
d. No file.

ANSWER: more than one Web.config file
 
A web application can contain more than one Web.config file. When you create a web application, visual studio provide a default Web.config file in the root for you. For using more than one Web.config file, first you have to add a folder than you can add new Web.config file in this sub folder. There can be one web.config file in every sub folder of the application.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)