Skip to content

.NET Core Consul Service Discovery & Leader Election

Notifications You must be signed in to change notification settings

nieuwo/dotnet-consul-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.NET Core 3 & Consul Service Discovery & Leader Election

A .NET Core Web API that registers itself with Consul on startup via Traefik and implements a leader election pattern for HA instances spread across DCs. All components run in Docker.

Usage

Create containers:
docker-compose up -d