.NET Core Swagger security trimming of end points in ASP.NET Core application TLTR; If you need to hide endpoints in Swagger UI based on authorization token, here is the repository [https://github.com/jenyayel/SwaggerSecurityTrimming] with demo for .NET Core app. The relevant parts are passing HTTP header [https://github.com/jenyayel/SwaggerSecurityTrimming/blob/master/src/
.NET Core Running ASP.NET Core in Heroku After running relatively critical application in multiple environments (staging and production) for a few months and building another one, I'm confident with saying it is possible and reasonable to run .NET Core app in Heroku. The Why While probably the most natural cloud environment