An open API service indexing awesome lists of open source software.

https://github.com/jonahandersson/azurebacktoschool2022-azure-durable-functions-dotnet

Azure Durable Functions for .NET 6 Demo Example for Azure Back to School 2022
https://github.com/jonahandersson/azurebacktoschool2022-azure-durable-functions-dotnet

azure-durable-functions-examples azure-functions azure-service-bus azurebacktoschool cscharp dotnet dotnet6 sendgrid-api serverless-in-azure serverlessseptember

Last synced: 4 months ago
JSON representation

Azure Durable Functions for .NET 6 Demo Example for Azure Back to School 2022

Awesome Lists containing this project

README

        

# Azure Durable Functions for .NET Demo Example for Azure Back to School 2022

##### Example Code Demo
### Azure Back to School 2022 by Jonah Anderssson

This is an example demo code for Jonah's community contribution for Azure Back to School 2022 - Azure Durable Functions for .NET Developers by Jonah Andersson

![alt text](https://jonahsstorage.blob.core.windows.net/jcaphotos/AzureDurableFunctions_AzureBacktoSchool2022_Cover.png)
#### Description:

.NET 6.0 example implementation of Azure Durable Functions in .NET 6 using Azure Service Bus Queue Trigger (Durable Functions with Function Chaining Pattern) that is used to receive or retrieve the batch of service bus queue messages. Each queue message received will then be forward by email using SendGrid API

*Note:* .NET 7 is here and it supports Azure Functions too!
If you are interested to learn more about it, check out this Microsoft Developer Blog .NET 7 comes to Azure Functions & Visual Studio 2022

#### Example of Application Pattern - Function Chaining

![alt text](https://jonahsstorage.blob.core.windows.net/jcaphotos/AzureDurableFunctions_FunctionChaininingDotNet.png)

Function Chaining (Start Template) https://github.com/jonahandersson/serverlesslab-azure-durable-functionchaining-template
![image](https://user-images.githubusercontent.com/14919667/188448265-5ac63c28-3613-4208-ba9d-e37c90e8d6af.png)

#### Prerequisites:

- SendGrid API
- Azure Subscription to create Azure Resources
- Azure Service Bus Namespace
- Azure Service Bus Connection Strings/SAS
- Azure Service Bus Queue Name

#### Tools and Packages:

- VS Code or Visual Studio Code
- SDK .NET for .NET 6
- C# Programming Language
- NuGet packages for Newtonsoft.Json, etc.
- Azure Service Bus
- SendGrid
- Azure Functions (Latest Version)
- Azure Functions Core Tools

This demo also relates to another demo to GitHub Repo and #AzureBacktoSchool2022 presentation A Technical Overview of Azure Service Bus Example

#### Recommended Learning References:

- Microsoft Documentation: Azure Durable Functions
- Developer's guide to durable entities in .NET
- What is Azure Service Bus
- Service Bus messaging samples or example
- Azure Functions Documentation
- How to send Emails with C# and .NET 6 using the SendGrid API
- Getting Started with SendGrid API / Twilio
- Serverless Azure Community Library/
- Azure Functions University

#### Contact Author Jonah Andersson for contributions and collaborate to improve this example repo

- Twitter @cjkodare
- LinkedIn Jonah Andersson
- Website: https://jonahandersson.tech