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.

The following is the procedure to do that.
Note: If you use both of the view engines (web form and razor) in your project then don't implement the code above.

<< Custom Action Result Sample in MVC: Day 36