MyGit

microsoft/reverse-proxy

Fork: 828 Star: 8424 (更新于 2024-09-07 05:45:03)

license: MIT

Language: C# .

A toolkit for developing high-performance HTTP reverse proxy applications.

最后发布版本: v2.2.0 ( 2024-09-03 19:22:14)

官方网址 GitHub网址

YARP Icon

Welcome to the YARP project

YARP (which stands for "Yet Another Reverse Proxy") is a project to create a reverse proxy server. We found a bunch of internal teams at Microsoft who were either building a reverse proxy for their service or had been asking about APIs and tech for building one, so we decided to get them all together to work on a common solution, this project.

YARP is a reverse proxy toolkit for building fast proxy servers in .NET using the infrastructure from ASP.NET and .NET. The key differentiator for YARP is that it's been designed to be easily customized and tweaked to match the specific needs of each deployment scenario.

We expect YARP to ship as a library and project template that together provide a robust, performant proxy server. Its pipeline and modules are designed so that you can then customize the functionality for your needs. For example, while YARP supports configuration files, we expect that many users will want to manage the configuration programmatically based on their own backend configuration management system, YARP will provide a configuration API to enable that customization in-proc. YARP is designed with customizability as a primary scenario, rather than requiring you to break out to script or having to rebuild from source.

Getting started

Updates

For regular updates, see our releases page. Subscribe to release notifications on this repository to be notified of future updates (Watch -> Custom -> Releases).

If you want to live on the bleeding edge, you can pickup the daily builds.

Build

To build the repo, you should only need to run build.cmd (on Windows) or build.sh (on Linux or macOS). The script will download the .NET SDK and build the solution.

For VS on Windows, install the latest VS 2022 release and then run the startvs.cmd script to launch Visual Studio using the appropriate local copy of the .NET SDK.

To set up local development with Visual Studio, Visual Studio for Mac or Visual Studio Code, you need to put the local copy of the .NET SDK in your PATH environment variable. Our Restore script fetches the latest build of .NET and installs it to a .dotnet directory within this repository.

We provide some scripts to set all this up for you. Just follow these steps:

  1. Run the restore.cmd/restore.sh script to fetch the required .NET SDK locally (to the .dotnet directory within this repo)
  2. "Dot-source" the activate script to put the local .NET SDK on the PATH
    1. For PowerShell, run: . .\activate.ps1 (note the leading . , it is required!)
    2. For Linux/macOS/WSL, run: . ./activate.sh
    3. For CMD, there is no supported script. You can manually add the .dotnet directory within this repo to your PATH. Ensure where dotnet shows a path within this repository!
  3. Launch VS, VS for Mac, or VS Code!

When you're done, you can run the deactivate function to undo the changes to your PATH.

If you're having trouble building the project, or developing in Visual Studio, please file an issue to let us know and we'll help out (and fix our scripts/tools as needed)!

Testing

The command to build and run all tests: build.cmd/sh -test. To run specific test you may use XunitMethodName property: dotnet build /t:Test /p:XunitMethodName={FullyQualifiedNamespace}.{ClassName}.{MethodName}. The tests can also be run from Visual Studio if launched using startvs.cmd.

Roadmap

see docs/roadmap.md

Reporting security issues and bugs

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) at secure@microsoft.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found at the Microsoft Security Response Center.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

最近版本更新:(数据更新于 2024-09-07 05:44:48)

2024-09-03 19:22:14 v2.2.0

2024-05-18 01:50:40 v2.2.0-preview1

2023-11-18 01:02:17 v2.1.0

2023-11-14 05:35:14 v2.1.0-preview.1

2023-06-23 05:09:12 v2.0.1

2023-06-23 05:08:22 v1.1.2

2023-02-14 22:45:42 v2.0.0

2023-01-20 08:10:12 v2.0.0-rc.1

2022-07-01 04:38:51 v1.1.1

2022-05-03 01:10:54 v1.1.0

microsoft/reverse-proxy同语言 C#最近更新仓库

2024-10-08 01:52:39 microsoft/PowerToys

2024-10-05 20:05:46 JustArchiNET/ArchiSteamFarm

2024-10-03 06:05:51 microsoft/devhome

2024-10-02 08:54:32 bitwarden/server

2024-10-01 16:00:30 AzureAD/microsoft-authentication-library-for-dotnet

2024-10-01 03:56:28 srwi/EverythingToolbar