Azure Front Door Is Not Maintaining Custom Domain in Browser

后端 未结 1 678
别那么骄傲
别那么骄傲 2020-12-06 23:21

Domain in Azure Front Door:
www.foobar.com

Azure Web Apps:
foobar-web
foobar-api

I would like to be abl

1条回答
  •  难免孤独
    2020-12-07 00:01

    Newest

    The API routing rules for APIs require you to define your own in the project. The examples shown here are only sample code.

    My settings in front door.

    PRIVIOUS

    After my testing, I used Virtual applications to fulfill your needs.

    The screenshot below is my project structure.

    Before you deploy your app, you need to modify .csproj file. Generally, you just need to modify foobar-api project, if deploy failed you can modify both two projects.

    
        netcoreapp3.1
        foobar_web
        OutOfProcess
        AspNetCoreModule
    
    

    Then you can deploy it, I create test/aa in foobar-api project.

    Web page

    Index of Virtual applications

    Api test in Virtual applications

    After creating the front door service, after the configuration is complete.

    Web

    Api

    0 讨论(0)
提交回复
热议问题