Azure Service Bus Queue Worker Project Template
Create Your First Arcus Azure Service Bus Queue Worker Project
First, install the template from NuGet:
> dotnet new install Arcus.Templates.ServiceBus.Queue
When installed, the template can be created with shortname: arcus-servicebus-queue
:
> dotnet new arcus-servicebus-queue --name Arcus.Demo.ServiceBus.Queue
Features
Creates a starter worker project with by default configured:
- TCP health check probe (official docs & Arcus docs).
- Empty message pump on Azure Service Bus Queue (official docs)
- Dockerfile.
Configuration
And additional features available with options:
-es|--exclude-serilog
: Exclude the Serilog logging infrastructure in the worker project which includes default enrichers (version and application), and sinking to Application Insights.