Reading Environment Variables, AppSettings, LocalSettings, and User Secrets Seamlessly Across Environments in ASP.NET

/ 11 Aug, 2023

With any modern cloud solutions we must protect our sensitive data while still making it readable from various configuration sources seamlessly across all environments from local development up to production. This isn’t really a new issue, but one that has multiple ways to accomplish with some easier than others. 

Allen Conway takes you through an example where a database connection string with sensitive information that needs to work and be read seamlessly in code for local, Dev, QA, Stage, Prod, etc. without a lot of special hooks or handling in code, and the primary ways to handle it locally without compromising security. 

Read More