I\'m participating in the ASP MVC project.
I want to use SignalR in the project but I don\'t want to use OWIN lib.
As I understand, SignalR is registered in
I was able to do it following this Microsoft documentation: https://docs.microsoft.com/en-us/aspnet/core/signalr/hubs?view=aspnetcore-2.1
Their sample startup class is located here: https://github.com/aspnet/AspNetCore.Docs/blob/master/aspnetcore/signalr/hubs/sample/Startup.cs
public void ConfigureServices(IServiceCollection services)
{
// other configure code
// ...
services.AddSignalR();
}
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
// other configure code
// ...
app.UseSignalR(route =>
{
route.MapHub("/chathub");
});
}