<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8211560\x26blogName\x3dTech+Tips,+Tricks+%26+Trivia\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://mvark.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://mvark.blogspot.com/\x26vt\x3d-5147029996388199615', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Tech Tips, Tricks & Trivia

by 'Anil' Radhakrishna
An architect's notes, experiments, discoveries and annotated bookmarks.

Search from over a hundred HOW TO articles, Tips and Tricks


HOW TO speed up a ASP.NET AJAX web app

Just like making web pages cross-browser doesn't have a straight-forward solution, speeding up your ASP.NET AJAX based web application requires an understanding of it's internal aspects. Outlined below are some performance tips compiled from various sources -

Generic ASP.NET performance improvement tips that also strongly relate to ASP.NET AJAX -

To be continued...

Also see - HOW TO improve the front-end performance of a website

Labels: , ,

Tweet this | Google+ it | Share on FB

« Home | Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »

Posted by Anonymous Vadim Kleyzit | 3/27/2009 05:46:00 PM

Totally agree that understanding internal aspects of AJAX is a key in solving performance problems. What makes UpdatePanel slow? While AJAX is considered by many a client-side technology, the ASP.NET AJAX request, just like web form request, submits to the server a Viewstate for the entire page and requires full page execution. The response downloads bulky HTML including ViewState. Multiple ScriptResource.axd requests also slowdown initial page load.

AJAX pages would be much faster if UpdatePanel could download only data-related traffic without Viewstate and generate HTML on the client, or even better, could be entirely executed on the client without server roundtrips. It would be ideal if post request could be compressed, JavaScript resources download from the server could be avoided, and all of that almost without coding.

To implement this approach we developed ASP.NET software accelerator, Web Stimulus.    



»

Post a Comment