-
|
Hello, I've got a scenario where I'm using I've wired in an The issue I'm experiencing is both the configure and validate implementations get called twice, and if I change any of the setting values in the first call to configure, it resets on the second call. Is this expected? I would have thought he validate and configure would run once, both on startup. Here is a cutdown sample that illustrates my point: Simple And my GreetingSettings.cs file complete with validateoptions and configureoptions implementations: Any suggestions on how to fix this? Many thanks in advance, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
Sorry, I can't transfer this discussion to the aspnetcore repo, so I'll just mark this as answered and copy to there. Apologies. |
Beta Was this translation helpful? Give feedback.
-
|
https://ingomoney.com/developer-blog/net-core-options-pattern-for-live-reload-settings/ |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Sorry, I can't transfer this discussion to the aspnetcore repo, so I'll just mark this as answered and copy to there. Apologies.