Skip to content

aimenux/YarpDemo

Repository files navigation

.NET

YarpDemo

Playing with Yarp reverse proxy

In this demo, i m using Yarp in order to build a lightweight app gateway intercepting requests and redirecting them to backend microservices.

The solution is organized as follow :

  • 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 in order to configure and run microservices and app gateway.

In order to run the solution :

1️⃣ type Tye Run in your favorite terminal

2️⃣ browse the url https://localhost:5000/api

3️⃣ refresh the url to see Yarp in action

TyeDashboard

Tools : net 6.0, tye, yarp

Releases

No releases published

Packages

No packages published

Languages