Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/cecilphillip/yarp-samples
- Owner: cecilphillip
- Created: 2020-05-25T01:41:36.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-20T22:52:47.000Z (6 months ago)
- Last Synced: 2024-05-21T00:50:37.048Z (6 months ago)
- Topics: aspnetcore, docker, docker-compose, dotnet, reverse, yarp
- Language: C#
- Homepage:
- Size: 73.2 KB
- Stars: 31
- Watchers: 5
- 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