Skip to content

Commit 295f6d8

Browse files
Merge pull request #230435 from zhenlan/106320
Add a note that `IOptions<T>` shouldn't be used for dynamic configuration
2 parents 0aba678 + 72690c1 commit 295f6d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-app-configuration/enable-dynamic-configuration-aspnet-core.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ A *sentinel key* is a key that you update after you complete the change of all o
187187
```
188188
---
189189

190-
You've set up your app to use the [options pattern in ASP.NET Core](/aspnet/core/fundamentals/configuration/options) during the quickstart. When the underlying configuration of your app is updated from App Configuration, your strongly typed `Settings` object obtained via `IOptionsSnapshot<T>` is updated automatically.
190+
You've set up your app to use the [options pattern in ASP.NET Core](/aspnet/core/fundamentals/configuration/options) during the quickstart. When the underlying configuration of your app is updated from App Configuration, your strongly typed `Settings` object obtained via `IOptionsSnapshot<T>` is updated automatically. Note that you shouldn't use the `IOptions<T>` if dynamic configuration update is desired because it doesn't read configuration data after the app has started.
191191

192192
## Request-driven configuration refresh
193193

0 commit comments

Comments
 (0)