"
ASP.NET (snapshot 2017) Microsoft documentation and samples

Adding a controller to a ASP.NET Core MVC app with Visual Studio

By Rick Anderson

[!INCLUDEadding-controller1]

Contextual menu
Contextual menu
Add MVC controller and name it
Add MVC controller and name it

[!INCLUDEadding-controller2]

In Visual Studio, in non-debug mode (Ctrl+F5), you don’t need to build the app after changing code. Just save the file, refresh your browser and you can see the changes.

Previous Next



Comments ( )
Link to this page: //www.vb-net.com/AspNet-DocAndSamples-2017/aspnetcore/tutorials/first-mvc-app/adding-controller.htm
< THANKS ME>