- What is the root interface for retrieving configuration values?
It's IConfiguration. It's where IConfigurationRoot and IConfigurationSection inherit from.
- What are the built-in file-based configuration providers in .NET Core?
JSON, XML, and INI.
- Is it possible to bind configurations to POCO classes out of the box?
Yes, but we need to add the Microsoft.Extensions.Configuration.Binder NuGet package.
- What is the difference between the IOptions<T> and IOptionsSnapshot<T> interfaces?
IOptionsSnapshot<T> gets updated whenever the underlying configuration changes (if we configured it for that), but IOptions<T> always retains the original configured value.
- Do we need to register the...