Skip to content

Commit e290237

Browse files
samsp-msftSam SpencerRick-Anderson
authored
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]>
1 parent fc50400 commit e290237

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

aspnetcore/fundamentals/servers/yarp/extensibility.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,25 @@ There are 2 main styles of extensibility for YARP, depending on the routing beha
2121

2222
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.
2323

24-
![Middleware pipeline diagram](https://github.com/user-attachments/assets/ff17a04f-0c3c-46c7-8ec2-a1ed3dbc948c)
24+
![Middleware pipeline diagram](~/fundamentals/servers/yarp/media/yarp-pipeline.png)
2525

26-
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:
2727

28-
For more information see [Middleware](xref:fundamentals/servers/yarp/middleware).
28+
- [Configuration Providers](xref:fundamentals/servers/yarp/config-providers)
29+
- [Destination Enumeration](xref:fundamentals/servers/yarp/destination-resolvers)
30+
- [Session Affinity](xref:fundamentals/servers/yarp/session-affinity)
31+
- [Load Balancing](xref:fundamentals/servers/yarp/load-balancing)
32+
- [Health Checks](xref:fundamentals/servers/yarp/dests-health-checks)
33+
- [Request Transforms](xref:fundamentals/servers/yarp/transform-extensibility)
34+
- [HttpClient configuration](./http-client-config.md#code-configuration)
35+
36+
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).
2937

3038
## Http Forwarder
3139

3240
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.
3341

34-
![HTTP forwarder diagram](https://github.com/user-attachments/assets/1a060a7e-fa43-49a4-bfad-f95d7d35be63)
42+
![HTTP forwarder diagram](~/fundamentals/servers/yarp/media/yarp-forwarder.png)
3543

3644
The transform component can still be used with the forwarder is needed.
3745

146 KB
Loading
142 KB
Loading

0 commit comments

Comments
 (0)