AspNetCore.Docs/aspnetcore/signalr
Liangying.Wei 996e8a595a
No need to explicitly call RemoveFromGroupAsync (#26394)
* No need to explicitly call RemoveFromGroupAsync

The sample added this explicit `RemoveFromGroupAsync` call when the connection disconnects, however, it is a redundant call since when the connection disconnects, it is automatically removed from the group. 
We have customers using Azure SignalR followed this sample and invokes `RemoveFromGroupAsync` for every client disconnect, this increases unnecessary burdon to the Azure SignalR service when the client connection closes burst.

* Update hubs.md

Section Handle events for a connection for all versions: Noted no need for RemoveFromGroupAsync in OnConnectedAsync

* Update hubs.md

Added note on RemoveFromGroupsAsync to all versions of topic.  Corrected Typo.

* Update aspnetcore/signalr/hubs.md

Improved statement.

Co-authored-by: Brennan <brecon@microsoft.com>

* Update hubs.md

Updated statement on RemoveFromGroupAsync for all topic versions.

* Update gRPC example for StronglyTypedChatHubs.cs

Removed RemoveFromGroupAsync call from OnDisconnectedAsync.

Co-authored-by: Wade Pickett <wpickett@microsoft.com>
Co-authored-by: Brennan <brecon@microsoft.com>
2022-07-15 11:32:57 -10:00
..
api-design/sample fix #9405 by adding api design docs (#9455) 2018-11-12 15:16:31 -06:00
authn-and-authz Remove .min ref from all non-Blazor projects /2 (#26216) 2022-06-23 15:27:45 -10:00
background-service/samples Add SignalR background service 6.0 sample (#25361) 2022-03-21 17:59:04 +00:00
configuration/6.0-samples SignalR config to .NET 6 /2 (#26294) 2022-07-05 09:53:41 -10:00
diagnostics Fixes #21032 - Updates outdated SignalR package reference in custom logging example (#21033) 2020-12-28 13:27:59 -06:00
dotnet-client Remove .min ref from all non-Blazor projects /2 (#26216) 2022-06-23 15:27:45 -10:00
groups/sample Remove .min ref from all non-Blazor projects /2 (#26216) 2022-06-23 15:27:45 -10:00
hubcontext/sample Remove .min ref from all non-Blazor projects /2 (#26216) 2022-06-23 15:27:45 -10:00
hubs/samples/2.x/SignalRChat No need to explicitly call RemoveFromGroupAsync (#26394) 2022-07-15 11:32:57 -10:00
java-client/sample Add docs for MessagePack (#21090) 2021-01-07 16:08:26 -08:00
javascript-client/samples Remove .min ref from all non-Blazor projects /2 (#26216) 2022-06-23 15:27:45 -10:00
publish-to-azure-web-app/_static Update Azure SignalR Service in VS (#20345) 2020-11-02 12:31:39 -06:00
scale/_static Compressed .PNG image files (#15654) 2019-11-11 10:53:59 -06:00
security/sample Replace status code with status code enum (#22116) 2021-04-23 10:14:47 -10:00
streaming/samples Remove .min ref from all non-Blazor projects /2 (#26216) 2022-06-23 15:27:45 -10:00
api-design.md Institute global no-loc (#26036) 2022-06-03 11:35:55 -10:00
authn-and-authz.md Institute global no-loc (#26036) 2022-06-03 11:35:55 -10:00
background-services.md Institute global no-loc (#26036) 2022-06-03 11:35:55 -10:00
client-features.md Institute global no-loc (#26036) 2022-06-03 11:35:55 -10:00
configuration.md SignalR config to .NET 6 /2 (#26294) 2022-07-05 09:53:41 -10:00
diagnostics.md Institute global no-loc (#26036) 2022-06-03 11:35:55 -10:00
dotnet-client.md Institute global no-loc (#26036) 2022-06-03 11:35:55 -10:00
groups.md Institute global no-loc (#26036) 2022-06-03 11:35:55 -10:00
hub-filters.md added the implicit type declarator using var 2022-07-03 03:21:50 +01:00
hubcontext.md Institute global no-loc (#26036) 2022-06-03 11:35:55 -10:00
hubs.md No need to explicitly call RemoveFromGroupAsync (#26394) 2022-07-15 11:32:57 -10:00
introduction.md Institute global no-loc (#26036) 2022-06-03 11:35:55 -10:00
java-client.md Institute global no-loc (#26036) 2022-06-03 11:35:55 -10:00
javascript-client.md Remove .min ref from all non-Blazor projects /2 (#26216) 2022-06-23 15:27:45 -10:00
messagepackhubprotocol.md Institute global no-loc (#26036) 2022-06-03 11:35:55 -10:00
publish-to-azure-web-app.md Institute global no-loc (#26036) 2022-06-03 11:35:55 -10:00
redis-backplane.md Institute global no-loc (#26036) 2022-06-03 11:35:55 -10:00
scale.md Institute global no-loc (#26036) 2022-06-03 11:35:55 -10:00
security.md Institute global no-loc (#26036) 2022-06-03 11:35:55 -10:00
streaming.md removed some redundant piece (#26312) 2022-07-04 08:42:28 -07:00
supported-platforms.md Institute global no-loc (#26036) 2022-06-03 11:35:55 -10:00
troubleshoot.md Institute global no-loc (#26036) 2022-06-03 11:35:55 -10:00
version-differences.md Institute global no-loc (#26036) 2022-06-03 11:35:55 -10:00