I need to provide following functionality for one of the web sites.
http://www.example.com/[sponsor]/{controller}/{action}
Depending on the
In addition to adding a second route before the default route, as Sergey said in his answer, you also must add a RouteConstraint
to the initial route, to enforce that the {sponsor}
token is the name of a valid sponsor.
You can use the RouteConstraint in this answer: Asp.Net Custom Routing and custom routing and add category before controller
Remember that you must also enforce a rule that a sponsor name cannot be the same as any of your controller names.