Skip to content

Commit 0653db0

Browse files
authored
Merge pull request #89216 from craigshoemaker/patch-2
Add warning
2 parents f69f608 + 6ffbb46 commit 0653db0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/azure-functions/functions-dotnet-dependency-injection.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,9 @@ public class HttpTrigger
193193

194194
Refer to [Options pattern in ASP.NET Core](https://docs.microsoft.com/aspnet/core/fundamentals/configuration/options) for more details regarding working with options.
195195

196+
> [!WARNING]
197+
> Avoid attempting to read values from files like *local.settings.json* or *appsettings.{environment}.json* on the Consumption plan. Values read from these files related to trigger connections aren't available as the app scales because the hosting infrastructure has no access to the configuration information.
198+
196199
## Next steps
197200

198201
For more information, see the following resources:

0 commit comments

Comments
 (0)