.NET Configuration In Depth
Working as a consultant, something I often saw was teams moving from .NET Framework to .NET Core and .NET 5/6. As they adopted these new versions, they kept similar patterns and libraries. The teams weren't taking full advantage of the improvements in .NET. One of those areas is Configuration. Configuration holds our secrets, connection strings, application settings, and other data. We have checked it in, stored it in a web config and transformed it in a pipeline. Today there are a variety of ways to configure our applications securely. This session will cover: Strongly typed configuration Configuration providers - JSON - XML - INI files - Environment variables - Command Line - Azure App Config - Key Vault Dependency Injection The Options Pattern
Take Aways
- Configuration in .NET
- Environmental Variables
- JSON Configuration