Skip to content

Commit 10e789a

Browse files
authored
fix typos (#42384)
1 parent 209bd91 commit 10e789a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/core/compatibility/aspnet-core/8.0/addratelimiter-requirement.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ Rate-limiting middleware requires services that are only registered by calling <
4545

4646
## Recommended action
4747

48-
Ensure that <xref:Microsoft.AspNetCore.Builder.RateLimiterApplicationBuilderExtensions.UseRateLimiter%2A> is called at application startup.
48+
Ensure that <xref:Microsoft.AspNetCore.Builder.RateLimiterServiceCollectionExtensions.AddRateLimiter%2A> is called at application startup.
4949

50-
For example, update `Configure<RateLimiterOptions>(o => { })` to use <xref:Microsoft.AspNetCore.Builder.RateLimiterApplicationBuilderExtensions.UseRateLimiter%2A>:
50+
For example, update `Configure<RateLimiterOptions>(o => { })` to use <xref:Microsoft.AspNetCore.Builder.RateLimiterServiceCollectionExtensions.AddRateLimiter%2A>:
5151

5252
```csharp
5353
var builder = WebApplication.CreateBuilder(args);

0 commit comments

Comments
 (0)