Repository navigation
Description
On which page? π
What's wrong? β
To me its unclear, how this Sample/Tutorial exactly shows to me the integration in a Uno App, because it seems to only show ASP NET Core Programm.cs code, but nothing I would know from my regular Uno App Template.
The Tutorial should be improved by adding a Uno App context, like Supported Platforms and what we can expect in the end to see. The current registration in asp net core makes me as new to SignalR-User assume, that:
- I will end up with Razor Pages in my Uno App Solution instead of getting a Uno Wasm target driven UI? (see the
MapRazorPages()call in the second code sample block contained in this docs page!) - The Questions:
- "Does Uno or at least its browserwasm target behave exactly like Razor Pages?"
- "So am I able to register and show my Uno Wasm UI on a ASP NET Core Server to be shown at runtime?"
- "Is the
Uno.Wasm.Bootstrap.ServerNuGet of Uno possibly required for exactly this?" since I only have been able to find docs for non-Server package using samples in the Bootstrapper docs (not equivalent to the Uno App Templates contained Server option, I am aware of this! But this is exactly the missing point!)
The UnoChat Sample Readme in Uno.Samples Repo does compared to this docs page show to me a (Web?) UI and Console app, while I would not know of any way to have a Console App as UI in Uno (I indeed tryed this, but was not possible to establish using the current docs. nobody tells what hostbuilder setup in programm.cs I would be needing. And also the sample global.json file shows to me a 5.3.96 version, which is defintly not a Version I would rely on, when searching for a lookup. too many versions and especially breaking changes (SkiaRenderer, Desktop target...) did happen meanwhile.
additionally, it would make sense, to let the reader know of all of the code we seem to need in the ViewModel, if I would want to beleave the Sample eitherway:
https://github.com/unoplatform/Uno.Samples/blob/master/UI/ChatSignalR/src/UnoChat/Presentation/ViewModel.cs
and turns out, the answer to the filed question above with the "will I end up using Razor Pages in a Uno App as UI instead of a Uno Wasm target" is "Yes, you will rather use Razor then Web Assembly UI build with the Uno.Sdk!"
Any feedback? π¬
Just a feedback from my POV, this tutorial paints to me a really sad image and impression when it comes to the Uno Wasm Target integration.
I know that we can not have a server side rendering, but is our Wasm target really this kind of bad integrate-able with a ASP NET Core Server, so we need to make advertisement for sending Uno Users over to using Razor / Blazor instead, where it seems to be possible to integrate and fully/detailed document this with a Server project? π€·
I have been searching for a Gprc using sample, like the Maui Client of the dotnet/eShop Sample is doing, but while I am quite sure there have been one in the Uno docs in the past, all I can find now is the Migration page here: https://platform.uno/docs/articles/guides/silverlight-migration/08-data-access-overview.html#_content of silverlight, which projects has been removed from VS support up from the 2017 Version!!!
Silverlight | Silverlight projects were removed in Visual Studio 2017. -- | --
Activity
Jen-Uno commentedon Mar 6, 2026
Validation update (2026-03-05): I reviewed this on branch fix/algolia-docsearch-duplicates-and-layout (PR #22789). This issue still persists / is not resolved by the current branch changes. Tracking and consolidation: #22788.
Jen-Uno commentedon Mar 6, 2026
Updated validation (2026-03-05): Confirmed the SignalR docs at
doc/articles/signalr.mdreference aspnetcore-7.0, use Startup.cs pattern, and list Visual Studio 2019 as prerequisite. Content is significantly outdated. Issue persists. Tracking: #22788.Jen-Uno commentedon Mar 6, 2026
Resolution
This issue has been addressed in commit
237a71e2df32on branchfix/algolia-docsearch-duplicates-and-layout(PR #22789).The SignalR tutorial (
doc/articles/signalr.md) has been fully rewritten to resolve all concerns raised:aspnetcore-7.0, VS2019,Startup.cspatternProgram.csAddRazorPages()/MapRazorPages()suggests Razor instead of UnoAddSignalR()+MapHub<>()HubConnectioncode-behind withDispatcherQueuemarshaling + XAML UIWithAutomaticReconnect()customization + connection state event handlersRelated to #22788
docs: modernize SignalR integration tutorial
Jen-Uno commentedon Mar 6, 2026
Official sample update complete: the Uno.Samples ChatSignalR sample has been modernized to align with the new SignalR documentation.
Updated in Uno.Samples:
Validation: UnoChat.Service and UnoChat.Client.Console build successfully after the update.
MartinZikmund commentedon May 18, 2026
Thanks for the detailed feedback @DevTKSS - this is very fair. Looking at
doc/articles/signalr.mdon master, the tutorial is indeed outdated (aspnetcore-7.0,Startup.cs, VS2019) and crucially shows no Uno client integration, which is exactly what a reader on this page expects. TheAddRazorPages/MapRazorPagescalls are also a leftover from the ASP.NET template rather than something Uno itself requires, and I can see how that's confusing.We'll keep this open in the docs backlog. The rewrite should: drop the Razor Pages noise, modernize to .NET 9+ minimal API, add an end-to-end
HubConnectionexample withDispatcherQueuemarshaling, document supported targets (WASM/Skia/Mobile) including the CORS story for WASM, and align with the updated Uno.Samples ChatSignalR sample. Appreciate you laying this out so concretely.docs: modernize SignalR integration tutorial
docs: modernize SignalR integration tutorial