Skip to content
This repository has been archived by the owner on Nov 7, 2018. It is now read-only.

[Annoucement][Draft] IOptionsSnapshot is now a scoped service #217

Closed
Tratcher opened this issue Jul 18, 2017 · 2 comments
Closed

[Annoucement][Draft] IOptionsSnapshot is now a scoped service #217

Tratcher opened this issue Jul 18, 2017 · 2 comments
Assignees
Labels

Comments

@Tratcher
Copy link
Member

In 1.x IOptionsSnapshot would only reload based on notified changes to its data source (e.g. config). In 2.0 the service is now scoped and reloaded per request instead.

IOptionsMonitor is the replacement.

@Tratcher
Copy link
Member Author

Note the docs also need to be updated. https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration

@aspnet-hello
Copy link

This issue was moved to dotnet/aspnetcore#2390

@aspnet aspnet locked and limited conversation to collaborators Jan 1, 2018
@aspnet-hello aspnet-hello removed this from the 2.1 milestone Jan 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants