How to parse a url string using mvc2 routes
Posted
by Lavinski
on Stack Overflow
See other posts from Stack Overflow
or by Lavinski
Published on 2010-05-19T03:17:53Z
Indexed on
2010/05/19
3:20 UTC
Read the original article
Hit count: 309
If I have a url http://www.site.com/controllerA/actionB/idC
how can i extract the RouteValueDictionary where the item with the key controller would have the value of controllerA.
Note this isn't for testing so I don't want to use mocking and the solution here does not seem to be working.
© Stack Overflow or respective owner