Blog Stats
  • Posts - 55
  • Articles - 0
  • Comments - 14
  • Trackbacks - 0

 

ASP.NET: Preventing overrides to settings

The ASP.NET web.config file has a location element with the attribute allowOverride. You can use it to prevent child directories from overriding the settings specific in the web.config file.

Although, it's a handy feature to have when you're testing/debugging, you should avoid using it because it can lead to less maintainable applications - somebody would scratch their heads over why their settings aren't taking effect.
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Feedback

No comments posted yet.


Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

 

 

Copyright © Nitin Reddy Katkam