LearnFast.Ninja

ASP.NET MVC add View

In this tutorial you will learn how to add View in MVC project using Visual Studio. You must understand that you add View to function inside the controller and not to the controller itself.

Step 1: Open the controller you want to view to.


Step 2: Right click the function you want to add View to then click Add View.


Step 3: Click Add.


Result:


Tags

asp.net

mvc view