So… ASP.NET MVC and WebSockets?

后端 未结 3 623
無奈伤痛
無奈伤痛 2021-01-31 12:16

I have an application in MVC 3 and I\'m looking to add WebSockets (with fallback to Comet) to it.

I\'ve researched a bit and I found out the Comet part is pretty straigh

3条回答
  •  逝去的感伤
    2021-01-31 12:57

    Just going to agree with the comments and provide a few links. SignalR is the way to go.

    The site: http://signalr.net/ and http://www.asp.net/signalr

    The code: https://github.com/SignalR/SignalR

    Nuget: Install-Package Microsoft.AspNet.SignalR -pre

    Good starting points:

    • Free E-Book http://www.eduardopires.net.br/Repositorio/SignalR_eBook.pdf

    • http://weblogs.asp.net/davidfowler/archive/2012/11/11/microsoft-asp-net-signalr.aspx

    • http://www.dotnetcurry.com/ShowArticle.aspx?ID=780

    • http://www.hanselman.com/blog/AsynchronousScalableWebApplicationsWithRealtimePersistentLongrunningConnectionsWithSignalR.aspx

    Video from one of the creators: http://vimeo.com/43659069 <--[Loads of information!]

提交回复
热议问题