Repository navigation
Document built-in transforms for YARP direct forwarding - #37779
Merged
guardrex merged 8 commits intoOct 7, 2026
Merged
Conversation
Updated the date and added details on using built-in transforms with direct forwarding.
Updated the date and added AI usage notifications.
Contributor
Author
|
@dotnet-policy-service agree |
valkiara
marked this pull request as ready for review
October 6, 2026 14:52
guardrex
requested changes
Oct 6, 2026
guardrex
left a comment
Collaborator
There was a problem hiding this comment.
I just have a few NITs, and then we'll get a Copilot look at this.
Co-authored-by: Luke Latham <[email protected]>
guardrex
requested changes
Oct 7, 2026
guardrex
left a comment
Collaborator
There was a problem hiding this comment.
Ooops! I missed one suggestion on cross-linking the section with the example. It helps readers get to whatever "preceding" is referring to when it isn't immediately above the remark.
Co-authored-by: Luke Latham <[email protected]>
Update the date for the YARP Direct Forwarding article. Co-authored-by: Copilot Autofix powered by AI <[email protected]>
guardrex
approved these changes
Oct 7, 2026
guardrex
left a comment
Collaborator
There was a problem hiding this comment.
I'm not going to sweat the other date. One day isn't a concern here for long-term tracking.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contributes to dotnet/yarp#2291
Document how to use built-in transforms with
IHttpForwarderby creating anHttpTransformerwithITransformBuilder.Create. The example removesparam1and replacesarea, and explains service registration, transformer reuse, and default forwarding headers.Changes:
direct-forwarding.md: Add the example and link to the transform defaults.transforms.md: Explain direct forwarding and link to the example.direct-forwarding/snippets/10.0/Program.cs: Add the runnable example used by the documentation snippets.direct-forwarding/snippets/10.0/StructuredTransforms.csproj: Build the example against .NET 10 andYarp.ReverseProxy2.3.0.Validation:
IHttpForwarder: verified query removal and replacement, preservation of other query values, transformer reuse, default forwarding headers, and response forwarding.Internal previews
Build report