Skip to content

Commit e07ec2a

Browse files
authored
Merge pull request #179728 from atikmapari/Broken-link-kashimiz
Broken link fixed
2 parents 89be361 + 160b027 commit e07ec2a

File tree

1 file changed

+3
-3
lines changed
  • articles/azure-functions/errors-diagnostics/sdk-rules

1 file changed

+3
-3
lines changed

articles/azure-functions/errors-diagnostics/sdk-rules/azf0002.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ This rule is triggered when an [HttpClient](/dotnet/api/system.net.http.httpclie
2020

2121
## Rule description
2222

23-
Simple usage of [`HttpClient`](/dotnet/api/system.net.http.httpclient?view=netcore-3.1&preserve-view=true) to make HTTP requests presents several issues, including vulnerability to socket exhaustion. In a Function app, calling the `HttpClient` constructor in the body of a function method will create a new instance with every function invocation, amplifying these issues. For apps running on a [Consumption hosting plan](../../consumption-plan.md), inefficient `HttpClient` usage can exhaust the plan's [outbound connection limits](/azure/azure-resource-manager/management/azure-subscription-service-limits.md#azure-functions-limits).
23+
Simple usage of [`HttpClient`](/dotnet/api/system.net.http.httpclient?view=netcore-3.1&preserve-view=true) to make HTTP requests presents several issues, including vulnerability to socket exhaustion. In a Function app, calling the `HttpClient` constructor in the body of a function method will create a new instance with every function invocation, amplifying these issues. For apps running on a [Consumption hosting plan](../../consumption-plan.md), inefficient `HttpClient` usage can exhaust the plan's [outbound connection limits](/azure/azure-resource-manager/management/azure-subscription-service-limits#azure-functions-limits).
2424

25-
The [recommended best practice](/dotnet/architecture/microservices/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests.md) is to use an [`IHttpClientFactory`] with dependency injection _or_ a single static `HttpClient` instance, depending on the nature of your application.
25+
The [recommended best practice](/dotnet/architecture/microservices/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests) is to use an [`IHttpClientFactory`] with dependency injection _or_ a single static `HttpClient` instance, depending on the nature of your application.
2626

2727
## How to fix violations
2828

@@ -38,4 +38,4 @@ This rule should not be suppressed.
3838

3939
For more information about connection management best practices in Azure Functions, see [Manage connections in Azure Functions](../../manage-connections.md).
4040

41-
For more information about `HttpClient` behavior issues and management, see [Use IHttpClientFactory to implement resilient HTTP requests](/dotnet/architecture/microservices/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests.md)
41+
For more information about `HttpClient` behavior issues and management, see [Use IHttpClientFactory to implement resilient HTTP requests](/dotnet/architecture/microservices/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests)

0 commit comments

Comments
 (0)