Domain in Azure Front Door:www.foobar.com
Azure Web Apps:foobar-web
foobar-api
I would like to be abl
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.
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>foobar_web</RootNamespace>
<AspNetCoreHostingModel>OutOfProcess</AspNetCoreHostingModel>
<AspNetCoreModuleName>AspNetCoreModule</AspNetCoreModuleName>
</PropertyGroup>
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