Creating a SignalR hub
We'll implement a SignalR hub to allow clients to update order and batch statuses as they are changed by a user, and we'll receive updates from other clients in the system as they are updated by other users. Create the hub in the following procedure:
- Enter the following command into the NuGet Package Manager Console to install the
Microsoft.AspNet.SignalR
package:Install-Package Microsoft.AspNet.SignalR
- Enter the following command into the NuGet Package Manager Console to install the
Microsoft.AspNet.SignalR.ServiceBus
package:Install-Package Microsoft.AspNet.SignalR.ServiceBus
- Finally, enter the following command to install the
windowsazure.servicebus
package (do this at last because theMicrosoft.AspNet.SignalR
command ...
Get Learning Microsoft Azure now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.