ASP.NET MVC question
I want the following structure in my ASP.NET MVC solution;
Controllers/HomeController.cs
Contr开发者_如何学编程ollers/Administration/AdministrationController.cs Controllers/Administration/UsersController.csViews/Home/Index.aspx
Views/Administration/Index.aspx Views/Administration/Users/Index.aspx Views/Administration/Users/AddUser.aspx etc.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?
Thanks.
Create an "Administration" area:
http://www.asp.net/learn/whitepapers/what-is-new-in-aspnet-mvc#_TOC3_2
精彩评论