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

1.0 KiB

title author description keywords ms.author manager ms.date ms.topic ms.assetid ms.technology ms.prod uid
Adding a view rick-anderson Adding a view to a simple ASP.NET Core MVC app ASP.NET Core, riande wpickett 03/04/2017 get-started-article 6942432b-bac0-41e6-9ad7-cad313abf4db 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