MVC3 Subdomain Routing Issue
问题 Hello I want to build a MVC3 app, which can handle simple and subdomain request. The problem is with the Routing setup, and generation of correct paths inside native mvc3 Html extensions ( ActionLinks, Url.Content, Html.BeginForm, Ajax.BeginForm ) So.. I have the following structure: myDomain.com // HomeController | Bar.myDomain.com <------|-------> Foo.myDomain.com // BarController // FooController The HomeController , is mapped to myDomain.com whose routes should look like: myDomain.com //