When installing Microsoft.SignalR.SelfHost package, there was, as in any SignalR nuget package
a readme file opened. However, this time there’s an error in the file that caused me an hour
The readme suggested you call the self-hosted web application as the following:
(Copied from the readme file)
However, the compiler will tell you that there is no class named WebApplication .
After my head-scratching I’ve finally found the error: The class is named WebApp
and not WebApplication.
I hope the readme file will be corrected soon, meanwhile you can use this post.