Conversation
guardrex
marked this pull request as draft
September 16, 2026 15:35
Corrected a typo in the documentation regarding the hub's constructor and database operations. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
guardrex
marked this pull request as ready for review
September 17, 2026 17:27
BrennanConroy
approved these changes
Sep 22, 2026
|
|
||
| You can specify a return type and parameters, including complex types and arrays, as you would in any C# method. SignalR handles the serialization and deserialization of complex objects and arrays in your parameters and return values. | ||
|
|
||
| ## Inject services into a hub |
Member
There was a problem hiding this comment.
Nit: Can we delete this file and the 6 and 7 versions?
Collaborator
Author
There was a problem hiding this comment.
Yes ... but it's a task for another issue because its going to take a minute to untangle the coverage and set the content and versioning into place. I opened #37729 for it. If Wade is busy, I told him that he can assign me to take care of it, and I might be able to do so by EOW.
BrennanConroy
approved these changes
Sep 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #9658
I discovered this old issue (Nov, 2018) while working on the Fundamentals node for Blazor. This SignalR/DI issue should be closed out separately from Blazor work on the DI article because the Blazor work was already addressed by #36816.
I'm adding content to the existing DI section, and I'm updating the current content.
I'm taking the thrust of the lifetime comments from Ashley's remarks at #9658 (comment). The rest comes from a combo of knowledge, reference content, and AI suggestions ... and Copilot and I churned quite a bit on phrasing. I hope we came up with the right language here. 🤞🍀
Brennan, your comment here about
IHubContext<T>on that issue was already addressed by some other PR since then, but it was addressed in the Create a hub section. I'm moving it down to the existing section on DI.Internal previews
Build report