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
1.4m articles
1.4m replys
5 comments
57.0k users