Chris Ayers

Camp Counselor

.NET Configuration In Depth

Event Logo

Tuesday, July 25, 2023 - 9:00 PM UTC, for 1 hour.

AT THAT (In-Person Only) Regular, 60 minute presentation

Room: African 60

configuration
dotnet
c#

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
favorited by:
Robert Derman Dan Willman James McCollum Matthew Ives Derek Mulhausen