Introduction to YARP a .NET Reverse Proxy
Introduction tutorial to YARP (Yet Another Reverse Proxy) built with .NET C#. Learn how to use YARP in an ASP.NET Core application as an api gateway, spa proxy and service extension.
Patreon 🤝 / raw_coding
Courses 📚 learning.raw-coding.dev
Shop 🛒 shop.raw-coding.dev
Discord 💬 / discord
Twitter 📣 / anton_t0shik
Twitch 🎥 / raw_coding
#aspnetcore #csharp #yarp
Пікірлер: 28
As always, really appreciate your simple and straight-to-the-point instructions!
Thank you. Explained in a easy to follow way. I appreciate your time.
Thank you for this learning video. It will be really helpful if you could explain more about AuthorizationPolicy in YARP on how to implement open/authenticated endpoints.
Excellent explanation of YARP! I heard about YARP on the .NET Rocks episode today about ".NET 8 Migration with Jimmy Bogard". I thought I would have to convert the entire .NET Framework application to .NET (Core) but now, with this easy to configure YARP, I can easily do it one controller at a time. AWESOME!
excellent explaination!
this is really cool
I can't believe that I can watch this for free!
very nice
In terms of perfomance and scalability, how does it compares with other reverse proxies out there?
Thanks for the video. Can you make an example that uses Swagger at the gateway level? (swagger configuration will be loaded from the underlying microservice)
Could we apply this for modular monolith ? And can we use it without running other web applications, just add assemblies or something elses ?
I assume there is a collection somewhere that holds the health of each of the destinations for each of the clusters, but I can't seem to find it. I would like to expose that collection so I can query/record/alert on different states.... Thoughts???? Thank you!!!
Would you personally a YARP proxy work better for BFF as opposed to using Duende BFF?
why would I need this as a backend dev? Is it a kind of devops stuff but without kubernetes?
@RawCoding
Жыл бұрын
it's a reverse proxy, if you need to pass an http request along somewhere, this is how you'd do it- load balancing, api gateway, bff, service migration etc... and there is no devops, as a backend engineer you need to know devops
Noicee
how good is it compared to nginx ? I'd prefer my proxy to be c# tbh
@mazingguitar
Жыл бұрын
pretty good. It gives you full control from your c# code so if you want to have some dynamic, logical approach to your proxy - its great :)
@m_stf
Жыл бұрын
@@mazingguitar thx
@cocoscacao6102
Жыл бұрын
You can pretty much configure everything via C#. Don't worry there. Docs require a little scrutiny sometimes, since it's fairly new lib, but they are OK in general.
@FilipCordas
Жыл бұрын
We have been using it for a while now never had an issue with it. We also have nginx and the configuration issues are consistent.
Hey, what IDE is that?
@RawCoding
Жыл бұрын
Rider, it’s their beta ui
@maxymstoiakevych4139
Жыл бұрын
@@RawCoding Thanks. Looks dope.
what is the benefit of using yarp comparing to the Ocelot?
@s3rg3yg
Жыл бұрын
I have been researching this question the whole day today. Ocelot creator can leave project for a year like he did in 21 and 22 years. Ocelot doesn't support gRPC. Yarp it's from Microsoft officially. There are also Envoy and Nginx in case you prefer ready solution with no cussing
finally replacement for Ocelot (RIP)
@DelMadman
Жыл бұрын
ok, but what is the benefit of replacement? is there something that you can’t do with Ocelot?