O'Reilly logo

Ext.NET Web Application Development by Anup Shah

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Ultimate performance option: avoid AJAX!

It might be odd in a chapter on AJAX to say avoid it, but with the seamlessness and power that Ext.NET offers, it might be tempting to code everything in C# and avoid client-side coding. But excessive HTTP requests this causes would affect performance.

However, as an Ext.NET developer has noted, it may be worth trying to minimize the amount of DirectEvents and DirectMethods that are invoked, especially in the cases where the same effect can be achieved purely by JavaScript code, because that will avoid the HTTP roundtrip overhead, thus providing a better user experience.

Of course, many important operations will need to get data and interact with the server, but for other cases, if it can be done on the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required