https://github.com/aimenux/yarpdemo
Playing with Yarp reverse proxy
https://github.com/aimenux/yarpdemo
app-gateway net80 reverse-proxy tye yarp
Last synced: about 1 year ago
JSON representation
Playing with Yarp reverse proxy
- Host: GitHub
- URL: https://github.com/aimenux/yarpdemo
- Owner: aimenux
- Created: 2021-11-14T19:00:10.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-10T02:11:25.000Z (almost 2 years ago)
- Last Synced: 2025-04-05T10:11:15.256Z (about 1 year ago)
- Topics: app-gateway, net80, reverse-proxy, tye, yarp
- Language: C#
- Homepage:
- Size: 108 KB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/aimenux/YarpDemo/actions/workflows/ci.yml)
# YarpDemo
```
Playing with Yarp reverse proxy
```
> In this demo, i m using [Yarp](https://microsoft.github.io/reverse-proxy) in order to build a lightweight app gateway intercepting requests and redirecting them to backend microservices.
>
> The solution is organized as follows :
>
> - `AppGateway` : a webapi with yarp integration and configuration
> - `CustomersMicroservice` : a webapi listing fake customers
> - `OrdersMicroservice` : a webapi listing fake orders
> - `ProductsMicroservice` : a webapi listing fake products
>
> The solution is using [Tye](https://github.com/dotnet/tye) in order to configure and run microservices and app gateway.
>
> In order to run the solution :
>
>> :one: type `Tye Run` in your favorite terminal
>>
>> :two: browse the url `https://localhost:5000/api`
>>
>> :three: refresh the url to see [Yarp](https://microsoft.github.io/reverse-proxy) in action
>
> 
>
**`Tools`** : net 8.0, yarp, tye