host.json Reference¶
Host-level runtime settings for .NET isolated worker function apps.
flowchart TD
A[Configuration] --> B[Build]
B --> C[Deploy]
C --> D[Observe] Topic/Command Groups¶
Baseline host.json¶
{
"version": "2.0",
"functionTimeout": "00:10:00",
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"maxTelemetryItemsPerSecond": 20
}
}
},
"extensions": {
"http": {
"routePrefix": "api"
},
"queues": {
"batchSize": 16,
"maxDequeueCount": 5
}
}
}
Key settings¶
functionTimeout: execution limit per invocationextensions.http.routePrefix: HTTP route prefixextensions.queues.maxDequeueCount: poison handling threshold
Review Matrix¶
| Review area | Page-specific check |
|---|---|
| Scope | Confirm the guidance applies to host.json Reference. |
| Source basis | Validate the recommendation against the Microsoft Learn sources in this page. |
| Evidence | Capture command output, portal state, metrics, logs, or screenshots before treating the result as proven. |