Add "using Microsoft.AspNet.SignalR.Hosting;" to the top and remove the "Hosting."