Skip to main content
Version: v1.1.0

Azure Service Bus Queue Trigger template (Azure Functions)

Create your first Arcus Azure Functions with Azure Service Bus Queue Trigger project

First, install the template from NuGet:

> dotnet new --install Arcus.Templates.AzureFunctions.ServiceBus.Queue

When installed, the template can be created with shortname: arcus-az-func-servicebus-queue:

> dotnet new arcus-az-func-servicebus-queue --name Arcus.Demo.AzureFunctions.ServiceBus.Queue

Features

Creates a starter worker project with by default configured:

  • Arcus secret store setup with Azure Key Vault secret provider (see more info here on what this includes)
  • Serilog as logging mechanism with default enrichers (version, application, sinking to Application Insights.
  • Dockerfile

Configuration

And additional features available with options:

  • --functions-worker: Configures the type of Azure Functions worker type the project should target.
    • isolated (default): Uses the isolated Azure Functions worker type which runs on a different process as the Azure Function
    • inProcess: Uses the in-process Azure Functions worker type which runs on the same process as run Azure Function For more information on the difference between the two, see Microsoft's documentation.
  • --exclude-serilog: Exclude the Serilog logging infrastructure in the Azure Functions project which includes default enrichers (version and application), and sinking to Application Insights.