Skip to content

Commit 36beb3e

Browse files
SignalR: Reference shared framework (#28398)
* SignalR: Reference shared framework * Update aspnetcore/signalr/hubs.md Committing the inline suggestion, and then will update the missing link afterwards. Co-authored-by: Rick Anderson <[email protected]> * Moved 7.0 version up, moved new note to bottom of topics * Removed dupe. * added note in 5 more topics, moved latest versions to top where needed * New include, reduced number of topics, added resources links * Moved link in migration doc to internal. * Added description for xref since subsection title not generated * Removed note from hubcontext, using additional resources link now * Reduced new section in migration topic per Rick suggestion * Apply suggestions from code review Added additional suggestions to link. Co-authored-by: Rick Anderson <[email protected]> * Moved note back to near top of hubs.md all 3 versions per Brennan suggestion --------- Co-authored-by: Rick Anderson <[email protected]>
1 parent a97defb commit 36beb3e

File tree

5 files changed

+253
-237
lines changed

5 files changed

+253
-237
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
> [!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.

aspnetcore/migration/22-to-30.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -878,6 +878,10 @@ services.AddSignalR(hubOptions =>
878878

879879
In ASP.NET Core 2.2, you could set the `TransportMaxBufferSize` and that would effectively control the maximum message size. In ASP.NET Core 3.0, that option now only controls the maximum size before backpressure is observed.
880880

881+
#### SignalR assemblies in shared framework
882+
883+
ASP.NET Core SignalR server-side assemblies are now installed with the .NET Core SDK. For more information, see [Remove obsolete package references](#remove-obsolete-package-references) in this document.
884+
881885
### MVC controllers
882886

883887
Mapping of controllers now takes place inside `UseEndpoints`.

aspnetcore/signalr/api-design.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,7 @@ The older clients won't be expecting the `Sender` value, so they'll ignore it. A
7575
[!code-typescript[OnWithObjectNew](api-design/sample/Samples.ts?name=OnWithObjectNew&highlight=2-5)]
7676

7777
In this case, the new client is also tolerant of an old server that doesn't provide the `Sender` value. Since the old server won't provide the `Sender` value, the client checks to see if it exists before accessing it.
78+
79+
## Additional resources
80+
81+
* [SignalR assemblies in shared framework](xref:migration/22-to-30#signalr-assemblies-in-shared-framework)

aspnetcore/signalr/hubcontext.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to use the ASP.NET Core SignalR HubContext service for se
55
monikerRange: '>= aspnetcore-2.1'
66
ms.author: bradyg
77
ms.custom: mvc
8-
ms.date: 02/13/2023
8+
ms.date: 02/20/2023
99
uid: signalr/hubcontext
1010
---
1111
# Send messages from outside a hub
@@ -149,6 +149,7 @@ This is useful when:
149149

150150
## Additional resources
151151

152+
* [SignalR assemblies in shared framework](xref:migration/22-to-30#signalr-assemblies-in-shared-framework)
152153
* <xref:tutorials/signalr>
153154
* <xref:signalr/hubs>
154155
* <xref:signalr/publish-to-azure-web-app>

0 commit comments

Comments
 (0)