You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it is very useful to add ability to load configuration from file in Ioc, Some of values of this features
We can change configuration without needing recompile application.
In this scenario we can create multiple config set in multiple files and load them in specific situation without needing to recompile application.
We can change app behavior in runtime (or in deployment) without needing to reinstall app.
API Proposal
namespaceMicrosoft.Extensions.DependencyInjection{/// <summary>/// Extension methods for adding services to an <see cref="IServiceCollection" />./// </summary>publicstaticclassServiceCollectionServiceExtensions{publicstaticIServiceCollectionAddFromConfig(thisIServiceCollectionservices,IConfigurationSectionconfig){}}
Background and motivation
ITNOA
I think it is very useful to add ability to load configuration from file in Ioc, Some of values of this features
API Proposal
API Usage
Alternative Designs
Risks
No response
The text was updated successfully, but these errors were encountered: