Skip to content

Commit c500da2

Browse files
authored
Fix build suggestions (#46825)
1 parent 9502663 commit c500da2

16 files changed

+81
-83
lines changed

.openpublishing.redirection.csharp.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
{
2424
"source_path_from_root": "/redirections/proposals/csharp-7.0/pattern-matching.md",
25-
"redirect_url": "/dotnet/csharp/language-reference/language-specification/patterns.md"
25+
"redirect_url": "/dotnet/csharp/language-reference/language-specification/patterns"
2626
},
2727
{
2828
"source_path_from_root": "/redirections/proposals/csharp-7.0/task-types.md",
@@ -110,7 +110,7 @@
110110
},
111111
{
112112
"source_path_from_root": "/redirections/proposals/csharp-8.0/nullable-reference-types.md",
113-
"redirect_url": "/dotnet/csharp/language-reference/language-specification/types.md#893-nullable-reference-types"
113+
"redirect_url": "/dotnet/csharp/language-reference/language-specification/types#893-nullable-reference-types"
114114
},
115115
{
116116
"source_path_from_root": "/redirections/proposals/csharp-8.0/nested-stackalloc.md",
@@ -126,11 +126,11 @@
126126
},
127127
{
128128
"source_path_from_root": "/redirections/proposals/csharp-8.0/async-streams.md",
129-
"redirect_url": "/dotnet/csharp/language-reference/language-specification/statements.md#13953-await-foreach"
129+
"redirect_url": "/dotnet/csharp/language-reference/language-specification/statements#13953-await-foreach"
130130
},
131131
{
132132
"source_path_from_root": "/redirections/proposals/csharp-9.0/nullable-reference-types-specification.md",
133-
"redirect_url": "/dotnet/csharp/language-reference/language-specification/types.md#893-nullable-reference-types"
133+
"redirect_url": "/dotnet/csharp/language-reference/language-specification/types#893-nullable-reference-types"
134134
},
135135
{
136136
"source_path_from_root": "/redirections/proposals/csharp-10.0/generic-attributes.md",
@@ -1400,27 +1400,27 @@
14001400
},
14011401
{
14021402
"source_path_from_root": "/docs/csharp/language-reference/proposals/csharp-8.0/index.md",
1403-
"redirect_url": "/dotnet/csharp/language-reference/language-specification/types.md#893-nullable-reference-types"
1403+
"redirect_url": "/dotnet/csharp/language-reference/language-specification/types#893-nullable-reference-types"
14041404
},
14051405
{
14061406
"source_path_from_root": "/docs/csharp/language-reference/proposals/csharp-8.0/static-local-functions.md",
1407-
"redirect_url": "/dotnet/csharp/language-reference/language-specification/statements.md#1364-local-function-declarations"
1407+
"redirect_url": "/dotnet/csharp/language-reference/language-specification/statements#1364-local-function-declarations"
14081408
},
14091409
{
14101410
"source_path_from_root": "/docs/csharp/language-reference/proposals/csharp-8.0/nullable-reference-types.md",
1411-
"redirect_url": "/dotnet/csharp/language-reference/language-specification/types.md#893-nullable-reference-types"
1411+
"redirect_url": "/dotnet/csharp/language-reference/language-specification/types#893-nullable-reference-types"
14121412
},
14131413
{
14141414
"source_path_from_root": "/docs/csharp/language-reference/proposals/csharp-9.0/nullable-reference-types-specification.md",
1415-
"redirect_url": "/dotnet/csharp/language-reference/language-specification/types.md#893-nullable-reference-types"
1415+
"redirect_url": "/dotnet/csharp/language-reference/language-specification/types#893-nullable-reference-types"
14161416
},
14171417
{
14181418
"source_path_from_root": "/docs/csharp/language-reference/proposals/csharp-9.0/nullable-constructor-analysis.md",
1419-
"redirect_url": "/dotnet/csharp/language-reference/language-specification/types.md#893-nullable-reference-types"
1419+
"redirect_url": "/dotnet/csharp/language-reference/language-specification/types#893-nullable-reference-types"
14201420
},
14211421
{
14221422
"source_path_from_root": "/docs/csharp/language-reference/proposals/csharp-9.0/nullable-parameter-default-value-analysis.md",
1423-
"redirect_url": "/dotnet/csharp/language-reference/language-specification/types.md#893-nullable-reference-types"
1423+
"redirect_url": "/dotnet/csharp/language-reference/language-specification/types#893-nullable-reference-types"
14241424
},
14251425
{
14261426
"source_path_from_root": "/docs/csharp/language-reference/proposals/csharp-9.0/index.md",

docs/architecture/microservices/implement-resilient-applications/index.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,12 @@ It's challenging enough to design and deploy a microservices-based application.
1515

1616
The many individual components of your application should also incorporate health monitoring features. By following the guidelines in this chapter, you can create an application that can work smoothly in spite of transient downtime or the normal hiccups that occur in complex and cloud-based deployments.
1717

18-
>[!IMPORTANT]
19-
> eShopOnContainer had been using the [Polly library](https://thepollyproject.azurewebsites.net/) to implement resiliency using [Typed Clients](./use-httpclientfactory-to-implement-resilient-http-requests.md) up until the release 3.0.0.
20-
>
21-
> Starting with release 3.0.0, the HTTP calls resiliency is implemented using a [Linkerd mesh](https://linkerd.io/), that handles retries in a transparent and configurable fashion, within a Kubernetes cluster, without having to handle those concerns in the code.
18+
> [!IMPORTANT]
19+
> eShopOnContainer had been using the [Polly library](https://www.pollydocs.org/) to implement resiliency using [Typed Clients](./use-httpclientfactory-to-implement-resilient-http-requests.md) up until the release 3.0.0. Starting with release 3.0.0, the HTTP calls resiliency is implemented using a [Linkerd mesh](https://linkerd.io/), which handles retries in a transparent and configurable fashion within a Kubernetes cluster, without having to handle those concerns in the code.
2220
>
2321
> The Polly library is still used to add resilience to database connections, specially while starting up the services.
2422
25-
>[!WARNING]
23+
> [!WARNING]
2624
> All code samples and images in this section were valid before using Linkerd and are not updated to reflect the current actual code. So they make sense in the context of this section.
2725
2826
>[!div class="step-by-step"]

docs/architecture/microservices/implement-resilient-applications/partial-failure-strategies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To deal with partial failures, use one of the strategies described here.
1919

2020
**Provide fallbacks**. In this approach, the client process performs fallback logic when a request fails, such as returning cached data or a default value. This is an approach suitable for queries, and is more complex for updates or commands.
2121

22-
**Limit the number of queued requests**. Clients should also impose an upper bound on the number of outstanding requests that a client microservice can send to a particular service. If the limit has been reached, it's probably pointless to make additional requests, and those attempts should fail immediately. In terms of implementation, the Polly [Bulkhead Isolation](https://github.com/App-vNext/Polly/wiki/Bulkhead) policy can be used to fulfill this requirement. This approach is essentially a parallelization throttle with <xref:System.Threading.SemaphoreSlim> as the implementation. It also permits a "queue" outside the bulkhead. You can proactively shed excess load even before execution (for example, because capacity is deemed full). This makes its response to certain failure scenarios faster than a circuit breaker would be, since the circuit breaker waits for the failures. The BulkheadPolicy object in [Polly](https://thepollyproject.azurewebsites.net/) exposes how full the bulkhead and queue are, and offers events on overflow so can also be used to drive automated horizontal scaling.
22+
**Limit the number of queued requests**. Clients should also impose an upper bound on the number of outstanding requests that a client microservice can send to a particular service. If the limit has been reached, it's probably pointless to make additional requests, and those attempts should fail immediately. In terms of implementation, the Polly [Bulkhead Isolation](https://github.com/App-vNext/Polly/wiki/Bulkhead) policy can be used to fulfill this requirement. This approach is essentially a parallelization throttle with <xref:System.Threading.SemaphoreSlim> as the implementation. It also permits a "queue" outside the bulkhead. You can proactively shed excess load even before execution (for example, because capacity is deemed full). This makes its response to certain failure scenarios faster than a circuit breaker would be, since the circuit breaker waits for the failures. The BulkheadPolicy object in [Polly](https://www.pollydocs.org/) exposes how full the bulkhead and queue are, and offers events on overflow so can also be used to drive automated horizontal scaling.
2323

2424
## Additional resources
2525

docs/architecture/microservices/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ To address the issues mentioned above and to make `HttpClient` instances managea
2525

2626
The alternative is to use `SocketsHttpHandler` with configured `PooledConnectionLifetime`. This approach is applied to long-lived, `static` or singleton `HttpClient` instances. To learn more about different strategies, see [HttpClient guidelines for .NET](../../../fundamentals/networking/http/httpclient-guidelines.md).
2727

28-
[Polly](https://thepollyproject.azurewebsites.net/) is a transient-fault-handling library that helps developers add resiliency to their applications, by using some pre-defined policies in a fluent and thread-safe manner.
28+
[Polly](https://www.pollydocs.org/) is a transient-fault-handling library that helps developers add resiliency to their applications, by using some pre-defined policies in a fluent and thread-safe manner.
2929

3030
## Benefits of using IHttpClientFactory
3131

@@ -204,7 +204,7 @@ Up to this point, the above code snippet only shows the example of performing re
204204
<https://github.com/dotnet/runtime/tree/release/7.0/src/libraries/Microsoft.Extensions.Http/>
205205

206206
- **Polly (.NET resilience and transient-fault-handling library)**
207-
<https://thepollyproject.azurewebsites.net/>
207+
<https://www.pollydocs.org/>
208208

209209
>[!div class="step-by-step"]
210210
>[Previous](implement-resilient-entity-framework-core-sql-connections.md)

docs/azure/sdk/aspnetcore-guidance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The Azure SDK for .NET enables ASP.NET Core apps to integrate with many differen
2020
ASP.NET Core apps that connect to Azure services generally depend on the following Azure SDK client libraries:
2121

2222
- [Microsoft.Extensions.Azure](https://www.nuget.org/packages/Microsoft.Extensions.Azure) provides helper methods to register clients with the dependency injection service collection and handles various concerns for you, such as setting up logging, handling DI service lifetimes, and authentication credential management.
23-
- [Azure.Identity](https://www.nuget.org/packages/Azure.Identity) enables Microsoft Entra ID authentication support across the Azure SDK. It provides a set of [TokenCredential](/dotnet/api/azure.core.tokencredential?view=azure-dotnet) implementations to construct Azure SDK clients that support Microsoft Entra authentication.
23+
- [Azure.Identity](https://www.nuget.org/packages/Azure.Identity) enables Microsoft Entra ID authentication support across the Azure SDK. It provides a set of <xref:Azure.Core.TokenCredential> implementations to construct Azure SDK clients that support Microsoft Entra authentication.
2424
- `Azure.<service-namespace>` libraries, such as [Azure.Storage.Blobs](https://www.nuget.org/packages/Azure.Storage.Blobs) and [Azure.Messaging.ServiceBus](https://www.nuget.org/packages/Azure.Messaging.ServiceBus), provide service clients and other types to help you connect to and consume specific Azure services. For a complete inventory of these libraries, see [Libraries using Azure.Core](packages.md#libraries-using-azurecore).
2525

2626
In the sections ahead, you'll explore how to implement an ASP.NET Core application that uses these libraries.

docs/azure/sdk/authentication/additional-methods.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ For more exact control, such as setting redirect URIs, you can supply specific a
3939

4040
## Interactive brokered authentication
4141

42-
This method interactively authenticates an application through [`InteractiveBrowserCredential`](/dotnet/api/azure.identity.interactivebrowsercredential?view=azure-dotnet) by collecting user credentials using the system authentication broker. A system authentication broker is an app running on a user's machine that manages the authentication handshakes and token maintenance for all connected accounts. Currently, only the Windows authentication broker, Web Account Manager (WAM), is supported. Users on macOS and Linux will be authenticated through the non-brokered interactive browser flow.
42+
This method interactively authenticates an application through <xref:Azure.Identity.InteractiveBrowserCredential> by collecting user credentials using the system authentication broker. A system authentication broker is an app running on a user's machine that manages the authentication handshakes and token maintenance for all connected accounts. Currently, only the Windows authentication broker, Web Account Manager (WAM), is supported. Users on macOS and Linux will be authenticated through the non-brokered interactive browser flow.
4343

4444
WAM enables identity providers such as Microsoft Entra ID to natively plug into the OS and provide the service to other apps to provide a more secure login process. WAM offers the following benefits:
4545

@@ -80,7 +80,7 @@ Perform the following steps to enable the application to authenticate through th
8080
8181
### Example using InteractiveBrowserCredential
8282
83-
The following example demonstrates using an [`InteractiveBrowserCredential`](/dotnet/api/azure.identity.interactivebrowsercredential?view=azure-dotnet) in a Windows Forms app to authenticate with the [`BlobServiceClient`](/dotnet/api/azure.storage.blobs.blobserviceclient):
83+
The following example demonstrates using an <xref:Azure.Identity.InteractiveBrowserCredential> in a Windows Forms app to authenticate with the [`BlobServiceClient`](/dotnet/api/azure.storage.blobs.blobserviceclient):
8484
8585
:::code language="csharp" source="../snippets/authentication/additional-auth/interactive/InteractiveBrokeredAuth.cs" highlight="16-20":::
8686

docs/azure/sdk/authentication/user-assigned-managed-identity.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ User-assigned managed identities are created as standalone resources in your Azu
4141

4242
### [Azure CLI](#tab/azure-cli)
4343

44-
Use the Azure CLI command [`az identity create`](/cli/azure/identity?view=azure-cli-latest#az-identity-create) to create a managed identity:
44+
Use the Azure CLI command [`az identity create`](/cli/azure/identity#az-identity-create) to create a managed identity:
4545

4646
```azurecli
4747
az identity create \
@@ -53,7 +53,7 @@ az identity create \
5353

5454
The command output prints the client ID of the created user-assigned managed identity. The client ID is used to configure application code that relies on the identity.
5555

56-
You can always view the managed identity properties again using the [`az identity show`](/cli/azure/identity?view=azure-cli-latest#az-identity-show) command:
56+
You can always view the managed identity properties again using the [`az identity show`](/cli/azure/identity#az-identity-show) command:
5757

5858
```azurecli
5959
az identity show \
@@ -83,7 +83,7 @@ A user-assigned managed identity can be associated with one or more Azure resour
8383

8484
The Azure CLI provides different commands to assign a user-assigned managed identity to different types of hosting services.
8585

86-
1. To assign a user-assigned managed identity to a resource such as an Azure App Service web app using the Azure CLI, you'll need the resource ID of the identity. Use the [`az identity show`](/cli/azure/identity?view=azure-cli-latest#az-identity-show) command to retrieve the resource ID:
86+
1. To assign a user-assigned managed identity to a resource such as an Azure App Service web app using the Azure CLI, you'll need the resource ID of the identity. Use the [`az identity show`](/cli/azure/identity#az-identity-show) command to retrieve the resource ID:
8787

8888
```azurecli
8989
az identity show \
@@ -95,7 +95,7 @@ The Azure CLI provides different commands to assign a user-assigned managed iden
9595
9696
2. Once you have the resource ID, use the Azure CLI command `az <resourceType> identity assign` command to associate the user-assigned managed identity with different resources, such as the following:
9797
98-
For Azure App Service, use the Azure CLI command [`az webapp identity assign`](/cli/azure/webapp/identity?view=azure-cli-latest#az-webapp-identity-assign):
98+
For Azure App Service, use the Azure CLI command [`az webapp identity assign`](/cli/azure/webapp/identity#az-webapp-identity-assign):
9999
100100
```azurecli
101101
az webapp identity assign \
@@ -104,7 +104,7 @@ The Azure CLI provides different commands to assign a user-assigned managed iden
104104
--identities <user-assigned-identity-resource-id>
105105
```
106106
107-
For Azure Container Apps, use the Azure CLI command [`az containerapp identity assign`](/cli/azure/containerapp/identity?view=azure-cli-latest#az-containerapp-identity-assign):
107+
For Azure Container Apps, use the Azure CLI command [`az containerapp identity assign`](/cli/azure/containerapp/identity#az-containerapp-identity-assign):
108108
109109
```azurecli
110110
az containerapp identity assign \
@@ -113,7 +113,7 @@ The Azure CLI provides different commands to assign a user-assigned managed iden
113113
--identities <user-assigned-identity-resource-id>
114114
```
115115
116-
For Azure Virtual Machines, use the Azure CLI command [`az vm identity assign`](/cli/azure/vm/identity?view=azure-cli-latest#az-vm-identity-assign):
116+
For Azure Virtual Machines, use the Azure CLI command [`az vm identity assign`](/cli/azure/vm/identity#az-vm-identity-assign):
117117
118118
```azurecli
119119
az vm identity assign \

docs/azure/sdk/pagination.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ For the latest directory of Azure SDK for .NET packages, see [Azure SDK latest r
2727

2828
Clients instantiated from the Azure SDK for .NET can return the following pageable types.
2929

30-
| Type | Description |
31-
|--|--|
32-
| [`Pageable<T>`](xref:Azure.Pageable%601) | A collection of values retrieved in pages |
30+
| Type | Description |
31+
|----------------------------------------------------|----------------------------------------------------------|
32+
| [`Pageable<T>`](xref:Azure.Pageable%601) | A collection of values retrieved in pages |
3333
| [`AsyncPageable<T>`](xref:Azure.AsyncPageable%601) | A collection of values asynchronously retrieved in pages |
3434

3535
Most of the samples in this article are asynchronous, using variations of the `AsyncPageable<T>` type. Using asynchronous programming for I/O-bound operations is ideal. A perfect use case is using the async APIs from the Azure SDK for .NET as these operations represent HTTP/S network calls.
3636

3737
## Iterate over `AsyncPageable` with `await foreach`
3838

39-
To iterate over an `AsyncPageable<T>` using the [`await foreach`](/dotnet/csharp/language-reference/proposals/csharp-8.0/async-streams#foreach) syntax, consider the following example:
39+
To iterate over an `AsyncPageable<T>` using the [`await foreach`](/dotnet/csharp/language-reference/language-specification/statements#13953-await-foreach) syntax, consider the following example:
4040

4141
:::code source="snippets/pagination/Program.cs" range="38-46":::
4242

docs/core/diagnostics/compare-metric-apis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ Most application performance monitoring (APM) vendors such as [AppDynamics](http
5858
[Application Insights](/azure/azure-monitor/app/app-insights-overview),
5959
[DataDog](https://www.datadoghq.com/), [DynaTrace](https://www.dynatrace.com/), and
6060
[NewRelic](https://newrelic.com/) include metrics APIs as part of their instrumentation libraries.
61-
[Prometheus](https://github.com/prometheus-net/prometheus-net) and [AppMetrics](https://www.app-metrics.io/) are also popular .NET OSS projects.
61+
[Prometheus](https://github.com/prometheus-net/prometheus-net) and [AppMetrics](https://github.com/AppMetrics/AppMetrics) are also popular .NET OSS projects.
6262
To learn more about these projects, check the various project websites.

0 commit comments

Comments
 (0)