ASP.NET Core Azure Sevice Bus

user secrets

{
  "ConnectionStrings": {
    "ServiceBusConnectionString": "--your-servicebus-connection--string--"
  }
}

History

2021-07-20 Added IHostedService to consumer the message in the ASP.NET Core app

2021-05-19 Updated to .NET 5, migrated to Azure.Messaging.ServiceBus, switched Json serializer

2020-03-06 Added restricted access example

2019-12-08 Updated to .NET Core 3.1

Links

https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/servicebus/Azure.Messaging.ServiceBus

https://docs.microsoft.com/en-us/azure/service-bus-messaging/

https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-dotnet-get-started-with-queues

https://docs.microsoft.com/en-us/dotnet/standard/microservices-architecture/multi-container-microservice-net-applications/integration-event-based-microservice-communications

https://www.nuget.org/packages/Microsoft.Azure.ServiceBus

https://www.planetgeek.ch/2019/01/07/azure-service-bus-topologies/

https://connectedcircuits.blog/2019/04/24/always-subscribe-to-dead-lettered-messages-in-an-azure-service-bus/

https://www.tomfaltesek.com/azure-functions-local-settings-json-and-source-control/

https://www.ben-morris.com/optimizing-performance-of-the-azure-service-bus-net-standard-sdk/

https://ml-software.ch/posts/stripe-api-with-asp-net-core-part-3

https://www.serverless360.com/blog/auto-forwarding-a-hidden-gem-of-service-bus

https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-tutorial-topics-subscriptions-cli

https://github.com/paolosalvatori/ServiceBusExplorer/

https://docs.microsoft.com/en-us/cli/azure/install-azure-cli