In this article we will see how to remove a web form view engine for performance enhancement in MVC.
To resolve a view, MVC searches for a web form (ASPX) view engine and razor view engine as in its naming convention. So when we do not add a view and try to run the project, it searches for both of the engines. For example if we use the razor engine in our entire project then why do we want MVC to search for web form view engine? So in this example we remove the unused view engine, in other words the web form view engine and improve the performance of our application.
Hands on ASP.NET GridView