Dos and Don'ts for Serverless and Azure Functions
summary
Practical serverless rules for Azure Functions: use function app = unit of deployment and scale, prefer bindings (Cosmos DB example) over manual SDK glue, install extensions via NuGet, and hook Application Insights for observability. Reuse heavy clients (for example reuse HTTPClient as a singleton or a static SQL client) to avoid socket exhaustion. A home doorbell prototype runs for ~$4/month versus an $80 VM; load testing shows automatic scale to nine instances ~500 req/s. Use durable functions replay orchestrator for long-running, stateful workflows and fan‑out patterns.
AI-written summary · about
chapters (51)
- 0:00Introduction
- 1:17What are Azure Functions
- 2:17What is Serverless
- 3:11What is a Service Platform
- 4:10What is an Event Grid
- 5:15Examples
- 8:21Demo
- 11:41Functions App
- 12:27Triggers
- 12:53Bindings
- 14:33Editor Recommendations
- 16:44Create a new function project
- 16:57Runtimes
- 17:21Visual Studio
- 17:36Adding a Function
- 17:48HTTP Triggering
- 18:28Using bindings
- 19:29Integrations
- 19:56Connection String
- 20:39Cosmos DB
- 21:12Local Environment Variable
- 21:56Running the Code
- 22:37Send a Request
- 23:56Top 5 Examples
- 26:08Use Case Carl Zeiss
- 26:45Advanced Tips
- 27:04Instances and Resources
- 27:15View Solution Explorer
- 27:39Application Insight
- 27:57Load Testing
- 28:18Live Monitoring
- 29:57Save Computer
- 30:08Add Instances
- 30:32Parallel Instances
- 31:18Var sequelClient
- 31:46Monitoring solution
- 32:03Private static sequel client
- 33:05Reusing resources
- 33:50Scale
- 37:19Flexibility
- 37:33Consumption Functions
- 38:57Azure Functions on IoT Devices
- 39:18Azure Durable Functions
- 43:38Pattern Functions Demo
- 46:38Status Endpoint
- 48:08Durable Function Behind the Scenes
- 48:45Orchestration
- 49:19Activity Functions
- 52:11Logic Apps vs Durable
- 53:44Wrapup
- 58:51Exceptions
related talks
43mServerless Application Development using
54mDeveloper Fundamentals of Serverless NET Development with Azure Durable Functions
51mServerless – are you ready for the revolution?
01h 00mServerless Trends of the Season
46mDeveloper Fundamentals of Serverless.NET Development with Azure Durable Functions
39mIntroducing Azure Functions for serverless .NET
59mAzure Serverless for JavaScript TypeScript Folks
01h 02mExploring Serverless Options for .NET in Azure, AWS, and Beyond
