Blogs

eXpress App Framework Team

XAF – Improved ASP.NET UI Performance (coming in v2011 vol 1)

     

While working on the XAF v2011 vol 1 release, we have introduced several performance improvements which we think are worthy of being blogged about. Check them out.

First of all, we have substantially reduced the size of generated pages. Second, the lightweight rendering mode is now enabled by default. Although this mode could be enabled manually in XAF applications since v2010 vol 2.4, quite a number of issues has been discovered since then, which practically prevented this mode from being used in production. I am happy to say that we have fixed these issues in XAF v2011 vol 1. We have also reworked XAF internals to speed up page generation on the web server.

So, how much faster your ASP.NET XAF application is going to be? Take a look at the following tables.

Xaf-Performance-2011-1

These are the results of comparing the performance of MainDemo v2010 vol 2 against MainDemo v2011 vol 1. The applications were deployed onto the web server on a remote machine with a local SQL server instance. To make the testing a bit more realistic, we have populated the database with several million rows of sample data. No additional set up has been performed, so MainDemo v2010 vol 2 used classic rendering mode and the v2011 vol 1 version of MainDemo used lightweight rendering.

As you can see with XAF v2011 vol 1, network traffic has decreased roughly two times. Moreover, pages were served by the web server 21% faster in client mode and about 36% faster when server mode was enabled.

We think these are pretty notable results.  We also hope your users will enjoy your application much more after these improvements. What do you think? Please let us know!

Published Apr 20 2011, 05:35 PM by Roman P (DevExpress)
Technorati tags: 11.1, v2011.1, Performance, XAF, ASP.NET
Bookmark and Share

Comments

 

Arjan van Dijk said:

This sounds great. In what way are callback panels used? (or not). To what extend are the default templates ajaxified?

April 20, 2011 1:46 PM
 

Nate Laff said:

Interesting... I don't enable server mode on my web application sense the web server is the same machine as sql server. Should I?

This is great! Really excited to see the UI improvements, too!

April 20, 2011 5:44 PM
 

Preetham Chamakura said:

This is great... I am assuming XAF 11.1 has IE6 support with all these great UI improvements..

April 21, 2011 12:25 AM
 

Roman P (DevExpress) said:

Thanks for all your comments. We are very glad you liked the improvements!

@Arjan van Dijk

We do not use callback panels. Templates are currently not "ajaxified". However, since we have not yet reached code freeze, it is possible that templates will be "ajaxified" if we resolve the corresponding outstanding issues.

@Nate Laff

It all depends on a particular application and setup. Generally, with XAF v2011 vol 1, if your application works with large amounts of data and does not have Controllers that loop through all the objects in a List View, enabling server mode can help even with a local SQL server instance.

@Preetham Chamakura

Currently we do not support IE6, and XAF v2011 vol 1 will not support it either. If you meant IE9, then, yes, it is supported. Check out this page for a list of supported browsers - devexpress.com/.../Application_Framework|specs

April 21, 2011 3:33 AM
 

James Zhong said:

Really good news for XAF Web UI performance improvement!

I hope the web ui could be Ajax enabled to meet better end users' satisfaction!

Thanks again!

April 21, 2011 9:23 AM
 

Simon de Kraa said:

@Roman

Hopefully there will be more ajaxified in the final release.

Having full page refreshes isn't something that that is expected by our users nowadays.

Thanks for all the efforts being made for this release.

April 22, 2011 5:04 PM
 

James Birnie said:

Sound great DevX!

+1 on the ajax side also, all our web apps have been built this way for several years now and I suspect this is the case for most your customers.

April 28, 2011 7:25 PM
 

James Birnie said:

Ooopsy I just realised that this is XAF-related, so I'm wondering if the "lightweight rendering mode" can be enabled across all controls for a standard ASP.NET app easily?

April 28, 2011 8:00 PM
 

Robert Hahn said:

wow, great! Looking forward to see some kind of improvements on the WinForms Side.

Especially remote database communication....

April 29, 2011 3:45 AM
 

Ron Veerman said:

Great improvements! I'm impressed.

Can't wait to test my projects with this release.

April 29, 2011 5:35 AM
 

Dennis (DevExpress Support) said:

April 29, 2011 12:06 PM
 

Dennis (DevExpress Support) said:

@Robert Hahn:

>>Especially remote database communication....

Could you please elaborate more on this?

Also, did you check the following blogs:

community.devexpress.com/.../xpo-11-1-sneak-peek-wcf-services-for-idatastore.aspx

community.devexpress.com/.../xpo-11-1-sneak-peek-data-caching-improvements.aspx

?

April 29, 2011 12:07 PM
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.