Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8265205
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T04:43:05+00:00 2026-06-08T04:43:05+00:00

I am attempting to get websockets working in my dev environment: Visual Studio 2010

  • 0

I am attempting to get websockets working in my dev environment:

  • Visual Studio 2010
  • Windows 7
  • Signal R 0.51
  • Latest Chrome / Firefox

Unfortunately the Javscript client is using long polling. When I force web-sockets on the client side I can’t connect at all:

$.connection.hub.start({ transport: ['webSockets'] })

Server code is self-hosted and based on the sample and looks like:

static void Main(string[] args)
{
    string url = "http://localhost:8081/";
    var server = new Server(url);

    // Map the default hub url (/signalr)
    server.MapHubs();

    // Start the server
    server.Start();

    Console.WriteLine("Server running on {0}", url);

    // Keep going until somebody hits 'x'
    while (true)
    {
        ConsoleKeyInfo ki = Console.ReadKey(true);
        if (ki.Key == ConsoleKey.X)
        {
            break;
        }
    }
}

public class MyHub : Hub
{            
    public void Send(string message)
    {
        Clients.addMessage(message);
    }
}

I’ve searched around and found nothing definitive. Do I need to specify some extra things, use Visual Studio 2012 or will this only work on Windows 8 / IIS 8?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T04:43:08+00:00Added an answer on June 8, 2026 at 4:43 am

    Based on this answer https://stackoverflow.com/a/9135334/700926 you will see that WebSocket support in SignalR relies on Windows 8 / IIS8 – the answer also points to a wiki page at SignalR’s github page, however, that page does not exists anymore.

    But, by cloning the wiki repo at github and go back some revisions you will see the documentation of the SignalR.WebSockets project which according to SignalR’s github page, does not exist anymore – (which might explain why the wiki site is removed) – however, in a revision of the wikipage for SignalR.WebSockets from February this year, it stated that:

    The SignalR.WebSockets
    package can be added to an existing SignalR project to allow clients
    to connect using the WebSocket
    protocol
    . The SignalR
    jQuery client will automatically attempt to connect via WebSockets (if
    the browser supports it) so no changes are necessary on the client
    side to add WebSockets to your SignalR based application.

    SignalR.WebSockets relies on
    Microsoft.WebSockets
    in order to listen for incoming WebSocket connections from within
    ASP.NET. This package in turn depends on the new WebSockets support
    that was added to ASP.NET 4.5 and IIS 8.0. As a result, the
    SignalR.WebSockets package will only work on a Windows 8 machine (.NET
    4.5 will install on earlier versions of Windows but Windows 8 is required for IIS 8.0). For more information on how to setup a Windows
    8 machine (using the developer preview) see
    here.

    I have tried searching for newer information than what I have been able to provide above, but as far as I can tell, the SignalR wiki does not cover this topic explicitly in its current version.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm attempting to get a Microsoft Kinect for Windows working for a presentation. For
I'm attempting to get my first ASP.NET web page working on windows using Mono
I'm attempting to get a working GTK project in Code::Blocks on a Windows machine.
Attempting to get Spring internationalization working. I have used classpath:messages basename, created .properties files
I am attempting to get Memory leak detection working with the help of these
I'm attempting to get the owner of a file in Node.js on Windows. In
I am attempting to get a Native C/C++ library working with Monodroid in the
I'm attempting to get google-toolbox-for-mac working with my existing XCode 3.2 iPad project, but
I am attempting to get a test Kerberos client/server pair working against Active Directory.
I am attempting to get nhibernate working in medium-trust. What I found said that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.