Friday, May 31, 2013

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

Posted by Rahul Kharde at 5:16 AM
Yes, we can run an asp.net application without the WEB.CONFIG file.

If we are not setting any configuration in
WEB.CONFIG file then it will take MACHINE.CONFIG file for default configurations. This config file will automatically installed when your application getting executed.

i.e
MACHINE.CONFIG file contains defaults settings for all the asp.net web applications.

Because all the configuration settings will be available under
MACHINE.CONFIG file by default these settings will be applied to all asp.net applications.

Note:
  • Web application run without web.config but the run without debugging mode 
  • 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 web.config file.
  • The MACHINE.CONFIG file will be automatically loaded when .net framework is installed. 


If you enjoyed this post and wish to be informed whenever a new post is published, then make sure you subscribe to my regular Email Updates. Subscribe Now!


Kindly Bookmark and Share it:

YOUR ADSENSE CODE GOES HERE

1 comments:

Naren on June 7, 2013 at 12:22 AM said...

Nice article .. keep posting :-)


Have any question? Feel Free To Post Below:

 

Popular Posts

Recent Comments

© 2011. All Rights Reserved | Help to understand .Net | Template by Blogger Widgets

Home | About | Top