C#C
C#4y ago
Pokey

❔ Convert relative URI string to route

Is it possible to take a relative URI string, for example /Api/RetrieveById/1?search=hello and split it into:

Controller: Api
Action: RetrieveById
RouteValues: id = 1, Search = "hello"
Was this page helpful?