views:

30

answers:

2

Hi, As i read about url routing from : http://www.codethinked.com/post/2008/08/20/Exploring-SystemWebRouting.aspx

I found , "Each url coming into the application will be matched against the list of Routes that you have defined, and if one matches then it will be used"

Is this means we can define our own patterns of urls? except "Controller//Action//ID" ?

+1  A: 

Is this means we can define our own patterns of urls? except "Controller//Action//ID" ?

Yes you can, search for Routes / RouteCollection and you should find plenty of info.

Also that default route is defined in your code, see the global.asax in the default asp.net mvc site you get when creating a new project.

eglasius