"
 
 
 
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 ( )
<00>  <01>  <02>  <03>  <04>  <05>  <06>  <07>  <08>  <09>  <10>  <11>  <12>  <13>  <14>  <15>  <16>  <17>  <18>  <19>  <20>  <21>  <22>  <23
Link to this page: //www.vb-net.com/AspNet-DocAndSamples-2017/aspnetcore/tutorials/first-mvc-app/adding-controller.htm
<SITEMAP>  <MVC>  <ASP>  <NET>  <DATA>  <KIOSK>  <FLEX>  <SQL>  <NOTES>  <LINUX>  <MONO>  <FREEWARE>  <DOCS>  <ENG>  <CHAT ME>  <ABOUT ME>  < THANKS ME>