Re: [ADVANCED-DOTNET] Calling ASYNC method ASP.NET

2006-09-03 Thread Barry Kelly
Paul Cowan <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to handle a piece of MSMQ asynchronous from a web application. > I have the following piece of code that is in the code behind of a user > control in an eventhandler > > ReloadCart(); > OrderCalculatedHandler resultHandler = new >

Re: [ADVANCED-DOTNET] Calling ASYNC method ASP.NET

2006-09-03 Thread Julia Lerman
, September 03, 2006 12:26 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] Calling ASYNC method ASP.NET Hi, I have read this article before, what the author is alluding to is that to achieve what I require, I need to create my own custom thread pool. I did not want to go down this

Re: [ADVANCED-DOTNET] Calling ASYNC method ASP.NET

2006-09-03 Thread Paul Cowan
:27 -0400> From: [EMAIL PROTECTED]> Subject: Re: > [ADVANCED-DOTNET] Calling ASYNC method ASP.NET> To: > ADVANCED-DOTNET@DISCUSS.DEVELOP.COM> > perhaps go back to the pre asp.net 2.0 > methods of async pages?> > http://msdn.microsoft.com/msdnmag/issues/03/06/Threading

Re: [ADVANCED-DOTNET] Calling ASYNC method ASP.NET

2006-09-03 Thread Julia Lerman
-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] Calling ASYNC method ASP.NET Hi, I cannot use Async pages, I am using .net 2.0, it is a long story but I cannot use them. That was the first thing I tried. THe site uses the Cuyahoga CMS framework. It is not possible to use async pages in

Re: [ADVANCED-DOTNET] Calling ASYNC method ASP.NET

2006-09-03 Thread Paul Cowan
Sep 2006 09:36:40 -0400> From: [EMAIL PROTECTED]> Subject: Re: > [ADVANCED-DOTNET] Calling ASYNC method ASP.NET> To: > ADVANCED-DOTNET@DISCUSS.DEVELOP.COM> > ASP.NET 2.0 has async pages and async > tasks. These will postpone rendering> until the async methods you are

Re: [ADVANCED-DOTNET] Calling ASYNC method ASP.NET

2006-09-03 Thread Julia Lerman
ASP.NET 2.0 has async pages and async tasks. These will postpone rendering until the async methods you are calling are returned. Async Pages is for one asynchrounous call. Async Tasks can coordinate multiple calls. Look up AddOnPreRenderCompleteAsync for more on Async page. And PageAsyncTask for