Closed CodyWanless closed 3 years ago
Tagging subscribers to this area: @maryamariyan, @safern See info in area-owners.md if you want to be subscribed.
KeyPerFileConfigurationProvider
is in the aspnetcore repo
@CodyWanless Are you interested in submitting a PR?
@shirhatti sure! I'd be happy to take this. I'll have that opened in the aspnetcore repo today sometime.
Thanks for contacting us.
We're moving this issue to the Next sprint planning
milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s).
If we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues.
To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.
Hi, is the mentioned PR going to be back ported to 5.0 release?
Describe the bug
KeyPerFileConfigurationProvider isn't propagating reload events through the reload token. When used in conjunction with IConfiguration, any handlers setup to respond to changes on
config.GetReloadToken()
are never triggered.I believe
OnReload
just needs to be invoked afterData
is set here, here, and here.To Reproduce
Using file explorer or the vehicle of your choosing - creating, removing, or updating any files setup under directory never trigger the task to complete, leaving this hanging indefinitely.
Exceptions (if any)
Further technical details
dotnet --info