RegisterAsyncTask & PageAsyncTask

R

Random

Has anyone here implemented RegisterAsyncTask and PageAsyncTask to improve
page performance on page databinding? The only samples I've been able to
find on this involve using asynchronous operations to run database tasks or
web service calls, both of which make implicit use of IAsyncResult.

I just want to asyncronously run some databinding code on different parts of
my page. Am I going in the wrong direction?
 
B

bruce barker

just remember that the async processing is happening while you build the
html to return. it must all complete before page render (or prerender)
and you must put in code to wait for completetion before these events.

-- bruce (sqlwork.com)
 
G

Guest

As Bruce indicated, I doubt it would be of much value as page processing is
halted until ALL the async tasks complete (or time out). Now if you are doing
multiple database calls in parallel, that could be a possibility.
Peter
 
R

Random

Oh, well. I read your article, Peter, on asyncronous processing, by the
way. I was really hoping to find a way to get the page processing done
asyncronously. I thought I'd found a magic bullet to doing that, but if the
async processing can only be optimized for non-page tasks, it looks like
I'll have to get more creative in finding my solution.
 
G

Guest

Hi,

The RegisterAsyncTask method does not provide the option for parallel
processing. I am not sure what is the use of this concept.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top