Chapter 6: Configuration in .NET Core
A configuration in .NET 5 comprises the default settings as well as the runtime settings for your application; a configuration is a very powerful feature. We can update settings such as feature flags to enable or disable features, dependent service endpoints, database connection strings, logging levels, and much more, and control application behavior at runtime without recompilation.
In this chapter, we will cover the following topics:
- Understanding configuration
- Leveraging built-in configuration providers
- Building a custom configuration provider
By the end of this chapter, you'll have a good grasp of configuration concepts, configuration providers, and how to leverage them in your projects, as well as being able to identify the configurations and configuration sources that are appropriate for your applications.