ASP.net Ajax under the hood secrets

I have published a new article in codeproject:

ASP.net Ajax under the hood secrets

You will find the following tricks on it:

  • Batch call advantages and disadvantages
  • Implement auto retry in all web method call by modifying Ajax
    core framework
  • Implement queue based web method call in order to prevent
    browser from getting stuck with too many Ajax calls
  • Caching web method response, fix bug in ASP.net 2.0 cache
    header problem
  • How slow is Http Post, capture data transfer over the wire and
    see

Some of the techniques may be known to you if you have read my
earlier posts. But I have converted all code to the latest ASP.net
Ajax Beta 2 version which is not available in the blog posts.

Please rate the article if you like it at codeproject.

Also please digg
this article
.

10 thoughts on “ASP.net Ajax under the hood secrets”

  1. Hi, thanks for sharing this ! I have been watching your blog for some time now as noone else gives out such valuable information on Atlas internals.

    The two fixes you show for handling timeouts and client calls queueing limitations mean modiying the code MS provides. Have you had any feedback from them ? I’m working on a high traffic web site scheduled for openning in february I wander whether we should apply these fixes or wait for some official patch. Based on your experience, how stable is this ?

  2. Hi Damien,

    I have implemented the same principle on Atlas CTP version. It works there well enough as we use it in Pageflakes. I have just ported it to the new Ajax Beta version. As far as I have tested it works fine.

    May be you can deploy it on your beta server and ask your QA team to do some load testing internally?

  3. Hi Omar, great article and congratulations 🙂

    In you article though you say that a POST is causing a second roundtrip due to the HTTP 100. Actually 100 is an informational response and it’s part of the same transaction.

    Keep up with the great work!

  4. Hi!

    pageflakes is a great website with great functionality, but I have a little question:

    How did you made those collapse buttons? Did you use collapse panels or what. I’ve been trying to do one of those for quite a while but I didn’t managed to do it.

    Thanks a lot! and please excuse my poor english

  5. Thanks a lot! I did it using css and div. it wasn’t so hard after all:)

    You know…there is the French version of pageflakes. it’s called netvibes.com. But I don’t know which one was the fist on the web.

    Great job!

  6. We do not use Ajax Control Toolkit yet. These are custom made. Idea is to toggle visibility of a DIV based on a click on those buttons. That DIV contains the body part.

Leave a Reply