Is Microsoft currently developing or backing any solutions that can enhance the scalability of AJAX Comet technology?

There seems to be a lot of discussion surrounding ajax comet in various questions and articles. I came across some information suggesting that it may not be very scalable with ASP.Net, but there are links available to enhance its scalability. I am curious if Microsoft has any solutions in the works or currently available for an AJAX Comet solution in ASP.Net that is free.

On another note, I have noticed that Microsoft.NET 4.5 mentions WebSockets, which appears to be a potentially superior alternative to AJAX Comet. Are these technologies competing with each other, or am I mistaken in my understanding?

Answer №1

Is there a solution from Microsoft for an AJAX Comet solution for ASP.Net that is free?

Microsoft's Scott Hanselmann recently wrote about SignalR, which is an asynchronous signaling library for ASP.NET designed to help build real-time multi-user web applications.

In the comments section, Scott mentions that SignalR may become a core part of ASP.NET if it gains popularity and usage.

You can find a helpful tutorial on using SignalR with ASP.NET MVC 3 here:

Does Microsoft.NET 4.5 mention WebSockets as a better alternative to AJAX Comet?

Comet is a broad term and many "Comet Servers" utilize WebSockets as a transport mechanism. These servers leverage technologies like AJAX, XHR Long-Polling, Forever-Frame, along with WebSockets and other fallback mechanisms when necessary.

Here are some examples of "Comet Servers" that use WebSockets:

  • StreamHub:
  • API ("Native WebSockets"):
  • Caplin Liberator:
  • Migratory?:
  • CometD:

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Update a table using jQuery/Ajax every 5 seconds

Seeking advice: I have a table displaying data from a database. Is there a way to make it update the information without having to reload the entire page? ...

I want to utilize an Ajax/JQuery filled dropdown to dynamically alter the user interface without the need for additional server-side requests

I am working on a feature where an AJAX post method populates a dropdown with object descriptions. But, I also need to update a textbox with the selected ID when changing the selection, without making another AJAX call. Here's the relevant code snipp ...

Creating unique message formats for communication between a python client and a socket.io node.js server

Currently, I am attempting to establish communication between a Python client and a Node.js server using Socket.io 0.7. My goal is to send a custom event from the client to the server. To achieve this, I have been referencing the Socket.io documentation o ...

Numerous JSON entities

Curious to know if it's achievable to load more than one JSON file with just a single jQuery.ajax() call. Or do I have to make separate calls for each file? Warm regards, Smccullough ...

"Encountered a problem while trying to insert data using JSON and Ajax

I've been struggling to figure out where the issue lies in my code. I've double-checked everything and it all seems correct, but I keep encountering errors. Below is the code snippet: Markup: <link href="http://ajax.googleapis.com/ajax/libs ...

The issue of missing the 'Access-Control-Allow-Origin' header on the requested resource cannot be rectified using Php header

I am trying to make an Ajax request for a URL like this: $.ajax({url: "http://techparty.ir/e.php", success: function(result){ $("#div1").html(result); }}); However, I encountered the following error: XMLHttpRequest cannot load http://techpar ...

Modify URL parameters using history.pushState()

Utilizing history.pushState, I am adding several parameters to the current page URL after performing an AJAX request. Now, based on user interaction on the same page, I need to update the URL once again with either the same set of parameters or additional ...

Issue with Jquery Mobile listview not showing up

I'm currently working on a PhoneGap application using jQuery Mobile, which consists of four main sections, each with its own HTML file. The issue arises when navigating from one section to another; for example, if I load the main.html page first and t ...

Utilizing JSON data for Autocomplete with Ajax and Jquery

I have been working on setting up my Jquery UI autocomplete field to pull data from an ajax connection. Here is the progress I've made so far: $("#mainIngredientAutoComplete").autocomplete({ source: function (request, response) { $.ajax({ ...

Restrict the number of rows in a real-time search JSON data by utilizing the $.each method

Is there a way to limit the number of rows returned in live search JSON data through URL? I attempted to count the table rows and return false, but it did not work. Any suggestions on how to achieve this? $(document).ready(function() { $.ajaxSetup ...

Loading jQuery on Ajax can be a challenge

I am currently faced with the challenge of working on code that I did not write myself or fully comprehend. The page utilizes AJAX to dynamically load content, and my goal is to manipulate this content. However, when I try to apply jQuery to the dynamic el ...

What is the best way to retrieve data from AJAX requests in Python/Selenium after navigating to different pages?

Having trouble retrieving data from a website when navigating between pages? You're not alone. It seems that even though you can access the data on the initial page, when you click to another page (via ajax), you keep getting the old data instead of t ...

Convert Ajax null value to NoneType in web2py

Every time I save information on a page, an AJAX request is sent with all the necessary data to be stored in the database. The format of this data looks similar to this example: {type: "cover", title: "test", description: null, tags: null} However, when ...

Proceed with another ajax request only when the previous one has been successfully completed and loaded

While scrolling down and loading content into my page, I am facing an issue. The ajax executions load too quickly, causing the subsequent calls to not receive correct information from the first ajax call that is loaded into the DOM. How can I ensure that ...

Discovering a way to extract all information from a JSON POST request using curl

Exploring the open data project on spogo.co.uk (Sport England) has been quite engaging. For a search example, check out: https://spogo.co.uk/search#all/Football Pitch/near-london/range-5. I've been experimenting with Cygwin and CURL to POST JSON dat ...

Jquery code not responding to ajax callback

i have the following two functions defined: function populateTableData(){ jQuery('select[name="drg-select"]').change(function() { drgValue=jQuery(this).val(); url="http://localhost/ur ...

Bespoke search functionality using AJAX and tags in WordPress

I have created a custom search form in my WordPress theme that looks like this: <form role="search" class="form" method="get" action="<?php echo home_url('/');?>"> <input type="search" id="keyword" class="inp-search" onclick="sh ...

"Unexpected issue with jQuery AJAX Post functionality on a shared server causing data not to

I'm currently facing an issue with my code that allows comments to be added to a php page without needing to refresh the page. While everything is functioning properly on localhost, I encountered a problem when testing it on my justhost account. The ...

The ajax code is failing to retrieve the data from the table and populate it in the

hi guys i have an issue on ajax. where ajax can't work to take the data of second rows. This's code in model function getdtbarang($barcode = FALSE) { if ($barcode === FALSE) { $query = $this->db1->get(&a ...

What is the best way to ensure that a specific number of XHR callbacks have successfully completed before proceeding with further actions?

I have four requests that each have their own callback and can fire in any order. However, I need all the callbacks to finish successfully before executing mergeData. The issue with my current approach is that the initial parameter values do not refresh ...