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

946 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-mac/adding-view

[!INCLUDEadding-view]

Add a 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 File.

  • In the New File dialog:

    • Select Web in the left pane.
    • Select Empty HTML file in the center pane.
    • Type Index.cshtml in the Name box.
    • Select New.

Add New Item dialog

[!INCLUDEadding-view22]

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