Tuesday, January 29, 2019

Areas are logical collections of controllers in the name of splitting numerous controllers up into groupings in lieu of just having dozens of controllers sprinkled together.

Denote the area for a controller at an attribute like so in a .Net core project:

[Area("Frontend")]
[Route("Classes")]
public class WorkshopsController : Controller
{

No comments:

Post a Comment