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

720 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/30/2017 asp.net-core aspnet get-started-article tutorials/first-mvc-app-xplat/adding-view

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

[!INCLUDE adding-view2]

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