Azure Service Bus Topic Worker Project Template
Create Your First Arcus Azure Service Bus Topic Worker Project
First, install the template from NuGet:
> dotnet new --install Arcus.Templates.ServiceBus.Topic
When installed, the template can be created with shortname: arcus-servicebus-topic
:
> dotnet new arcus-servicebus-topic --name Arcus.Demo.ServiceBus.Topic
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 Topic (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.