ASP.NET MVC Question

I want the following structure in my ASP.NET MVC solution;

Controllers / HomeController.cs
Controllers / Administration / AdministrationController.cs
Controllers / Administration / UsersController.cs

Views / Home / index.aspx
Views / Administration / index.aspx
Views / Administration / Users / index.aspx
Views / Administration / Users / AddUser.aspx
and others.

How can I make it work, so I get http: // localhost / Administration / Users ? Do I need a route for this or create a new administration area?

Thank.

+3
source share

Source: https://habr.com/ru/post/1745650/


All Articles