Skip to content

Commit 1583aa7

Browse files
Update extensibility.md
1 parent 886d073 commit 1583aa7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

aspnetcore/fundamentals/servers/yarp/extensibility.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,24 @@ title: Overview of extensibility
44
description: Overview of extensibility
55
author: samsp-msft
66
ms.author: samsp
7-
ms.date: 2/10/2025
7+
ms.date: 2/12/2025
88
ms.topic: article
99
content_well_notification: AI-contribution
1010
ai-usage: ai-assisted
1111
---
1212

1313
# Overview of YARP extensibility
1414

15+
There are 2 main styles of extensibility for YARP, depending on the routing behavior desired.
16+
1517
* Middleware Pipeline
1618
* Http Forwarder
1719

1820
## Middleware pipeline
1921

20-
YARP uses the concept of [Routes](config-files.md#routes), [Clusters](config-files.md#clusters) and Destinations. These can be supplied through [configuration files](config-files.md) or [directly through code](config-providers.md). 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.
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.
2123

22-
![Image](https://github.com/user-attachments/assets/ff17a04f-0c3c-46c7-8ec2-a1ed3dbc948c)
24+
![Image](xref:fundamentals/servers/yarp/https://github.com/user-attachments/assets/ff17a04f-0c3c-46c7-8ec2-a1ed3dbc948c)
2325

2426
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.
2527

0 commit comments

Comments
 (0)