Can Areas in an ASP.NET MVC 2 application map to a subdomain?

后端 未结 4 1521
攒了一身酷
攒了一身酷 2021-02-04 03:10

Is there a way to map the Areas within an ASP.NET MVC 2 application to subdomains such as

movies.example.com/Theater/View/2

instead of

4条回答
  •  Happy的楠姐
    2021-02-04 03:20

    I hit upon the same problem and I've built a solution that worked for me, it's in my blog, hopefully it will be of some use to you.

    Cheers Tony

提交回复
热议问题