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: 10 months ago
JSON representation
Samples for setting up YARP and HTTP APIs
- Host: GitHub
- URL: https://github.com/cecilphillip/yarp-samples
- Owner: cecilphillip
- Created: 2020-05-25T01:41:36.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-02T03:44:44.000Z (over 1 year ago)
- Last Synced: 2025-03-30T06:03:26.655Z (11 months ago)
- Topics: aspnetcore, docker, docker-compose, dotnet, reverse, yarp
- Language: C#
- Homepage:
- Size: 91.8 KB
- Stars: 38
- Watchers: 4
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: Readme.md
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