ASP.NET MVC Custom Routing Long Custom Route not Clicking in my Head
- by percent20
I have spent several hours today reading up on doing Custom Routing in ASP.NET MVC. I can understand how to do any type of custom route if it expands from or is similar/smaller than the Default Route. However, I am trying figure out how to do a route similar to:
/Language/{id}/Question/{id}/
And what I would like, too, is similar to how SO works. Something like:
/Language/{id}/Arabic/Question/{ID}/Some-Question-Title
Where "Arabic" and "Some-Question-Title" can be almost anything because what really matters is the ID's
Am I going beyond what can be done with the extended URL past the language ID?