Swagger UI on Service Fabric with Stateless ASP.NET Core WebAPI

I just found that I needed to add the following NuGet package in order to get this to work: Microsoft.AspNetCore.StaticFiles I was using a vanilla configuration in my code where I setup swagger endpoint: And where I setup Swagger UI… Before I installed this package I was getting an HTTP error 500 from http://localhost:8308/swagger and … Continue reading Swagger UI on Service Fabric with Stateless ASP.NET Core WebAPI

Advertisement

Swagger UI authentication with Azure AD B2C on Service Fabric .NET Core

I’ve been trying to figure out how to enable authentication on Swagger UI setup on an ASP.NET Core API hosted on Service Fabric (currently hosted locally). I initially setup the Service Fabric project using the wizard and immediately connected it with an application in my Azure AD B2C tenant. This appears to work but when … Continue reading Swagger UI authentication with Azure AD B2C on Service Fabric .NET Core