Messing around with Yarp

November 21, 2023 ยท View on GitHub

Requirements

  • Docker Desktop
  • .NET 8

Scenarios

  • Web API Proxying - Routes requests between different Web APIs based on request path.
  • Load Balancing - Routes requests between two instances of the same service.
  • Code Configuration - InMemoryConfigProvider that refreshes configuration using Consul.
  • Code Configuration w/ Aspire - Same as above with but using Aspire instead of Docker Compose

Contents

  1. 1Requirements
  2. 2Scenarios