AspNetCore.Docs/aspnetcore/tutorials/first-mvc-app/adding-view.md

962 B

title author description ms.author manager ms.date ms.topic ms.technology ms.prod uid
Adding a view rick-anderson Adding a view to a simple ASP.NET Core MVC app riande wpickett 03/04/2017 get-started-article aspnet asp.net-core tutorials/first-mvc-app/adding-view

[!INCLUDEadding-view]

  • Right click on the Views folder, and then Add > New Folder and name the folder HelloWorld.

  • Right click on the Views/HelloWorld folder, and then Add > New Item.

  • In the Add New Item - MvcMovie dialog

    • In the search box in the upper-right, enter view

    • Tap MVC View Page

    • In the Name box, change the name if necessary to Index.cshtml.

    • Tap Add

Add New Item dialog

[!INCLUDEadding-view22]

[!div class="step-by-step"] Previous Next