dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
35.18k stars 9.93k forks source link

SignalR with Blazor WebAssembly 3.2 - exception in Microsoft.AspNetCore.SignalR.Client.HubConnectionBuilder.Build() when following tutorial #19115

Closed ChristianWeyer closed 4 years ago

ChristianWeyer commented 4 years ago

Blazor WebAssembly 3.2.0-preview1.20073.1

I am following the 'SignalR with Blazor WebAssembly' tutorial: https://docs.microsoft.com/en-us/aspnet/core/tutorials/signalr-blazor-webassembly?view=aspnetcore-3.1&tabs=visual-studio

However, I get an exception when running my Blazor application:

1 2

3

Repro can be found here: https://github.com/ChristianWeyer/blazor-signalr-repro

Any idea what could be the issue? .cc @danroth27

BrennanConroy commented 4 years ago

Try a full clean and rebuild of the project.

Probably a dupe of https://github.com/dotnet/aspnetcore/issues/18721 which is fixed by https://github.com/dotnet/aspnetcore/pull/18832

ChristianWeyer commented 4 years ago

Hi @BrennanConroy - thanks for the super-quick reply :-)

That was easy. Cool.

Do you mind explaining what happened?