Jonas Stawski

Everything .NET and More

AspNetHost deprecated in SignalR 0.5

Now that SignalR 0.5 is out you can scale out using Windows Azure Web Roles and the Service Bus. So if you want to do so you can follow the steps laid out by Clemens Vasters. The problem I had is that I couldn’t find AspNetHost anywhere. After an hour and a half found out that AspNetHost was deprecated in 0.5 in favor of GlobalHost. So

   1: AspNetHost.DependencyResolver.UseWindowsAzureServiceBus(“{namespace}“,”{account}”, “{key}”, "{appname}", 2);

becomes

   1: GlobalHost.DependencyResolver.UseWindowsAzureServiceBus(“{namespace}“,”{account}”, “{key}”, "{appname}", 2);

 

Happy Signaling across multiple nodes!

Add comment

biuquote
Loading