I want subfolders in my MVC application, so current routes just don't cut.
I have a folder structure like
Views/Accounts/ClientBalances/MyReport.aspx
and I want a url like http://myapp/Accounts/ClientBalances/MyReport . How do you achieve this with matching routes? I had bash, but I do not really understand them. I thought it would be along the line
routes.MapRoute( _ "Accounts/ClientBalances", _ "Accounts/ClientBalances/{controller}/{action}/{id}", _ New With {.controller = "Home", .action = "Index", .id = ""} _ )
I was not lucky. Any ideas?
asp.net-mvc-routing
Kezzer
source share