Introduction to YARP a .NET Reverse Proxy

Поділитися
Вставка
  • Опубліковано 23 тра 2023
  • 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
    @ndanh1 14 днів тому

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

  • @Angel-Fish
    @Angel-Fish 5 місяців тому

    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!

  • @kalvintuel1162
    @kalvintuel1162 11 місяців тому +1

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

  • @kanmaniraju1055
    @kanmaniraju1055 Рік тому +4

    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.

  • @Qrzychu92
    @Qrzychu92 Рік тому +2

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

  • @kukda
    @kukda Рік тому

    excellent explaination!

  • @Anequit
    @Anequit Рік тому

    this is really cool

  • @divyeshio
    @divyeshio Рік тому +10

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

  • @PippiTheLongSock
    @PippiTheLongSock Рік тому +1

    very nice

  • @VadimKhalatryan
    @VadimKhalatryan 11 місяців тому

    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)

  • @sarvarthmonga5764
    @sarvarthmonga5764 Рік тому

    Noicee

  • @chuannguyen1686
    @chuannguyen1686 8 місяців тому

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

  • @nanvlad
    @nanvlad Рік тому +2

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

    • @RawCoding
      @RawCoding  Рік тому +6

      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

  • @jefffiegel1758
    @jefffiegel1758 4 місяці тому

    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
    @nathangrosvenor7661 7 місяців тому

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

  • @m_stf
    @m_stf Рік тому +6

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

    • @mazingguitar
      @mazingguitar Рік тому +4

      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 Рік тому +1

      @@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 Рік тому +2

    Hey, what IDE is that?

  • @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?

  • @DelMadman
    @DelMadman Рік тому +1

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

    • @s3rg3yg
      @s3rg3yg Рік тому +1

      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