Skip to content

azooinmyluggage/azure-voting-app-dotnet

 
 

Repository files navigation

Azure Voting App (.NET)

This sample is the .NET implementation of the official Azure Voting App. This sample creates a multi-container application in a Kubernetes cluster like the original one.

The application interface is built using ASP.NET Core Blazor Server. The data component uses Redis.

This sample also includes the following features:

  1. Instrumented to produce OpenTelemetry traces and export the traces to the console.
  2. Request to GET /traced-exception endpoint will throw an exception. It shows how unhandled exceptions are logged in the active OpenTelemtry span.
  3. Instrumented to emit built-in .NET metrics and custom metrics with prometheus-net. The metrics are available on the /metrics endpoint in the OpenMetrics format.
  4. Deployment with Helm, Kubernetes manifest, or Docker compose.

Demo

Demo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 50.4%
  • HTML 27.0%
  • CSS 10.7%
  • Mustache 8.1%
  • Dockerfile 3.8%