Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Using versioning in conjunction with yarp reverse proxy

オープン
#930 コメント 7 件 リアクション 0 件 担当者 1 名 GitHub で見る

@commonsensesoftware がすでに取り組んでいます。

2022年12月1日 から。

評価

この issue はまだ評価されていません。

説明

asp.net core enhancement question
Is there an existing issue for this?
  • I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.

We have a legacy .net framework and configured YARP to do a reverse proxy between the legacy one and the .net 6 migration one.

Those are working smoothly together but when I added a versioning library to implement API versioning inside .net 6 project for future developments, the reverse proxy didn't work anymore for the legacy API URLs.

Dotnet frameworks working under /v2 version and .net 6 would work in /v3 and uppers, but requests won't be redirected to /v2 anymore as APIVersioning assumes it as an invalid version.

I was looking for a way to override APIversioning middleware in some way but it seems it's not possible.

Describe the solution you'd like

I think its really needed to have a way to override middleware or something else to implement such scenarios

Additional context

No response

主要言語
C#
スター
3.2k
フォーク
721
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dotnet/aspnet-api-versioning のほかの issue

dotnet/aspnet-api-versioning の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。