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

807 B

title author description keywords ms.author manager ms.date ms.topic ms.assetid ms.technology ms.prod uid
Adding a view | Microsoft Docs rick-anderson Adding a view to a simple ASP.NET Core MVC app ASP.NET Core, cli riande wpickett 03/30/2017 get-started-article 69421638-1638-41e6-9ad7-cad666abf4db aspnet asp.net-core tutorials/first-mvc-app-xplat/adding-view

[!INCLUDEadding-view]

Add an Index view for the HelloWorldController.

  • Add a new folder named Views/HelloWorld.
  • Add a new file to the Views/HelloWorld folder name Index.cshtml.

[!INCLUDEadding-view2]

[!div class="step-by-step"] Previous - Add a controller Next - Add a model