The Core of NET

T06 .NET Configuration In Depth

03/11/2025

9:30am - 10:45am

Level: Intermediate to Advanced

Chris Ayers

Senior Customer Engineer

Microsoft

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

You will learn:

  • Configuration providers
  • The Options Pattern
  • Strongly typed configuration