Blog

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

11 Aug, 2023
Xebia Background Header Wave

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. 

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

Questions?

Get in touch with us to learn more about the subject and related solutions

Explore related posts