Click here to Skip to main content
15,900,589 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am getting this error


'Owin.IAppBuilder' does not contain a definition for 'MapSignalR' and no extension method 'MapSignalR' accepting a first argument of type 'Owin.IAppBuilder' could be found (are you missing a using directive or an assembly reference?)
This is my code

C#
using System;
 using System.Threading.Tasks;
 using Microsoft.Owin;
 using Owin;
<pre lang="cs">[assembly: OwinStartup(typeof(VirtualClassroom.Startup1))]
      namespace VirtualClassroom
    {
        public class Startup1
           {
              public void Configuration(IAppBuilder app)
                  {
                       app.MapSignalR();

                  }
           }
  }


    I searched a lot and tried as per stack overflow answer
   http://stackoverflow.com/questions/23057459/owin-iappbuilder-does-not-contain-a-definition-for-mapsignalr I had 

  1.Added Microsoft.Owin //version 2.0.1

  2.Added Microsoft.Owin.Security //version 2.0.1

  3.Added Microsoft Asp.Net SignalR 
 
But still I am getting the same error. Please help. Thanks in advance!!
Posted
Updated 7-Nov-14 2:02am
v2
Comments
DamithSL 7-Nov-14 9:00am    
what is the application type?(ASP.NET, MVC,..)
what is the target .net framework of your project?
darren_1065 27-Sep-15 22:23pm    
I have the same issue. The nuget packages I have only install Microsoft.AspNet.SignalR.Core. No SignalR by itself.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900