Commit Graph

60 Commits (c46a23f4c4e858c3e35fcb425fecaa5c3c80b5fc)

Author SHA1 Message Date
Wade Pickett ccd94a22bb
GH27996 - SignalR/hubs.md versioning to includes prework (#31435)
* GH27996 - SignalR/hubs.md versioning pre-work
2024-01-12 14:04:00 -08:00
Rick Anderson 299cedc5c9
Update hubs.md 2023-10-18 08:16:54 -10:00
Rick Anderson 62458d2c62
Hub key svc (#30744)
* Add key service to hubs /8

* work

* work

* work

* work
2023-10-17 16:30:46 -10:00
Wade Pickett 36beb3e211
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 <3605364+Rick-Anderson@users.noreply.github.com>

* 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 <3605364+Rick-Anderson@users.noreply.github.com>

* Moved note back to near top of hubs.md all 3 versions per Brennan suggestion

---------

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
2023-02-24 12:23:37 -08:00
Neutrino 4c126955c2
Update hubs.md (#28313)
* Update hubs.md

Make it clear that Hubs should not be created directly.

* Updates

* Update hubs.md

Improved wording.

---------

Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
2023-02-07 09:23:50 -10:00
Brennan e38284cba9
Java supports client results (#28147) 2023-01-23 16:12:35 -08:00
Rick Anderson 7cde037036
Link to SIGNALR ON THE WIRE – AN INFORMAL DESCRIPTION OF THE SIGNALR PROTOCOL (#27820)
* Update troubleshoot.md

* Update introduction.md

* Update hubs.md

* Apply suggestions from code review
2023-01-04 15:21:42 -10:00
Stephen Halter 73f965f673
Remove note about increasing MaximumParallelInvocationsPerClient (#28003)
As of 7.0-rc1, this is no longer necessary
2023-01-03 15:23:57 -10:00
JialinXin 03417904d0
Update content about Azure SignalR (#27570) 2022-11-10 05:32:23 -06:00
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
Brennan 9d2123a231
Update SignalR client results (#26212) 2022-07-12 14:00:23 -07:00
Rick Anderson cc7a860efe
Update hubs.md (#26325)
* Update hubs.md

* Update aspnetcore/signalr/hubs.md

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

Co-authored-by: Brennan <brecon@microsoft.com>
2022-07-05 12:40:08 -10:00
Luke Latham e175588086
Institute global no-loc (#26036)
* Institute global no-loc

* Updates

* Updates

* Updates

* Updates

* Updates
2022-06-03 11:35:55 -10:00
Brennan 9a4748e955
[SignalR] Document client results (#25796) 2022-05-12 13:46:22 -07:00
Brennan 46b747fbe7
Add DI to SignalR hub methods (#25746) 2022-04-27 14:07:44 -07:00
Kirk Larkin 9ab7b55134
Update SignalR Hubs to 6.0 (#25449) 2022-04-01 10:55:49 +01:00
Kirk Larkin 294073a200
Prepare SignalR Hubs for 6.0 (#25447) 2022-03-28 12:36:09 +01:00
Luke Latham 546a06a2d5
Blazor no-loc adds (#25429) 2022-03-25 18:19:18 -05:00
Kirk Larkin aae0235204
Replace "Related Resources" with "Additional Resources" (#25419) 2022-03-25 10:52:14 +00:00
Luke Latham 5f1743e629
Add Blazor Hybrid to no-loc metadata (#25064) 2022-02-18 07:17:09 -06:00
Kirk Larkin e3c99c2fe5
Prefer :::moniker over ::: moniker (#24805) 2022-01-31 13:12:01 -10:00
Vasilis Gaitanidis 25737affa7
Fix typo on example Hub method name (#22664) 2021-07-06 04:50:54 -05:00
Rick Anderson ad321c2700
Add Home and Privacy to no-loc (#22237)
* Add Home and Privacy to no-loc

* Add Home and Privacy to no-loc
2021-05-08 10:12:34 -10:00
Rick Anderson 2f00739f4e
Kestrel to no-loc (#22182) 2021-05-01 13:03:18 -10:00
Scott Addie 09e3573c75 Finish default branch renaming work 2021-03-09 22:40:27 -06:00
Rick Anderson 311cef0e25
appsettings.json noloc (#20320) 2020-10-27 11:27:47 -10:00
Rick Anderson 23bd8d2057
Add ASP.NET Identity to no loc (#19578)
* Add ASP.NET Identity to no loc

* Add ASP.NET Identity to no loc

* Add ASP.NET Identity to no loc

* Add ASP.NET Identity to no loc
2020-08-19 11:07:40 -10:00
Rick Anderson 3a5c8b81d4
add Cookie to no loc (#19446) 2020-08-07 14:55:26 -10:00
Luke Latham 80446f1dd8
Add Blazor WebAssembly/Server to no-loc (#18962) 2020-06-25 19:11:04 -05:00
Luke Latham f2834015b6
Drop existing no-loc entries (#18111) 2020-05-04 12:00:16 -05:00
Scott Addie 9174ead0d3
Update aspnet org. links to reference the dotnet org. (#17077)
* Update aspnet org. links to reference the dotnet org.

* Update API ref links
2020-02-20 19:37:35 -06:00
Wade Pickett 8ae34e4bad New include ConnectId security warning & applied to hubs.md for SignalR (#16573)
* New include connectID security warning & applied to hubs.md for SignalR

* patch: Corrected grammar on include warning.

* patch: adding ConnectID section to security.md for Signalr.

* Update aspnetcore/includes/connectionid-signalr.md

Co-Authored-By: Stephen Halter <halter73@gmail.com>

* Update security.md

Changed "ConnectionID" to "ConnectionId"

Co-authored-by: Stephen Halter <halter73@gmail.com>
2020-01-17 17:47:52 -08:00
Luke Latham 483b8f01ac Apply no-loc metadata for "SignalR" (#15675) 2019-11-12 13:40:34 -06:00
Stephen Halter 1e93eb75f8
Update SignalR 3.0 docs to use Endpoint Routing (#14126) 2019-09-05 14:43:46 -07:00
Luke Latham 217c6f3604 React to repo name change in repo links (#12152) 2019-04-24 14:04:39 -10:00
Nick Schonning d125525ff2 fix: MD038/no-space-in-code (#11583)
- Replace ` with %60 in xref links
- Remove spaces inside code span elements
2019-03-21 15:04:23 -05:00
Scott Addie ed28cd52d3
Fix Markdownlint errors (#11620) 2019-03-21 10:28:16 -05:00
Tom Dykstra 05a3cd396c Assign SignalR docs to Brady (#10575) 2019-01-23 10:36:13 -10:00
Scott Addie 450d889d15
Clarify use of async in strongly typed Hub (#9654)
* Clarify use of async in strongly typed Hub

* Update aspnetcore/signalr/hubs.md

Co-Authored-By: scottaddie <10702007+scottaddie@users.noreply.github.com>

* React to feedback
2018-11-21 11:58:00 -06:00
Scott Addie 009e8a0e6d
Explain what happens when Hub method throws exception (#9653)
Fixes https://github.com/aspnet/Docs/issues/9652
2018-11-20 13:47:35 -06:00
Andrew Stanton-Nurse 0dfa5e0723 updates to hubs document (#9501)
fixes #9497 as well

Some updates that came up as I was writing #9455 but didn't fit there.

[Internal Review Link](https://review.docs.microsoft.com/en-us/aspnet/core/signalr/hubs?view=aspnetcore-2.1&branch=pr-en-us-9501)
2018-11-12 15:53:53 -06:00
Ahmed Yahia cea6c0b17e "call to connection" --> "call on connection" in hubs.md (#9542) 2018-11-10 14:07:37 -08:00
BrennanConroy b2d027899e Describe Hub lifetime (#9439)
Fixes https://github.com/aspnet/Docs/issues/6888

[Internal Review Link](https://review.docs.microsoft.com/en-us/aspnet/core/signalr/hubs?view=aspnetcore-2.1&branch=pr-en-us-9439)
2018-11-06 12:22:41 -06:00
Tom Dykstra b6ba3d220c Table of Contents reorg (#9133)
* overview

* whats new to end

* fix migration node

* split fundamentals, move to end

* glob & loc, get started

* security node name

* security section

* azure, client-side, host

* several more sections

* redistribute tutorials

* proofread fixes

* move how to download section

* index files delete and redirect

* fix errors

* reorder some nodes

* scott feedback, flatten main tutorials node

* fix missed feedback items + other issues

* unflatten tutorials node

* move 'how to download'

* more tutorials node tweaks

* standardize view sample links

* db --> DB

* fix build error

* remove link from a parent node

* streamline node names

* xref links

* typos

* typo

* typos and revert some xref links

* scott feedback

* scott feedback

* feedback

* change node name

* safe storage-->protect
2018-10-26 18:34:40 -10:00
Kevin Griffin 61fdb712c6 Implements #8505 Hub<T> section for signalr/hubs.md (#8508)
Fixes #8505 

Added the section to signalr/hubs.md for Hub<T>.  Added a refactored version of `ChatHub` to use an interface instead of `SendAsync`.  

Any feedback is greatly appreciated!  My first PR to docs!
2018-09-13 09:24:03 -05:00
Tom Dykstra 8035ff6e76
Add Context section to signalr/hubs.md (#8486) 2018-09-11 17:10:04 -07:00
Scott Addie cb24febfda
Update author metadata fields to Tom (#7652)
Updates the `ms.author` and `author` metadata fields to Tom's user ID.
2018-07-16 15:09:39 -05:00
Scott Addie c82465de93
Update metadata for SignalR docs (#7118)
Addresses #6541 

Applies the metadata updates to the ASP.NET Core SignalR docs.
2018-06-18 16:05:13 -05:00
Rachel Appel 07c28f2a01
table fix (#6874) 2018-06-05 12:09:39 +02:00
CodeNotFound d3814fe891 Those methods are not defined at the Hub class (#6397)
* Those methods are not defined at the Hub class

The methods below aren't defined at the Hub class but accessible through Clients property like the first three properties (All, Caller, Others) :

| `AllExcept` | Calls a method on all connected clients except for the specified connections |
| `Client` | Calls a method on a specific connected client |
| `Clients` | Calls a method on specific connected clients |
| `Group` | Sends a message to all connections in the specified group  |
| `GroupExcept` | Sends a message to all connections in the specified group, except the specified connections |
| `Groups` | Sends a message to multiple groups of connections  |
| `OthersInGroup` | Sends a message to a group of connections, excluding the client that invoked the hub method  |
| `User` | Sends a message to all connections associated with a specific user |
| `Users` | Sends a message to all connections associated with the specified users |

So I think it might good to move all those methods description to the first table whic talk about `Clients` property.

* Update hubs.md

Revert to two tables but, for the second table, we specify where the methods come from `Hub.Clients` property.
2018-05-14 21:48:58 +01:00