I downloaded Glimpse this morning to try it out and noticed this when I click on the views tab:
It checks all of the loaded view engines. I found where the RazorViewEngine
is specified in web.config, but I couldn't find where the WebFormViewEngine
was. Since I know my project will never have an web form view in it,
- Is it ok/safe to turn off
WebFormViewEngine
? - How can I turn off
WebFormViewEngine
?
An alternative would be to remove only the view engine you want to remove:
It is perfectly OK to remove the web forms view engine if you are not using it. You can do it like:
The above method calls go in your
global.asax
file.source of code