You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updates to the extensibility overview page (#34792)
* Moved images to their own folder, and added backgrounds
Added links to related docs
* Update image paths in YARP extensibility doc (#34796)
* Update image paths in YARP extensibility doc
* xref over relative file links
* xref over relative file links
---------
Co-authored-by: Sam Spencer <[email protected]>
Co-authored-by: Rick Anderson <[email protected]>
Copy file name to clipboardExpand all lines: aspnetcore/fundamentals/servers/yarp/extensibility.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,17 +21,25 @@ There are 2 main styles of extensibility for YARP, depending on the routing beha
21
21
22
22
YARP uses the concept of [Routes](xref:fundamentals/servers/yarp/config-files#routes), [Clusters](xref:fundamentals/servers/yarp/config-files#clusters) and Destinations. These can be supplied through [configuration files](xref:fundamentals/servers/yarp/config-files) or [directly through code](xref:fundamentals/servers/yarp/config-providers). Based on the routing rules, YARP picks a cluster and enumerates the possible destinations. It then uses the middleware pipeline to select the destination based on destination health, session affinity, load balancing etc.
Most of the pre-built pipeline modules can be customized through code. You can also change the pipeline definition to replace modules with your own implementation(s) or add additional modules as needed.
26
+
Most of the pre-built pipeline can be customized through code:
27
27
28
-
For more information see [Middleware](xref:fundamentals/servers/yarp/middleware).
You can also change the pipeline definition to replace modules with your own implementation(s) or add additional modules as needed. For more information see [Middleware](xref:fundamentals/servers/yarp/middleware).
29
37
30
38
## Http Forwarder
31
39
32
40
If the YARP pipeline is too rigid for your needs, or the scale of routing rules and destinations is not suitable for loading into memory, then you can implement your own routing logic and use the HTTP Forwarder to direct requests to your chosen destination. The HttpForwarder component takes the HTTP context and forwards the request to the supplied destination.
0 commit comments