Skip to content

Commit 9c92c49

Browse files
Yarb pass 2 (#34667)
* Yarb pass 2 * Yarb pass 2 * fix * fix * fix * fix
1 parent 7edeb80 commit 9c92c49

31 files changed

+55
-60
lines changed

aspnetcore/fundamentals/servers/yarp/ab-testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: A/B Testing and Rolling Upgrades
44
description: A/B Testing and Rolling Upgrades
55
author: rick-anderson
66
ms.author: riande
7-
ms.date: 02/06/2025
7+
ms.date: 2/6/2025
88
ms.topic: article
99
content_well_notification: AI-contribution
1010
ai-usage: ai-assisted

aspnetcore/fundamentals/servers/yarp/authn-authz.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Authentication and Authorization
44
description: Authentication and Authorization
55
author: rick-anderson
66
ms.author: riande
7-
ms.date: 02/06/2025
7+
ms.date: 2/6/2025
88
ms.topic: article
99
content_well_notification: AI-contribution
1010
ai-usage: ai-assisted

aspnetcore/fundamentals/servers/yarp/config-files.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Configuration Files
44
description: Configuration Files
55
author: rick-anderson
66
ms.author: riande
7-
ms.date: 02/06/2025
7+
ms.date: 2/6/2025
88
ms.topic: article
99
content_well_notification: AI-contribution
1010
ai-usage: ai-assisted
@@ -37,7 +37,7 @@ app.Run();
3737
```
3838
**Note**: For details about middleware ordering see [here](/aspnet/core/fundamentals/middleware/#middleware-order).
3939

40-
Configuration can be modified during the load sequence using [Configuration Filters](config-filters.md).
40+
Configuration can be modified during the load sequence using [Configuration Filters](xref:fundamentals/servers/yarp/config-filters).
4141

4242
## Multiple Configuration Sources
4343
As of 1.1, YARP supports loading the proxy configuration from multiple sources. LoadFromConfig may be called multiple times referencing different IConfiguration sections or may be combine with a different config source like InMemory. Routes can reference clusters from other sources. Note merging partial config from different sources for a given route or cluster is not supported.
@@ -95,7 +95,7 @@ The routes section is an unordered collection of route matches and their associa
9595
- Match - contains either a Hosts array or a Path pattern string. Path is an ASP.NET Core route template that can be defined as [explained here](/aspnet/core/fundamentals/routing#route-templates).
9696
Route matching is based on the most specific routes having highest precedence as described [here](/aspnet/core/fundamentals/routing#url-matching). Explicit ordering can be achieved using the `order` field, with lower values taking higher priority.
9797

98-
[Headers](header-routing.md), [Authorization](authn-authz.md), [CORS](cors.md), and other route based policies can be configured on each route entry. For additional fields see [RouteConfig](xref:Yarp.ReverseProxy.Configuration.RouteConfig).
98+
[Headers](xref:fundamentals/servers/yarp/header-routing), [Authorization](xref:fundamentals/servers/yarp/authn-authz), [CORS](xref:fundamentals/servers/yarp/cors), and other route based policies can be configured on each route entry. For additional fields see [RouteConfig](xref:Yarp.ReverseProxy.Configuration.RouteConfig).
9999

100100
The proxy will apply the given matching criteria and policies, and then pass off the request to the specified cluster.
101101

@@ -234,4 +234,4 @@ For additional fields see [ClusterConfig](xref:Yarp.ReverseProxy.Configuration.C
234234
}
235235
```
236236

237-
For more information see [logging configuration](diagnosing-yarp-issues.md#logging) and [HTTP client configuration](http-client-config.md).
237+
For more information see [logging configuration](diagnosing-yarp-issues.md#logging) and [HTTP client configuration](xref:fundamentals/servers/yarp/http-client-config).

aspnetcore/fundamentals/servers/yarp/config-filters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Configuration Filters
44
description: Configuration Filters
55
author: rick-anderson
66
ms.author: riande
7-
ms.date: 02/06/2025
7+
ms.date: 2/6/2025
88
ms.topic: article
99
content_well_notification: AI-contribution
1010
ai-usage: ai-assisted
@@ -13,7 +13,7 @@ ai-usage: ai-assisted
1313
# Configuration Filters
1414

1515
## Introduction
16-
YARP configuration for routes, clusters, and destinations can be loaded from [configuration files](config-files.md) or from [configuration providers](config-providers.md). Configuration filters can be used to modify that raw input before it's validated and applied.
16+
YARP configuration for routes, clusters, and destinations can be loaded from [configuration files](xref:fundamentals/servers/yarp/config-files) or from [configuration providers](xref:fundamentals/servers/yarp/config-providers). Configuration filters can be used to modify that raw input before it's validated and applied.
1717

1818
Filters can be used for a variety of purposes such as:
1919
- Supplementing config fields with data from other sources like the deployment environment

aspnetcore/fundamentals/servers/yarp/config-providers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Extensibility Configuration Providers
44
description: Extensibility Configuration Providers
55
author: rick-anderson
66
ms.author: riande
7-
ms.date: 02/06/2025
7+
ms.date: 2/6/2025
88
ms.topic: article
99
content_well_notification: AI-contribution
1010
ai-usage: ai-assisted
@@ -17,7 +17,7 @@ The [Basic Yarp Sample](https://github.com/microsoft/reverse-proxy/tree/main/sam
1717

1818
See [ReverseProxy.Code.Sample](https://github.com/microsoft/reverse-proxy/tree/main/samples/ReverseProxy.Code.Sample) for an example of a custom configuration provider.
1919

20-
Configuration can be modified during the load sequence using [Configuration Filters](config-filters.md).
20+
Configuration can be modified during the load sequence using [Configuration Filters](xref:fundamentals/servers/yarp/config-filters).
2121

2222
## Structure
2323
[IProxyConfigProvider](xref:Yarp.ReverseProxy.Configuration.IProxyConfigProvider) has a single method `GetConfig()` that should return an [IProxyConfig](xref:Yarp.ReverseProxy.Configuration.IProxyConfig) instance. The IProxyConfig has lists of the current routes and clusters, as well as an `IChangeToken` to notify the proxy when this information is out of date and should be reloaded, which will cause `GetConfig()` to be called again.
@@ -28,7 +28,7 @@ The routes section is an unordered collection of named routes. A route contains
2828
- ClusterId - refers to the name of an entry in the clusters section.
2929
- Match - contains either a Hosts array or a Path pattern string. Path is an ASP.NET Core route template that can be defined as [explained here](/aspnet/core/fundamentals/routing#route-templates).
3030

31-
[Headers](header-routing.md), [Authorization](authn-authz.md), [CORS](cors.md), and other route based policies can be configured on each route entry. For additional fields see [RouteConfig](xref:Yarp.ReverseProxy.Configuration.RouteConfig).
31+
[Headers](xref:fundamentals/servers/yarp/header-routing), [Authorization](xref:fundamentals/servers/yarp/authn-authz), [CORS](xref:fundamentals/servers/yarp/cors), and other route based policies can be configured on each route entry. For additional fields see [RouteConfig](xref:Yarp.ReverseProxy.Configuration.RouteConfig).
3232

3333
The proxy will apply the given matching criteria and policies, and then pass off the request to the specified cluster.
3434

aspnetcore/fundamentals/servers/yarp/cors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Cross-Origin Requests (CORS)
44
description: Cross-Origin Requests (CORS)
55
author: rick-anderson
66
ms.author: riande
7-
ms.date: 02/06/2025
7+
ms.date: 2/6/2025
88
ms.topic: article
99
content_well_notification: AI-contribution
1010
ai-usage: ai-assisted

aspnetcore/fundamentals/servers/yarp/destination-resolvers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Extensibility Destination Resolvers
44
description: Extensibility Destination Resolvers
55
author: rick-anderson
66
ms.author: riande
7-
ms.date: 02/06/2025
7+
ms.date: 2/6/2025
88
ms.topic: article
99
content_well_notification: AI-contribution
1010
ai-usage: ai-assisted

aspnetcore/fundamentals/servers/yarp/dests-health-checks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Destination health checks
44
description: Destination health checks
55
author: rick-anderson
66
ms.author: riande
7-
ms.date: 02/06/2025
7+
ms.date: 2/6/2025
88
ms.topic: article
99
content_well_notification: AI-contribution
1010
ai-usage: ai-assisted

aspnetcore/fundamentals/servers/yarp/diagnosing-yarp-issues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Diagnosing YARP-based proxies
44
description: Diagnosing YARP-based proxies
55
author: rick-anderson
66
ms.author: riande
7-
ms.date: 02/06/2025
7+
ms.date: 2/6/2025
88
ms.topic: article
99
content_well_notification: AI-contribution
1010
ai-usage: ai-assisted

aspnetcore/fundamentals/servers/yarp/direct-forwarding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Direct Forwarding
44
description: Direct Forwarding
55
author: rick-anderson
66
ms.author: riande
7-
ms.date: 02/06/2025
7+
ms.date: 2/6/2025
88
ms.topic: article
99
content_well_notification: AI-contribution
1010
ai-usage: ai-assisted

0 commit comments

Comments
 (0)