YARP: The .NET Reverse proxy

Ғылым және технология

Reverse proxies can help simplify how clients access your backend services. YARP (Yet Another Reverse Proxy) is designed as a library that provides the core proxy functionality which you can customize to fit your application’s specific needs.
In this episode, Jeremy chats with Chris Ross and Sam Spencer about why they decided to start working on YARP. They show us some demos of various YARP features like live reloading, authorization policies and more.
[01:13] - What is the goal of YARP?
[02:04] - What’s the difference between a load balance vs reverse proxy?
[05:04] - Setting up YARP in an ASP.NET Core application
[06:39] - Reviewing the route configuration
[11:25] - Supporting TLS termination
[13:23] - Live reload for configuration
[14:33] - Dynamically updating configuration
[17:04] - Service Mesh?
[18:58] - Using ASP.NET Core authorization policies
[20:31] - Getting started with Yarp
Getting started with Yarp
microsoft.github.io/reverse-p...
Yarp on Github
github.com/microsoft/reverse-...
ASP.NETCore Middleware
docs.microsoft.com/aspnet/cor...
#aspnetcore #ReverseProxy #dotnet #YARP

Пікірлер: 11

  • @Yinnoh
    @Yinnoh3 жыл бұрын

    Thanks a bunch for this video guys! I've been considering replacing our Azure API Management service with YARP as the former is utterly overkill for our features. YARP fits our bill perfectly and we're planning actually implementing this on a high traffic site! :-)

  • @LukePammant
    @LukePammant3 жыл бұрын

    Sweet! I'd love more videos on this as it develops. Right now I'm doing a lot of what YARP offers with Ocelot but I think with YARP coming in Ocelot won't be getting as much love. Looks like it'd be easy enough to switch over. Can you just change the request headers in the HttpContext and it will be proxied with those headers?

  • @catan85
    @catan852 жыл бұрын

    after minute 13:23 they talk about an api for live configuration of the reverse proxy, has it been added? Or maybe is there a way to change the configuration programtically? I can add a controller to change it on my own in that case

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

    He looks like Sheldon :)

  • @XurimX
    @XurimX3 жыл бұрын

    How to proxy to a server that uses ntlm auth?

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

    Yarp. I see Hot Fuzz playing in my head.

  • @scosminv
    @scosminv2 жыл бұрын

    Please make this the default Ingress for Dapr on kubernetes!

  • @jamesjanse3731
    @jamesjanse37313 жыл бұрын

    How does this compare to a product like Ocelot API Gateway? It sounds pretty similar, although with Ocelot windows authentication is bit of a pain, so would be nice if YARP would have a friendly way of handling this

  • @chrisross7003

    @chrisross7003

    3 жыл бұрын

    Proxying windows auth is a minefield, we're not planning on it for the first release.

  • @daddy2claire

    @daddy2claire

    3 жыл бұрын

    YARP is more like ProxyKit.

  • @beltranmoral7963
    @beltranmoral79633 жыл бұрын

    I'm interested sir this yarp but I'm just a poor man only from Philippines. Can you help me so I can join yarp.

Келесі