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: about 1 month 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-10-02T03:44:44.000Z (3 months ago)
- Last Synced: 2024-11-09T03:53:21.271Z (about 2 months ago)
- Topics: aspnetcore, docker, docker-compose, dotnet, reverse, yarp
- Language: C#
- Homepage:
- Size: 91.8 KB
- Stars: 37
- Watchers: 5
- Forks: 8
- 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