Sieve
Sieve copied to clipboard
Use IOptionsSnapshot instead of IOptions
I think it would be reasonable to use IOptionsSnapshot
instead of IOptions
to be able to change configuration without the need to restart the server.
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/options?view=aspnetcore-2.1#reload-configuration-data-with-ioptionssnapshot