Can we run asp.net apllication without WEB.CONFIG file?

Questions by sbehera02   answers by sbehera02

Editorial / Best Answer

Answered by: shree

  • Dec 24th, 2006


it is something like if we had not defined the web.config the application will take the settings from the machine.config.

the machine.config settings are overide by the web.config if u define the web.config for each running appln

Showing Answers 1 - 16 of 16 Answers

MOHD RAFEE

  • Dec 18th, 2006
 

YES : Because all the configuration settings will be available under MACHINE.CONFIG file, by default these settings will be applied to all asp.net applications. The MACHINE.CONFIG file will be automitacally loaded when .net framework is installed.

shree

  • Dec 24th, 2006
 

it is something like if we had not defined the web.config the application will take the settings from the machine.config.

the machine.config settings are overide by the web.config if u define the web.config for each running appln

  Was this answer useful?  Yes

hansat

  • Jan 2nd, 2007
 

In 2005 The VS When we trying to run first time any application the 2005 VS gives us warning that want to run application without beb.config file. 

  Was this answer useful?  Yes

Yes you can Run an asp.net application without WEB.CONFIG file.

You want to Run an Asp.net application means you don't want to override the default properties of Machine.Config File and Default Configurations will be loaded from Machine.Config as you have created a Project Just now.


If you want to change Default Properties then you have to change properties of Machine.Config

  Was this answer useful?  Yes

upendra

  • Oct 14th, 2011
 

How ?

Give the step by step process?

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions