Using versioning in conjunction with yarp reverse proxy
@commonsensesoftware がすでに取り組んでいます。
2022年12月1日 から。
評価
この issue はまだ評価されていません。
説明
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 はありません
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dotnet/aspnet-api-versioning のほかの issue
-
Stay backwards compatible within major version対応中かも @commonsensesoftware が 1 日前に担当しました。 オープンbug triage
dotnet/aspnet-api-versioning#1230 · コメント 1 件 · 担当者 1 名 ·
-
VersionedOpenApiOptionsFactory race: concurrent document requests cause NullReferenceException or unconfigured document対応中かも @commonsensesoftware が 9 日前に担当しました。 オープンbug triage
dotnet/aspnet-api-versioning#1228 · 担当者 1 名 ·
-
InvalidOperationException when create schema on transformer対応中かも @commonsensesoftware が 9 日前に担当しました。 オープンasp.net core triage
dotnet/aspnet-api-versioning#1227 · 担当者 1 名 ·
-
.NET 11 RC - AOT Mode - System.NotSupportedException: ElementType is not initialized when `Microsoft.AspNetCore.Mvc.ApiExplorer.IsEnhancedModelMetadataSupported` is false.対応中かも @commonsensesoftware が 10 日前に担当しました。 オープンbug triage
dotnet/aspnet-api-versioning#1226 · コメント 1 件 · 担当者 1 名 ·
-
xmldoc file detection by assembly from a referenced project対応中かも @commonsensesoftware が 24 日前に担当しました。 オープンasp.net core enhancement
dotnet/aspnet-api-versioning#1224 · コメント 3 件 · 担当者 1 名 ·
dotnet/aspnet-api-versioning の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
SubtitleEdit/subtitleedit#15462 ·
メンテナーはふだん 1 日以内に返信
-
:watch: Not Triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
comp:instrumentation.aspnetcore
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
open-telemetry/opentelemetry-dotnet-contrib#5427 ·
メンテナーはふだん 1 日以内に返信
-
design-proposal
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
dotnet/aspnetcore#69592 ·
メンテナーはふだん 1 日以内に返信
-
Client Container Registry customer-reported needs-team-attention question Service Attention
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
Azure/azure-sdk-for-net#63470 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信