How to host multiple .NET Core apps under same url

后端 未结 6 758
南旧
南旧 2020-12-31 07:21

I am building a few web sites in asp.net core (multiple user interface applications and a web api app). They all work together, utilising the web api. For the purpose of m

6条回答
  •  粉色の甜心
    2020-12-31 07:40

    For IIS, you can use Application Request Routing (ARR) which combine with URL rewrite module to routing request into each the association between URL port. It is used to build a similar proxy like Nginx and point to an appropriate port following each pattern of the URL. You can see a sample with ARR below:

    https://www.iis.net/learn/extensions/url-rewrite-module/reverse-proxy-with-url-rewrite-v2-and-application-request-routing

提交回复
热议问题