Arcus Azure Project Templates
website·Indexed 32 days ago
https://templates.arcus-azure.net/A collection of .NET project templates for Azure, including Web API, Azure Functions (HTTP, EventHubs, Service Bus Queue, and Service Bus Topic triggers), and worker templates for Azure EventHubs and Azure Service Bus. Includes guidance on using templates in Visual Studio.
What's inside Arcus Azure
- Arcus provides a set of .NET project templates designed to kickstart development by incorporating best practices and boilerplate code. These templates integrate multiple Arcus libraries that work together to provide features such as background jobs, messaging, security, and telemetry tracking.
Overview of Arcus Azure Functions Service Bus Queue template features
v1.1.0The Arcus Azure Functions Service Bus Queue Trigger template (v1.1.0) generates a starter worker project that includes the following by default:
- Arcus secret store integration configured with the Azure Key Vault secret provider.
- Serilog logging configured with default version and application enrichers, sinking to Application Insights.
- A pre-configured Dockerfile for containerization.
Overview of Arcus .NET project templates
v1.1.0Arcus provides a suite of .NET project templates designed to kickstart development by incorporating industry best practices and boilerplate code. These templates integrate multiple Arcus libraries that work together to provide features such as background jobs, messaging, security, and telemetry tracking.Overview of Arcus .NET Project Templates
Arcus provides a suite of .NET project templates designed to kickstart development by incorporating industry best practices and boilerplate code. These templates integrate multiple Arcus libraries that work together to provide functionality for background jobs, messaging, security features, and telemetry tracking.Available Arcus project templates
v0.8.0Arcus Templates (v0.8.0) provides a variety of project templates categorized by trigger or service type:
- Azure Service Bus: Includes Worker templates for Queues and Topics, as well as Azure Functions triggers for Queues and Topics.
- HTTP: Includes Web API and Azure Functions HTTP Trigger templates.
- Other: Includes an Azure Functions template for Databricks Job Metrics.
Default features of the Arcus Web API Project Template
By default, the Arcus Web API template (v2.0.0) includes the following pre-configured features:
- Secret Management: Arcus secret store integrated with Azure Key Vault.
- Configuration: Application configuration via environment variables.
- Health Checks: Basic health endpoint using ASP.NET Core health checks with OpenAPI support.
- Observability: HTTP request tracking (excluding root route
/), HTTP correlation, and Serilog integration with Application Insights. - Error Handling: Global exception handling.
- API Documentation: Swagger OpenAPI setup.
- Infrastructure: Docker build file and default JSON serialization.
Security defaults in Arcus Web API template
v0.7For security purposes, the Arcus Web API template automatically removes theServerHTTP header to prevent leaking information about the Web API runtime.Features of the Arcus Azure Functions HTTP Trigger template
v0.5The
arcus-az-func-httptemplate provides a starter worker project with the following pre-configured capabilities:- HTTP Correlation: Integrated request correlation tracking.
- Content Validation: Restricts request content and headers to JSON, including JSON parsing with data model annotation validation.
- Secret Management: Arcus secret store configured with the Azure Key Vault secret provider.
- Logging: Serilog integration sinking to Application Insights, including default enrichers for version, application, and correlation.
- Error Handling: General exception handling that returns a 500 Internal Server Error.
- Security: Automatically removes the
ServerHTTP header to hide web runtime information.
Default features of the Arcus Azure Functions EventHubs template
v1.0.0By default, the
arcus-az-func-eventhubstemplate generates a starter worker project that includes:- Arcus secret store configured with the Azure Key Vault secret provider.
- Serilog logging with default version and application enrichers, configured to sink to Application Insights.
- A pre-configured Dockerfile.
Security defaults for Arcus Web API template
v0.6To improve security, the Arcus Web API template automatically removes theServerHTTP header to prevent leaking information about the Web API runtime.Default features of the Arcus Azure Functions HTTP Trigger template
The template creates a starter worker project with the following pre-configured features:
- Secret Store: Arcus secret store setup using Azure Key Vault secret provider.
- Logging: Serilog configured with version, application, and correlation enrichers, sinking to Application Insights.
- Example HTTP Trigger: An 'order' trigger featuring:
- HTTP correlation.
- JSON content restriction and parsing with data model annotation validation.
- General exception handling (returns 500 Internal Server Error).
- OpenAPI docs generation and UI.
- A Dockerfile.
- Security: The
ServerHTTP header is automatically removed to hide web runtime information.
Default features of the Arcus Azure Functions HTTP Trigger template
v1.0.0The
arcus-az-func-httptemplate provides a starter worker project with the following pre-configured features:- Secret Store: Integrated with Azure Key Vault secret provider.
- Logging: Serilog configured with version, application, and correlation enrichers, sinking to Application Insights.
- Example HTTP Trigger: An 'order' trigger including:
- HTTP correlation.
- JSON content restriction and parsing with data model annotation validation.
- General exception handling (returning 500 Internal Server Error).
- OpenAPI documentation generation and UI.