Skip to content

Commit dfe9712

Browse files
Apply suggestions from code review
Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
1 parent bd34062 commit dfe9712

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

aspnetcore/performance/rate-limit.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ app.UseEndpoints(endpoints =>
143143

144144
```
145145

146-
#### Apply rate limiting to Blazor Server Pages
146+
#### Apply rate limiting to server-side Blazor apps
147147

148148
To set rate limiting to all pages, [`RequireRateLimiting(Policy)`](/dotnet/api/microsoft.aspnetcore.builder.ratelimiterendpointconventionbuilderextensions.requireratelimiting) can be specified on the MapRazorComponents call, for example:
149149

@@ -158,7 +158,7 @@ To set a policy for a single Razor component, the [`[EnableRateLimiting]` attrib
158158
``` blazor
159159
@page "/counter"
160160
@using Microsoft.AspNetCore.RateLimiting
161-
@attribute [EnableRateLimiting("blazor")]
161+
@attribute [EnableRateLimiting("Policy")]
162162
163163
<h1>Counter</h1>
164164
```

0 commit comments

Comments
 (0)