November 2017
Intermediate to advanced
800 pages
30h 51m
English
From the route and an incoming URL, ASP.NET Core MVC knows the name of the controller and action, so it will look for a class that implements an interface named IController. To simplify the requirements, Microsoft supplies a class named Controller that your classes can inherit from.
The responsibilities of a controller are as follows:
Expand the Controllers folder and double-click on the file named HomeController.cs:
public class HomeController : Controller { public IActionResult ...Read now
Unlock full access