Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

65 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Azure Functions Cookbook - Version 2.0

.NET 8 Azure Functions MIT License PRs Welcome

⚠️ IMPORTANT: The current active development and updated .NET 8 Isolated Worker examples are on the AzureFuncitionsCookbook-v2 branch. Please make sure you are using this branch!

A community-driven collection of practical Azure Functions examples built with .NET 8 Isolated Worker.

This repository was created to help developers learn Azure Functions through practical, production-inspired examples. Whether you're just getting started or looking for a quick reference, you'll find organized and ready-to-run samples covering the most common Azure Functions scenarios.


πŸ“‘ Table of Contents


⚑ What are Azure Functions?

New to Serverless or the Isolated Worker Model?

Azure Functions is a serverless compute service that enables you to run event-driven code on-demand without having to explicitly provision or manage infrastructure.

πŸ‘‰ Learn the core concepts and why we use the .NET 8 Isolated Worker Model in our Wiki!


πŸš€ Getting Started (Local Setup)

Want to run these examples on your machine? It's easier than you think!

We have prepared a complete, step-by-step guide showing how to set up your local environment, configure the storage emulator (Azurite), and easily test the functions using our helper console apps.

πŸ‘‰ Check out the Local Setup Guide in our Wiki!
πŸ‘‰ Check out the Complete Blob Storage Pipeline Guide!


πŸ“š Examples

🎯 Triggers

  • βœ… HTTP Trigger
  • βœ… Timer Trigger
  • βœ… Azure Storage Queue Trigger
  • βœ… Blob Storage Trigger
  • βœ… Azure Service Bus Trigger
  • βœ… Event Hub Trigger
  • βœ… Event Grid Trigger
  • βœ… Cosmos DB Trigger
  • βœ… Kafka Trigger
  • 🚧 Durable Functions

πŸ”— Bindings (Input & Output)

  • βœ… Blob Storage (Input & Output Bindings)
  • βœ… Queue Storage (Output Binding)

πŸ› οΈ Helper Apps (Event Producers)

  • βœ… BlobUploader: A console app to inject test files into Blob Storage.
  • βœ… QueueUploader: A console app to send test messages to Queue Storage.

🎯 Goals

This project aims to provide high-quality Azure Functions examples for: a Each example focuses on:

  • Clean Code
  • Best Practices
  • Real-world Scenarios
  • Easy to Understand
  • Ready-to-run Samples

πŸ› οΈ Technologies

  • .NET 8 (Isolated Worker Model)
  • Azure Storage (Blob & Queue)
  • Azure Service Bus
  • Azure Event Hub
  • Azure Event Grid
  • Azure Cosmos DB
  • Apache Kafka
  • Durable Functions

πŸ“‚ Project Structure

πŸ“¦ Workspace
β”‚
β”œβ”€β”€ πŸ“‚ AzureFunctionsCookbook (Main Azure Functions API)
β”‚   β”œβ”€β”€ πŸ“‚ Bindings
β”‚   β”‚   β”œβ”€β”€ πŸ“‚ Blob
β”‚   β”‚   └── πŸ“‚ Queue
β”‚   └── πŸ“‚ Triggers
β”‚       β”œβ”€β”€ πŸ“‚ Blob
β”‚       β”œβ”€β”€ πŸ“‚ CosmosDB
β”‚       β”œβ”€β”€ πŸ“‚ Durable
β”‚       β”œβ”€β”€ πŸ“‚ EventGrid
β”‚       β”œβ”€β”€ πŸ“‚ EventHub
β”‚       β”œβ”€β”€ πŸ“‚ Http
β”‚       β”œβ”€β”€ πŸ“‚ Kafka
β”‚       β”œβ”€β”€ πŸ“‚ Queue
β”‚       β”œβ”€β”€ πŸ“‚ ServiceBus
β”‚       └── πŸ“‚ Timer
β”‚
β”œβ”€β”€ πŸ“‚ BlobUploader (Console App for Blob testing)
β”œβ”€β”€ πŸ“‚ QueueUploader (Console App for Queue testing)
└── πŸ“‚ Wiki (Documentation and Guides)


πŸš€ Roadmap

Upcoming implementations and examples:

  • Dependency Injection
  • Advanced Configuration
  • Logging Best Practices
  • Security & Authentication
  • Unit and Integration Testing
  • CI/CD Pipelines (GitHub Actions & Azure DevOps)
  • Monitoring with Application Insights
  • Real-world Scenarios (End-to-End integrations)

🀝 Contributing

Contributions are always welcome!

If you'd like to contribute to this repository, feel free to browse the Issues section and pick one that interests you.

You can contribute by:

  • Adding new Azure Functions examples
  • Improving existing examples
  • Writing documentation
  • Fixing bugs
  • Improving code quality
  • Suggesting new ideas

If you're working on an issue, simply leave a comment so other contributors know it's already in progress. Every contribution, regardless of its size, is greatly appreciated.


πŸ“‹ Looking for your first contribution?

Check out the Issues page!

Many issues are suitable for first-time contributors and are a great way to get involved with the project. Don't see something you'd like to work on? Feel free to open a new issue with your suggestion!


⭐ Support the Project

If this repository helped you, please consider giving it a ⭐.

Your support helps the project reach more developers and encourages future improvements.


πŸ‘¨β€πŸ’» Author

Created and maintained by Gabriel Campos

πŸ™ GitHub: gabrielcamposdeveloper

Feel free to explore my other repositories and connect with me.

About

πŸš€ A community-driven collection of practical Azure Functions examples built with .NET 8 (Isolated Worker). Explore triggers, bindings, Durable Functions, Azure integrations, best practices, and real-world scenarios through clean, ready-to-run code.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages