FromAppSettings improvements #611
marcominerva
started this conversation in
2. Feature requests
Replies: 1 comment
-
Duplicate of #287 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Context / Scenario
The ability to configure KernelMemory using appsettings.json is great, but I think it could be improved.
The problem
Currently, the
FromAppSettings
extension method is available only in the Service project, so if we want to use this feature in our custom projects, we need to manually copy the code.Proposed solution
It would be great to have the
FromAppSettings
extension method as a NuGet package, so that we can use it in every project.To make this feature more general, we could think of a method like
WithConfiguration(IConfiguration source)
:Importance
would be great to have
Beta Was this translation helpful? Give feedback.
All reactions