Optimize Ajax Application With Microsoft Doloto

Microsoft Dev Labs released an Ajax application optimization tool called Doloto. Doloto is very useful for large and complex Web 2.0 applications that contain a lot of code. Doloto analyzes AJAX application workloads and automatically performs code splitting of existing large Web 2.0 applications. After being processed by Doloto, an application will initially transfer only the portion of code necessary for application initialization.

Doloto reduces the size of initial application code download by hundreds of kilobytes or as much as 50% of the original download size. The time to download and begin interacting with large applications is reduced by 20-40% or dozens of seconds as shown below, depending on the application and wide-area network conditions.

The Doloto process proceeds in three steps, which correspond to wizard steps in the Doloto GUI.

  • First, the application you want to optimize is profiled. Doloto performs profiling by running a local proxy on your machine that intercepts JavaScript files and instruments them. This is done in a browser-independent manner.
  • Second, the profiling information is used to calculate code coverage and a clustering strategy. This determines which functions are stubbed out and which are not. This also groups functions into groups which are downloaded together, called clusters.
  • Third, the JavaScript code is rewritten and saved to disk so that you can upload it to the server. Note that the entire process happens entirely on the client – that is, on your own machine, without needing access to the server. This way, you can profile and optimize the JavaScript of a third-party site such as cnn.com or maps.bing.com without having any sort of special access to their servers. It’s only when you are satisfied with the results of Doloto rewriting that you need to deploy the Doloto-rewritten files to the server.


This document is a step-by-step guide on how to use Doloto.

Download Doloto

ASP.NET 4.0 Roadmap

Take a walk through the 4.0 landscape from ASP.NET and learn how you can get involved in shaping ASP.NET future. This talk focuses on the next release of ASP.NET including Web Forms and MVC. Do you love web forms? See how you can taking control of your control IDs, learn about better ViewState managment in GridView and ListView, and get more control over the CSS markup of ASP.NET server controls. See how Dynamic Data makes building you data-driven apps easy. If you’re interested in AJAX, we show you further advancements in client rendering and binding. If you’re considering MVC, we look at the feature set and understand how to create applications with this technology.


Via Dot Net TV