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

  • @ndanh1
    @ndanh14 күн бұрын

    As always, really appreciate your simple and straight-to-the-point instructions!

  • @kalvintuel1162
    @kalvintuel116210 ай бұрын

    Thank you. Explained in a easy to follow way. I appreciate your time.

  • @kanmaniraju1055
    @kanmaniraju1055 Жыл бұрын

    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.

  • @Angel-Fish
    @Angel-Fish5 ай бұрын

    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!

  • @kukda
    @kukda11 ай бұрын

    excellent explaination!

  • @Anequit
    @Anequit Жыл бұрын

    this is really cool

  • @Qrzychu92
    @Qrzychu92 Жыл бұрын

    I can't believe that I can watch this for free!

  • @PippiTheLongSock
    @PippiTheLongSock Жыл бұрын

    very nice

  • @divyeshio
    @divyeshio Жыл бұрын

    In terms of perfomance and scalability, how does it compares with other reverse proxies out there?

  • @VadimKhalatryan
    @VadimKhalatryan11 ай бұрын

    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)

  • @chuannguyen1686
    @chuannguyen16868 ай бұрын

    Could we apply this for modular monolith ? And can we use it without running other web applications, just add assemblies or something elses ?

  • @jefffiegel1758
    @jefffiegel17584 ай бұрын

    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!!!

  • @nathangrosvenor7661
    @nathangrosvenor76617 ай бұрын

    Would you personally a YARP proxy work better for BFF as opposed to using Duende BFF?

  • @nanvlad
    @nanvlad Жыл бұрын

    why would I need this as a backend dev? Is it a kind of devops stuff but without kubernetes?

  • @RawCoding

    @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

  • @sarvarthmonga5764
    @sarvarthmonga5764 Жыл бұрын

    Noicee

  • @m_stf
    @m_stf Жыл бұрын

    how good is it compared to nginx ? I'd prefer my proxy to be c# tbh

  • @mazingguitar

    @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

    @m_stf

    Жыл бұрын

    @@mazingguitar thx

  • @cocoscacao6102

    @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

    @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.

  • @maxymstoiakevych4139
    @maxymstoiakevych4139 Жыл бұрын

    Hey, what IDE is that?

  • @RawCoding

    @RawCoding

    Жыл бұрын

    Rider, it’s their beta ui

  • @maxymstoiakevych4139

    @maxymstoiakevych4139

    Жыл бұрын

    @@RawCoding Thanks. Looks dope.

  • @DelMadman
    @DelMadman Жыл бұрын

    what is the benefit of using yarp comparing to the Ocelot?

  • @s3rg3yg

    @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

  • @zaoralj
    @zaoralj Жыл бұрын

    finally replacement for Ocelot (RIP)

  • @DelMadman

    @DelMadman

    Жыл бұрын

    ok, but what is the benefit of replacement? is there something that you can’t do with Ocelot?