i can open a page (view) in browser using the address http://localhost:1234/Home/Details/id
What settings i need in global.cs so i can open the same page using
http://localhost:1234/Details/id
i can open a page (view) in browser using the address http://localhost:1234/Home/Details/id What settings
Share
You have to create a new URL Route:
http://weblogs.asp.net/scottgu/archive/2007/12/03/asp-net-mvc-framework-part-2-url-routing.aspx
Didn’t tried it, but something like this:
It has to be bevore the default route