AJAX彗星 - 是否有微软正在开发或支持,以使其成为可扩展的解决的办法? [英] AJAX Comet - Is there any solution Microsoft is working on or supports to allow it to be scalable?

查看:197
本文介绍了AJAX彗星 - 是否有微软正在开发或支持,以使其成为可扩展的解决的办法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现了很多问题和文章谈论AJAX彗星。我也发现了一些链接,使其可扩展性,因为其中的一些帖子谈论它是多么的不与ASP.Net的可扩展性。我想知道如果微软有他们正在努力的解决方案,或者是出了针对一个AJAX彗星解决方案ASP.Net是免费的。

作为一个方面的问题,我不知道这一点,因为有关的WebSockets Microsoft.NET 4.5会谈,这似乎是一个更好的解决方案比AJAX彗星?还是我错了这一个,他们没有竞争力的技术?

解决方案
  

我想知道如果微软有他们正在努力的解决方案,或者是出了针对一个AJAX彗星解决方案ASP.Net是免费的。

斯科特Hanselmann谁的作品为微软最近<一href="http://www.hanselman.com/blog/AsynchronousScalableWebApplicationsWithRealtimePersistentLongrunningConnectionsWithSignalR.aspx">blogged有关SignalR 。 SignalR是一个异步信号库,ASP.NET,斯科特的团队正在帮助建立实时多用户的Web应用程序。

在评论斯科特提到,这可能会成为ASP.NET的核心组成部分,如果人们喜欢它,使用它。

有使用SignalR在ASP.NET MVC 3在这里一个很好的教程: <一href="http://sergiotapia.com/2011/09/signalr-with-mvc3-chat-app-build-asynchronous-real-time-persistant-connection-websites/">http://sergiotapia.com/2011/09/signalr-with-mvc3-chat-app-build-asynchronous-real-time-persistant-connection-websites/

  

我不知道这一点,因为有关的WebSockets Microsoft.NET 4.5会谈,这似乎是一个更好的解决方案比AJAX彗星?还是我错了这一个,他们没有竞争力的技术?

彗星是一个总称,有很多彗星服务器(见下文)使用的WebSockets作为传输机制时可能。彗星服务器不只是使用AJAX,XHR长轮询,永远帧等,他们现在使用的WebSockets和撤退到所需的其他传输机制。

下面只是一些使用的WebSockets的彗星服务器:

  • StreamHub:<一href="http://streamhub.blogspot.com/2010/12/html-5-web-sockets-arrives-in-streamhub.html">http://streamhub.blogspot.com/2010/12/html-5-web-sockets-arrives-in-streamhub.html
  • 在API(本地的WebSockets): http://www.ape-project.org/
  • 在卡普林解放者:<一href="http://www.caplin.com/caplin_liberator.php">http://www.caplin.com/caplin_liberator.php
  • 在迁徙?:<一href="http://migratory.ro/migratory-push-server.html">http://migratory.ro/migratory-push-server.html
  • CometD:<一href="http://cometdproject.dojotoolkit.org/documentation/2.x/howtos/websocket">http://cometdproject.dojotoolkit.org/documentation/2.x/howtos/websocket

I notice a lot of questions and articles talking about ajax comet. I also found some links to make it "scalable" since some of those posts talk about how it isn't that scalable with ASP.Net. I'm wondering if Microsoft has a solution they're working on or that is out that addresses an AJAX Comet solution for ASP.Net that is free.

As a side question, I'm wondering this because Microsoft.NET 4.5 talks about WebSockets, which seems to be a "better" solution than AJAX Comet? Or am I wrong on this one and they aren't competing technologies?

解决方案

I'm wondering if Microsoft has a solution they're working on or that is out that addresses an AJAX Comet solution for ASP.Net that is free.

Scott Hanselmann who works for Microsoft recently blogged about SignalR. SignalR is an asynchronous signaling library for ASP.NET that Scott's team is working on to help build real-time multi-user web application.

In the comments Scott mentions that this may become a core part of ASP.NET if people like it and use it.

There's a good tutorial using SignalR with ASP.NET MVC 3 here: http://sergiotapia.com/2011/09/signalr-with-mvc3-chat-app-build-asynchronous-real-time-persistant-connection-websites/

I'm wondering this because Microsoft.NET 4.5 talks about WebSockets, which seems to be a "better" solution than AJAX Comet? Or am I wrong on this one and they aren't competing technologies?

Comet is an umbrella term and there are many "Comet Servers" (see below) that use WebSockets as the transport mechanism when possible. Comet servers don't just use AJAX, XHR Long-Polling, Forever-Frame etc. They now use WebSockets and fallback to other transport mechanisms where required.

Here are just some of the "Comet Servers" that use WebSockets:

这篇关于AJAX彗星 - 是否有微软正在开发或支持,以使其成为可扩展的解决的办法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆