Host Multiple Domains with the same ASP.NET MVC app?

后端 未结 2 1993
谎友^
谎友^ 2021-01-12 19:33

I want to host multiple web sites (all with different domains - not sub domains) with the same ASP.NET MVC app. I need the app to act differently based off the domain, but

2条回答
  •  隐瞒了意图╮
    2021-01-12 19:54

    ASP.NET MVC Domain Routing demonstrates one possible way to control ASP.Net MVC application behavior based on the domain name that was used to reach your site.

提交回复
热议问题