You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.
reloadOnChange parameter on the AddJsonFile method has no effect on the strongly typed configuration IOptions<> and only IConfigurationRoot is automatically updated whenever the underlying appsettings.json file changes. In ASP.NET Core 1.1.0 IOptionsSnapshot<> has the same behavior. More info
ASP.NET Core Identity uses IOptions<> everywhere. so it would ne nice to replace IOptions<> with IOptionsSnapshot<> in this framework.
The text was updated successfully, but these errors were encountered:
What is the point of IOptions<>? I fully expected the reason for it's existence being the reloading ability. Why was IOptionsSnapshot<> created instead and what use is IOptions<> anymore? Why not just register the options type directly?
reloadOnChange
parameter on theAddJsonFile
method has no effect on the strongly typed configurationIOptions<>
and onlyIConfigurationRoot
is automatically updated whenever the underlyingappsettings.json
file changes. In ASP.NET Core 1.1.0IOptionsSnapshot<>
has the same behavior.More info
ASP.NET Core Identity uses
IOptions<>
everywhere. so it would ne nice to replaceIOptions<>
withIOptionsSnapshot<>
in this framework.The text was updated successfully, but these errors were encountered: