Skip to content

Commit

Permalink
Merge pull request #32241 from dotnet/main
Browse files Browse the repository at this point in the history
Merge to Live
  • Loading branch information
Rick-Anderson authored Apr 3, 2024
2 parents f1f9458 + 727e4a2 commit b6ac003
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion aspnetcore/blazor/fundamentals/routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -1656,7 +1656,6 @@ public IEnumerable<string> GetRoutableComponents()
.Where(t => t.IsSubclassOf(typeof(ComponentBase)))
.Where(c => c.GetCustomAttributes(inherit: true)
.OfType<RouteAttribute>()
.ToArray()
.Any())
.Where(c => c.Name != "Home" && c.Name != "Error")
.OrderBy(o => o.Name)
Expand Down
4 changes: 2 additions & 2 deletions aspnetcore/blazor/fundamentals/signalr.md
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ protected override async Task OnInitializedAsync()
:::moniker-end
When changing the values of the server timeout (<xref:Microsoft.AspNetCore.SignalR.Client.HubConnection.ServerTimeout>) or the Keep-Alive interval (<xref:Microsoft.AspNetCore.SignalR.Client.HubConnection.KeepAliveInterval>:
When changing the values of the server timeout (<xref:Microsoft.AspNetCore.SignalR.Client.HubConnection.ServerTimeout>) or the Keep-Alive interval (<xref:Microsoft.AspNetCore.SignalR.Client.HubConnection.KeepAliveInterval>):
* The server timeout should be at least double the value assigned to the Keep-Alive interval.
* The Keep-Alive interval should be less than or equal to half the value assigned to the server timeout.
Expand Down Expand Up @@ -1284,7 +1284,7 @@ protected override async Task OnInitializedAsync()
:::moniker range=">= aspnetcore-6.0"
When changing the values of the server timeout (<xref:Microsoft.AspNetCore.SignalR.Client.HubConnection.ServerTimeout>) or the Keep-Alive interval (<xref:Microsoft.AspNetCore.SignalR.Client.HubConnection.KeepAliveInterval>:
When changing the values of the server timeout (<xref:Microsoft.AspNetCore.SignalR.Client.HubConnection.ServerTimeout>) or the Keep-Alive interval (<xref:Microsoft.AspNetCore.SignalR.Client.HubConnection.KeepAliveInterval>):
* The server timeout should be at least double the value assigned to the Keep-Alive interval.
* The Keep-Alive interval should be less than or equal to half the value assigned to the server timeout.
Expand Down
4 changes: 2 additions & 2 deletions aspnetcore/diagnostics/asp0018.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: "Learn about analysis rule ASP0018: Unused route parameter"
author: tdykstra
monikerRange: '>= aspnetcore-8.0'
ms.author: tdykstra
ms.date: 11/22/2022
ms.date: 4/1/2024
uid: diagnostics/asp0018
---
# ASP0018: Unused route parameter
Expand Down Expand Up @@ -40,4 +40,4 @@ app.MapGet("/{id}", (id) => ...);

## When to suppress warnings

Do not suppress a warning from this rule.
In general, do ***not*** suppress a warning from this rule without validating the route parameter is used. Currently properties within the bound model for [FromRoute](xref:Microsoft.AspNetCore.Mvc.FromRouteAttribute) attributes may not be analyzed. For more information, see [GitHub issue `#54212`](https://github.com/dotnet/aspnetcore/issues/54212).
4 changes: 2 additions & 2 deletions aspnetcore/razor-pages/ui-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ For information on how to integrate npm and webpack into the build process for a
* From Visual Studio select **Create new a new project**.
* Select **Razor Class Library** > **Next**.
* Name the library (for example, "RazorClassLib"), > **Create**. To avoid a file name collision with the generated view library, ensure the library name doesn't end in `.Views`.
* Select **Support pages and views** if you need to support views. By default, only Razor Pages are supported. Select **Create**.
* Select **Support pages and views** if you need the library to contain pages and/or views. By default, only Razor components are supported. Select **Create**.

The Razor class library (RCL) template defaults to Razor component development by default. The **Support pages and views** option supports pages and views.
The Razor class library (RCL) template defaults to Razor component development by default. The **Support pages and views** option supports pages and views. For more information on RCL support in Blazor, see <xref:blazor/components/class-libraries>.

# [.NET Core CLI](#tab/netcore-cli)

Expand Down

0 comments on commit b6ac003

Please sign in to comment.