Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cecilphillip/yarp-samples

Samples for setting up YARP and HTTP APIs
https://github.com/cecilphillip/yarp-samples

aspnetcore docker docker-compose dotnet reverse yarp

Last synced: 7 days ago
JSON representation

Samples for setting up YARP and HTTP APIs

Awesome Lists containing this project

README

        

# Messing around with [Yarp](https://github.com/microsoft/reverse-proxy)

## Requirements
- [Docker Desktop](https://www.docker.com/products/docker-desktop/)
- [.NET 8](https://get.dot.net)

## Scenarios
- [Web API Proxying](src/ApiProxySamples) - Routes requests between different Web APIs based on request path.
- [Load Balancing](src/LoadBalancingProxySamples) - Routes requests between two instances of the same service.
- [Code Configuration](src/CodeConfigSample) - InMemoryConfigProvider that refreshes configuration using [Consul](https://www.consul.io).
- [Code Configuration w/ Aspire](src/ConsulConfigAspire/) - Same as above with but using Aspire instead of Docker Compose