How to handle different environments in a C# repo?
I have a github repo that has 3 different environments (dev, preprod, prod), and the difference is mainly in my appsettings.json file where different environment has different configuration. How is this handled these days? I know how I can make it work, but I want to know what's the best way of having separate configurations for separate environments?
2 Replies
Most basic solution is just
appsettings.Development.json
etc
Where you put the env specific stuff in its own file
Still, you need a place to store your secrets. Key Vault etcUnknown User•10mo ago
Message Not Public
Sign In & Join Server To View