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

966 B

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

[!INCLUDE adding-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 Razor View

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

    • Tap Add

Add New Item dialog

[!INCLUDE adding-view22]

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