AllMight
AllMight
CC#
Created by AllMight on 11/14/2023 in #help
Correct environments handling (appSettings.json)
We are using azure DevOps and I wondered what's the best way to handle environments. Option 1: keep multiple app settings files for every environment and set on build the environment variable. Option 2: use azure DevOps file replacement and use only one release configuration. Both ways seems a bit weird. I want from one side to use the ASPNETCORE_ENVIRONMENT but also keep the variables in azure DevOps per environment and it seems they don't really work together. Any suggestions what's the best way?
5 replies
CC#
Created by AllMight on 11/9/2023 in #help
❔ Swashbuckle remove SwaggerDoc
I have two swagger docs and I want one of them to be entirely removed (from the drop down too) based on user roles. With document filter I can remove all operations but I can't find a way to remove the doc itself entirely.
4 replies