- Create a Blazor Webassembly Project template (version 3.2.0, Asp.net core hosted)
- Create an Xunit test project.
- Create a WebApplicationFactory and use a generated client to fetch the root url "/" and ensure success (status code 200)
- Execute the test and see it succeed.
- Now add Docker Support (Linux) to the BlazorApp1.Server project.
- The test will fail now. Root url responds with 404.
Removing the package reference solves the problem:
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.10.9" />
But then the docker support is gone.
Please confirm.
Here is the broken solution: https://github.com/timmi-on-rails/grpc/raw/master/docker-BlazorApp1.zip