How many web.config files that can be there an ASP.NET application?

Options
- only one
- only two
- upto 10
- one or more


CORRECT ANSWER : one or more

Discussion Board
At least one

You can have web.configs in different subfolders in your project. You can use them to control access to specific folders.

DB 07-14-2020 11:05 AM

one

only one per each project

lawdasa 01-4-2019 03:35 AM

.net

It''s very useful for me and very helpful also.whan I practice start on careerRide I kracks the interviews.

SandhyaRani Dash 07-29-2017 05:58 AM

One or more is correct

Take a look at the default project for MVC - there's a config at project level and another in the Views folder.

Ackroydd 04-19-2015 11:06 AM

How many web.config files can be in web application?

Only One...
one in each folder .
By default only one in an application.

Saunak Saha 02-23-2015 06:34 AM

Answer only one

If you have more than one web.config file in one project it shows error. So the correct answer is only one

ajay zala 10-28-2014 04:41 AM

web.config files

Yes you can have two web.config files in application. There are situations where your application is divided in to modules and for every module you need separate configuration.

For example if you have a application which has two modules lets say accounts and sales. You will create both these modules in a separate folder with each folder having separate config files.

web.config files 09-14-2014 01:20 AM

Answer is incorrect

The answer should be 'only one'. If you have any explanation please explain how the answer should be 'one or more'?

Sunny 09-13-2014 09:00 AM

Bad choice of answers

The correct answer should read:

One or more

Since it answer is implying there can only be more than one.

Shaun 08-13-2014 05:47 AM

Write your comments


Enter the code shown above:

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


Advertisement