- How to add Views in asp.net MVC project.
- How to work with views.
- How to pass values from Controller to View.
- How to manage multiple views with single controller
ASP.NET MVC Views
Step # 1: Open the visual studio and click File => New => Project. Then a new project dialog will open.

Step # 4: Right click on the Controller folder under the solution explorer, then select Add and then choose controller (Right click on controller folder => Add => Controller).
Step # 8: Right click on the Index function in your HomeController.cs file, then select “Add View”.
Step # 12: Add an action method in HomeController.cs file with the name of “Student” with the parameter.


Leave a Reply