I just started a new MVC 3 project. Can anyone tell me what
<add key="webpages:Enabled" value="false" />
in my web.config file does?
webPages:enabled with value false prevents .cshtml or .vbhtml files in the Views folder from being directly accessible from a web browser.
webPages:enabled
false
.cshtml
.vbhtml
Views
2.1m questions
2.1m answers
60 comments
57.0k users