CLI Cheatsheet¶
Quick command reference for .NET isolated worker development, deployment, and operations.
flowchart TD
A[Configuration] --> B[Build]
B --> C[Deploy]
C --> D[Observe] Topic/Command Groups¶
Project setup and local run¶
func init MyProject --worker-runtime dotnet-isolated
cd MyProject
func new --template "HTTP trigger" --name HttpFunction
dotnet build
func start
Deployment¶
dotnet publish --configuration Release --output ./publish
func azure functionapp publish "$APP_NAME"
az functionapp create --name "$APP_NAME" --resource-group "$RG" --storage-account "$STORAGE_NAME" --runtime dotnet-isolated --runtime-version 8 --functions-version 4 --os-type Linux
Operations¶
az functionapp config appsettings list --name "$APP_NAME" --resource-group "$RG"
az functionapp log tail --name "$APP_NAME" --resource-group "$RG"
az functionapp restart --name "$APP_NAME" --resource-group "$RG"