There seems to be only one example of self hosting SignalR available out there and I think its got a bug in it or maybe I don't inderstand it. There is a line in there where the server is initialized.
string url = "http://localhost:8081/";
var server = new Server(url);
If you drill down to the constructor of the Server class, the url is passed to neverland. It is not used for anything. Instead the ASP.NET developer server on port 52731 is launched (don't understand how). In my book this is not self hosting. What do I need
to do to actually self host the SignalR host on a port of my choosing without dependencies to resources only available to a developer environment?
Its frustrating that there is no documentation for SignalR.
Dude123
Member
9 Points
57 Posts
how to start SignalR service on self hosted
Feb 27, 2013 11:44 AM|LINK
There seems to be only one example of self hosting SignalR available out there and I think its got a bug in it or maybe I don't inderstand it. There is a line in there where the server is initialized.
If you drill down to the constructor of the Server class, the url is passed to neverland. It is not used for anything. Instead the ASP.NET developer server on port 52731 is launched (don't understand how). In my book this is not self hosting. What do I need to do to actually self host the SignalR host on a port of my choosing without dependencies to resources only available to a developer environment?
Its frustrating that there is no documentation for SignalR.
davidfowl
Contributor
2695 Points
609 Posts
Microsoft
Re: how to start SignalR service on self hosted
Feb 28, 2013 01:06 AM|LINK
Check out the wiki there's some docs here https://github.com/SignalR/SignalR/wiki/. You can find new self host documentation here https://github.com/SignalR/SignalR/wiki/Self-host
Senior SDE, ASP.NET Team, Microsoft
Dude123
Member
9 Points
57 Posts
Re: how to start SignalR service on self hosted
Mar 01, 2013 12:35 PM|LINK
1. What's the connection number limit for self hosted and how do I set this?
2. Are you aware of any problems deploying a self hosted SignalR server app with ClickOnce?
davidfowl
Contributor
2695 Points
609 Posts
Microsoft
Re: how to start SignalR service on self hosted
Mar 01, 2013 05:55 PM|LINK
Senior SDE, ASP.NET Team, Microsoft