Skip to content

Commit cd5ab3e

Browse files
Light Freshness: ASP.NET - SignalR (7 topics) (#37165)
* refresh content * refresh content * refresh content * refresh content * refresh content * edits * refresh content * Apply suggestions from code review Co-authored-by: Wade Pickett <wpickett@microsoft.com> --------- Co-authored-by: Wade Pickett <wpickett@microsoft.com>
1 parent fdd831d commit cd5ab3e

17 files changed

Lines changed: 496 additions & 440 deletions

File tree

aspnetcore/blazor/fundamentals/signalr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ hubConnection = new HubConnectionBuilder()
139139

140140
The preceding example configures the hub connection URL to the absolute URI address at `/chathub`. The URI can also be set via a string, for example `https://signalr.example.com`, or via [configuration](xref:blazor/fundamentals/configuration). `Navigation` is an injected <xref:Microsoft.AspNetCore.Components.NavigationManager>.
141141

142-
For more information, see <xref:signalr/configuration#configure-additional-options>.
142+
For more information, see <xref:signalr/configuration#configure-other-options>.
143143

144144
## Client-side rendering
145145

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
> [!NOTE]
2-
> ASP.NET Core SignalR server-side assemblies are now installed with the .NET Core SDK. See [SignalR assemblies in shared framework](xref:migration/22-to-30#signalr-assemblies-in-shared-framework) for more information.
2+
> ASP.NET Core SignalR server-side assemblies are now installed with the .NET Core SDK. For more information, see [SignalR assemblies in shared framework](xref:migration/22-to-30#signalr-assemblies-in-shared-framework).

aspnetcore/release-notes/aspnetcore-9/includes/signalr-trimming-aot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ The preceding example produces a native Windows executable of 10 MB and a Linux
2424
* As shown in the preceding code, apps that use JSON serialization and Native AOT must use the `System.Text.Json` Source Generator.
2525
* This follows the same approach as Minimal APIs.
2626
* On the SignalR server, Hub method parameters of type `IAsyncEnumerable<T>` and `ChannelReader<T>` where `T` is a ValueType (`struct`) aren't supported. Using these types results in a runtime exception at startup in development and in the published app. For more information, see [SignalR: Using IAsyncEnumerable&lt;T&gt; and ChannelReader&lt;T&gt; with ValueTypes in native AOT (`dotnet/aspnetcore` #56179)](https://github.com/dotnet/aspnetcore/issues/56179).
27-
* [Strongly typed hubs](xref:signalr/hubs#strongly-typed-hubs) aren't supported with Native AOT (`PublishAot`). Using strongly typed hubs with Native AOT will result in warnings during build and publish, and a runtime exception. Using strongly typed hubs with trimming (`PublishedTrimmed`) is supported.
27+
* [Strongly typed hubs](xref:signalr/hubs#use-strongly-typed-hubs) aren't supported with Native AOT (`PublishAot`). Using strongly typed hubs with Native AOT will result in warnings during build and publish, and a runtime exception. Using strongly typed hubs with trimming (`PublishedTrimmed`) is supported.
2828
* Only `Task`, `Task<T>`, `ValueTask`, or `ValueTask<T>` are supported for async return types.
2929

aspnetcore/signalr/authn-and-authz.md

Lines changed: 37 additions & 32 deletions
Large diffs are not rendered by default.

aspnetcore/signalr/background-services.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Hosting ASP.NET Core SignalR Hubs in the context of a background worker process
3030

3131
In the preceding example, the `ClockHub` class implements the `Hub<T>` class to create a strongly typed Hub. The `ClockHub` has been configured in `Program.cs` to respond to requests at the endpoint `/hubs/clock`.
3232

33-
For more information on strongly typed Hubs, see [Use hubs in SignalR for ASP.NET Core](xref:signalr/hubs#strongly-typed-hubs).
33+
For more information on strongly typed Hubs, see [Use hubs in SignalR for ASP.NET Core](xref:signalr/hubs#use-strongly-typed-hubs).
3434

3535
> [!NOTE]
3636
> This functionality isn't limited to the [Hub\<T>](xref:Microsoft.AspNetCore.SignalR.Hub`1) class. Any class that inherits from [Hub](xref:Microsoft.AspNetCore.SignalR.Hub), such as [DynamicHub](xref:Microsoft.AspNetCore.SignalR.DynamicHub), works.
@@ -93,7 +93,7 @@ Hosting ASP.NET Core SignalR Hubs in the context of a background worker process
9393

9494
In the preceding example, the `ClockHub` class implements the `Hub<T>` class to create a strongly typed Hub. The `ClockHub` has been configured in the `Startup` class to respond to requests at the endpoint `/hubs/clock`.
9595

96-
For more information on strongly typed Hubs, see [Use hubs in SignalR for ASP.NET Core](xref:signalr/hubs#strongly-typed-hubs).
96+
For more information on strongly typed Hubs, see [Use hubs in SignalR for ASP.NET Core](xref:signalr/hubs#use-strongly-typed-hubs).
9797

9898
> [!NOTE]
9999
> This functionality isn't limited to the [Hub\<T>](xref:Microsoft.AspNetCore.SignalR.Hub`1) class. Any class that inherits from [Hub](xref:Microsoft.AspNetCore.SignalR.Hub), such as [DynamicHub](xref:Microsoft.AspNetCore.SignalR.DynamicHub), works.
@@ -156,7 +156,7 @@ Hosting ASP.NET Core SignalR Hubs in the context of a background worker process
156156

157157
In the preceding example, the `ClockHub` class implements the `Hub<T>` class to create a strongly typed Hub. The `ClockHub` has been configured in the `Startup` class to respond to requests at the endpoint `/hubs/clock`.
158158

159-
For more information on strongly typed Hubs, see [Use hubs in SignalR for ASP.NET Core](xref:signalr/hubs#strongly-typed-hubs).
159+
For more information on strongly typed Hubs, see [Use hubs in SignalR for ASP.NET Core](xref:signalr/hubs#use-strongly-typed-hubs).
160160

161161
> [!NOTE]
162162
> This functionality isn't limited to the [Hub\<T>](xref:Microsoft.AspNetCore.SignalR.Hub`1) class. Any class that inherits from [Hub](xref:Microsoft.AspNetCore.SignalR.Hub), such as [DynamicHub](xref:Microsoft.AspNetCore.SignalR.DynamicHub), works.
@@ -212,4 +212,4 @@ During the `IHostedService.StopAsync` method, the `HubConnection` is disposed of
212212
* [Get started](xref:tutorials/signalr)
213213
* [Hubs](xref:signalr/hubs)
214214
* [Publish to Azure](xref:signalr/publish-to-azure-web-app)
215-
* [Strongly typed Hubs](xref:signalr/hubs#strongly-typed-hubs)
215+
* [Strongly typed Hubs](xref:signalr/hubs#use-strongly-typed-hubs)

0 commit comments

Comments
 (0)