Simple question:
How do I match a string in the MVC3 routing system?
Example:
{sub}.domain.com/{contoller}/{action}/{id}
sub = [Match any string here]
Simple question:
How do I match a string in the MVC3 routing system?
Example:
{sub}.domain.com/{contoller}/{action}/{id}
sub = [Match any string here]
Looks like your question has been answered here.
Basically, to get to the {subdomain}.domain.com, the normal route handler won't look there, but you can create your own custom Route class which does, and register it in your Global.asax Application_Start().