ProxyKit
YARP
ProxyKit | YARP | |
---|---|---|
3 | 35 | |
1,082 | 8,087 | |
- | 3.5% | |
3.1 | 8.9 | |
over 3 years ago | 7 days ago | |
C# | C# | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ProxyKit
-
Microsoft YARP
Worth noting that YARP (or as someone has eloquently described it as PRAY) here was another Microsoft project which basically killed a previous open source project which did the same thing:
https://github.com/proxykit/ProxyKit
-
How to migrate PHP Laravel API to ASP.NET Core?
This actually feels like one of the instances that PeachPie with a combination of ProxyKit or YARP would be handy.
-
ASP.NET Core WebApi Authentication with Identity
You could setup a proxy with ProxyKit in you WebHost. Your blazor app will send requests to, say http://webhost:5000/api/endpoint. The host will then forward the request to http://webapi:3000/endpoint (or whatever). You'll have to setup some kind of JWT authentication where the WebHost generates a JWT on login and saves it in the cookie. Good thing here is, the cookie really only contains some id the server uses to look up the actual contents of the cookie. Only the cookie gets returned to the browser (blazor app). On each api request, the webhost will fetch the token out of the server-side cookie and append it to the Authorization header. The webapi will validate the token and return the response that will be proxied back to your front-end.
YARP
-
Is Internet facing Kestrel in dotnet 7.0+ safe?
Adding to the other answers here, you might find some useful functionality in YARP if you want a pure .NET reverse proxy. Like Kestrel, Microsoft dogfoods YARP in Azure.
- Self hosting a proxy server, for use with HttpClient.
-
.NET Monthly Roundup - January 2023
➡️ Release 2.0.0-RC.1 · microsoft/reverse-proxy · GitHub ➡️ Visual Studio 2022 17.5 Preview 3 is here!
- converting framework4.8 webapps to NetCore (Net5,6,7). any apps available to help?
- Issue: ERR_SSL_PROTOCOL_ERROR for DigitalOcean Droplet
- Injecting a unique ID between two TCP streams
-
ASP.NET Core rate limiting middleware in .NET 7
In your application, you may be using YARP, to build a reverse proxy gateway sitting in front of various backend applications. For example, you may run YARP to listen on example.org, and have it proxy all requests going to this domain while mapping /api and /docs to different web apps running on diffreent servers.
-
Cloudflare Ditches Nginx For In-House, Rust-Written Pingora
Microsoft already made YARP for their Azure infrastructure, it's a "build your own reverse proxy" kit.
-
Running multiple processes on the same port in .NET Core 3.1
If I was to need one I would probably reach for YARP (Yet Another Reverse Proxy) from MS. https://microsoft.github.io/reverse-proxy/
-
Kestrel as a reverse proxy?
Microsoft's YARP is exactly this.
What are some alternatives?
ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
envoy - Cloud-native high-performance edge/middle/service proxy
ASP.NET Boilerplate - ASP.NET Boilerplate - Web Application Framework
IdentityServer - The most flexible and standards-compliant OpenID Connect and OAuth 2.x framework for ASP.NET Core
C++ REST SDK - The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
Keycloak - Open Source Identity and Access Management For Modern Applications and Services
AspNetCore.Proxy - ASP.NET Core Proxies made easy.
Serilog - Simple .NET logging with fully-structured events
Bitwarden - The core infrastructure backend (API, database, Docker, etc).
Nginx - An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html
.NET Runtime - .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
Fake JSON Server - Fake JSON Server is a Fake REST API that can be used as a Back End for prototyping or as a template for a CRUD Back End.