Reputation: 3063
I want to use SignalR selfhosted with Owin.
What are the differences between these two packages:
Microsoft ASP.NET SignalR OWIN
and
Microsoft ASP.NET SignalR Self Host
When to use one or other?
Upvotes: 11
Views: 9448
Reputation: 3063
I think the main difference is, that Microsoft ASP.NET SignalR OWIN
is an older package, because it depends on Microsoft.AspNet.SignalR.Core (>= 1.2.2)
. And Microsoft ASP.NET SignalR Self Host
depends on Microsoft.AspNet.SignalR.Core (>= 2.2.0)
. That is why I will use the Microsoft ASP.NET SignalR Self Host
package.
Upvotes: 3
Reputation: 4455
Microsoft ASP.NET SignalR Self Host
still uses OWIN to startup. The only difference is that the Self Hosted SignalR server doesn't need to be nested in an ASP.NET web application hosted in IIS. It can be a simple console application.
Reasons for not hosting in IIS include:
Upvotes: 10