Adding a controller to an ASP.NET Core MVC app with Visual Studio for Mac
[!INCLUDEadding-controller]
Add a controller
In Solution Explorer, right-click Controllers > Add > New File.
Select ASP.NET Core and MVC Controller Class.
Name the controller HelloWorldController.
[!INCLUDEadding-controller2]
Comments (
)
Link to this page:
//www.vb-net.com/AspNet-DocAndSamples-2017/aspnetcore/tutorials/first-mvc-app-mac/adding-controller.htm
|