Articles → ASP .NET MVC → Create Your First View In Asp.Net MVC
Create Your First View In Asp.Net MVC
View Folder
Click to Enlarge
Add A View
- Right click on the sub folder inside the ‘View’ folder and click on Add → View..
Click to Enlarge
- A pop up appears as shown in the following figure.
Click to Enlarge
- A new view is added in ‘Home’ folder. See the following image.
Click to Enlarge
Add Action Method In Controller
public ActionResult Test() {
return View();
}
Browse View
Base_URL/Sub_Folder_Name/View_Name_Without_Extension
Click to Enlarge