.Net Core 3.1 SPA React Application doesn't serve Hangfire dashboard / Swagger on production
- 阅读更多 关于 .Net Core 3.1 SPA React Application doesn't serve Hangfire dashboard / Swagger on production
问题 After installing the React app template from .NET Core 3.1 using dotnet new react the application works perfectly in Development and Production. The problem appears when trying to use Swagger or Hangfire dashboard endpoints. After the app is created I add the package reference for Hangfire and for practical purposes the memory storage: <PackageReference Include="Hangfire" Version="1.7.*" /> <PackageReference Include="Hangfire.MemoryStorage" Version="1.7.0" /> In Startup.cs : public void