I follow the sample from the SignalR wiki page, and here is my Global.asax :
<%@ Application Language="C#" %> <%@ Import Namespace="System" %> <%@ Import Namespace="System.Web.Routing" %> <script runat="server"> void Application_Start(object sender, EventArgs e) {
But I get:
'System.Web.Routing.RouteCollection' does not contain a definition for "MapHubs" and no extension method "MapHubs" that takes the first argument of type "System.Web.Routing.RouteCollection" can be found (you are missing the using directive or the link to assembly?) \ Global.asax 11
What am I doing wrong?
Cynede
source share