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 ...
Get Enterprise Application Development with C# 9 and .NET 5 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.