返回 Skill 列表
extension
分类: 开发与工程无需 API Key

azure-functions

Azure Functions开发的专家模式,包括隔离工作器模型、持久函数编排、冷启动优化以及生产模式。涵盖了.NET、Python和Node.js编程模型。使用场景:azure function, azure functions, durable functions, azure serverless, function app.

person作者: jakexiaohubgithub

Azure Functions

Patterns

Isolated Worker Model (.NET)

Modern .NET execution model with process isolation

Node.js v4 Programming Model

Modern code-centric approach for TypeScript/JavaScript

Python v2 Programming Model

Decorator-based approach for Python functions

Anti-Patterns

❌ Blocking Async Calls

❌ New HttpClient Per Request

❌ In-Process Model for New Projects

⚠️ Sharp Edges

| Issue | Severity | Solution | |-------|----------|----------| | Issue | high | ## Use async pattern with Durable Functions | | Issue | high | ## Use IHttpClientFactory (Recommended) | | Issue | high | ## Always use async/await | | Issue | medium | ## Configure maximum timeout (Consumption) | | Issue | high | ## Use isolated worker for new projects | | Issue | medium | ## Configure Application Insights properly | | Issue | medium | ## Check extension bundle (most common) | | Issue | medium | ## Add warmup trigger to initialize your code |