nugetPackage on .net core2.2.0:
signalr 1.0.0 + ASP.Core2.2.0
I\'m using angular to connect use signalr:
package.json: \"@aspnet/signalr\": \"1.1.0\
You should add your CORS like this:
CORS
services.AddCors(options => { options.AddPolicy("CorsPolicy", builder => builder.WithOrigins("http://localhost:4200") .AllowAnyHeader() .AllowAnyMethod() .AllowCredentials() .SetIsOriginAllowed((host) => true)); });
Note:
The order is important!