oktykrk
oktykrk

Reputation: 111

How to use SignalR under subdomain of Asp.NET Core application

I am working on a project which has subdomains like:

'example.com', 'app.example.com' and 'admin.example.com'

and iis is acting like each subdomain is like an app. iis snapshot.

I want to use SignalR under the sub domain 'app' but could not achieve. Installed the packages:

"Microsoft.AspNetCore.SignalR.Server": "0.2.0-*"

"Microsoft.AspNetCore.WebSockets": "0.2.0-*"

It worked under 'example.com' but not under 'app.example.com'

Got 404 error while trying to find the src 'signalr/hubs'.

How can I route the signalr to my subdomain 'app'.

Best regards

Upvotes: 0

Views: 547

Answers (1)

Pawel
Pawel

Reputation: 31620

"Microsoft.AspNetCore.SignalR.Server": "0.2.0-*" is dead. Don't use it. SignalR for Asp.NET Core version is developed here. It's very early though and things keep changing rapidly.

Upvotes: 1

Related Questions