-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
✔️ Resolution: By DesignResolved because the behavior in this issue is the intended design.Resolved because the behavior in this issue is the intended design.
Description
It looks like IOptionsSnapshot
with reloadOnChange: true
set on HostBuilder
is not updating the options value when the appsettings.json content changes.
This behavior works fine on WebHost
. As far as my understanding IOptionsSnapshot
gets generated as Scoped
in WebHost
for each call. However this doesn't apply to HostBuilder
since there is no outside caller exist.
We should be able to detect setting changes and I would like you to consider this issue as a feature request.
Thanks in advance
MeansBanking
Metadata
Metadata
Assignees
Labels
✔️ Resolution: By DesignResolved because the behavior in this issue is the intended design.Resolved because the behavior in this issue is the intended design.