TechEd Day 3:: Partial Rendering

Published 07 June 07 12:26 AM | despos

My session on partial rendering kind of sold out. I could hardly see the carpet for how many people attended. And I think I shocked some of them, when I said "there's no AJAX in partial rendering". What? You're here talking ASP.NET AJAX and you start by saying that?

AJAX is a new paradigm for Web applications. How can you build applications based on a radically different paradigm using the same application model you used for classic ASP.NET 2.0 applications? You need to adapt the architecture of your apps as well. But with partial rendering this just doesn't happen. Which is good and bad at the same time. It's good because it lets you add AJAX capabilities piecemeal and without a deep impact on existing codebase and existing skills of the dev team. It's bad because it only minimally improves the effectiveness of the application. If you think that flicker-free pages are a great achievement, you're RIGHT. But if you think that it's enough then you're WRONG. However, it might be enough for you at some time and for some time.

If you really want the power of Windows on the Web (to the extent that it is possible), then you need to change gear and opt for a new architecture. It may be frustrating at first, and even at second. Many people today have the same problems (UI, data binding), but nobody has valid answers that work in all cases.

Partial rendering may be an excellent solution; but just be aware of its real value and implementation. It's a darned smart trick; it's not pure AJAX. It's just a note; make a conscious and thoughtful choice when you get to it.

Source code attached for both sessions WEB406 and WEB310 (AJAX Control Toolkit)

 

Filed under:

Comments

# Jake said on June 7, 2007 02:30 PM:

Your comments come at a good time.  I think a log of people are hearing differing opinions on implementing an AJAX web application.  The "official" ASP.NET AJAX site promotes partial postbacks, and sells you on the toolkit.  It does nothing to drive you toward developing as you call it "Windows On the Web" applications.

It would be wonderful if you could provide information on using an appropriate architecture, even if that's only pointing people elsewhere.

# Peter Kassenaar said on June 8, 2007 04:26 AM:

Hi Dino,

Is this the same talk as you have scheduled for the Microsoft DevDays in Amsterdam, the coming week (june 13,14)?

I'm looking forward to hear your opinion on this matter.

Thanks,

Peter Kassenaar.

# Bill said on June 12, 2007 11:30 AM:

MSN I NIIPET

<a href="http://msn.com">MSN</a>

# Robin Paardekam said on June 14, 2007 03:08 AM:

Hello Dino,

thanks for the great presentation about Partial Rendering yesterday at the DevDays 2007 in Amsterdam. You really inspired me to apply those techniques more often.

Could you perhaps post more info regarding the detailed progress-bar that you quickly demonstrated? The progress bar showing the percentage I mean. Hope you can give some more information on that subject.

Thanks again.

Robin Paardekam

# Steve Marx said on July 6, 2007 04:52 PM:

Dino, I'm a bit confused by "There's no AJAX in partial rendering."  Of course, the partial rendering itself is just DOM manipulation, but assuming you're referring to the UpdatePanel, the new HTML is fetched from the server via an asynchronous call from JavaScript.  That's the very definition of AJAX...

I'm guessing your central point, though, was that partial rendering is really just the postback model dressed up to be a bit smoother (and often faster), and that for more sophisticated interactions, developers will want to delve into the world of client-side development and granular web service calls.

I'd love to see your slides in additon to the code.  This is a point I make myself in my advanced sessions on ASP.NET AJAX, and I'm eager to see how you get it across!

# Omar said on August 15, 2007 02:36 PM:

More info link:<br>

<A href="www.unidadlocal.com" name="www.unidadlocal.com" title="www.unidadlocal.com">link:www.unidadlocal.com</A><br>

<A href="www.linux.unidadlocal.com" name="www.linux.unidadlocal.com" title="www.linux.unidadlocal.com">link:www.linux.unidadlocal.com</A><br>

<A href="www.windows.unidadlocal.com" name="www.windows.unidadlocal.com" title="www.windows.unidadlocal.com">link:www.windows.unidadlocal.com</A><br>

# CoryC said on August 22, 2007 12:06 PM:

The partial update is not truly asynchronous.

# anothr user said on September 4, 2007 12:23 AM:

One new subscriber from Anothr Alerts

# die said on September 25, 2007 12:05 PM:

DIE DIE DIE DIE DIE DIE

# picker said on November 21, 2007 07:50 AM:

where can I get the source code?

Leave a Comment

(required) 
(required) 
(optional)
(required)