Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - Is it possible to make multiple async calls from asp.net.

 
 
Old 10-10-2006   #1 (permalink)
ksen


 
 

Is it possible to make multiple async calls from asp.net.

Hi,
I have a webservice, created using wcf. and generated proxy using
svcutil.exe with async option. Which creates beginMethodName and
EnMethodName. I have seen a sample code which uses

AddOnPreRenderCompleteAsync (
new BeginEventHandler(MyBeginMethod),
new EndEventHandler (MyEndMethod)
);

My question is Can i register multiple AddOnPreRenderCompleteAsync for each
call or how it works for multiple calls?


My System SpecsSystem Spec
Old 10-11-2006   #2 (permalink)
Arkady Frenkel


 
 

Re: Is it possible to make multiple async calls from asp.net.

Hi!
Using async you create for each method in interface Begin and End
correspondent methods which only client know of, that part of client
behavior only. Another asyn behavior on client you can produce defining
method on service as OneWay or dual
HTH
Arkady

"ksen" <ksen@discussions.microsoft.com> wrote in message
news:040010EF-294E-4153-BF72-D2475C70CD59@microsoft.com...
> Hi,
> I have a webservice, created using wcf. and generated proxy using
> svcutil.exe with async option. Which creates beginMethodName and
> EnMethodName. I have seen a sample code which uses
>
> AddOnPreRenderCompleteAsync (
> new BeginEventHandler(MyBeginMethod),
> new EndEventHandler (MyEndMethod)
> );
>
> My question is Can i register multiple AddOnPreRenderCompleteAsync for
> each
> call or how it works for multiple calls?
>



My System SpecsSystem Spec
Old 10-11-2006   #3 (permalink)
ksen


 
 

Re: Is it possible to make multiple async calls from asp.net.

Thanks for the response, Do you have some sample code?

"Arkady Frenkel" wrote:

> Hi!
> Using async you create for each method in interface Begin and End
> correspondent methods which only client know of, that part of client
> behavior only. Another asyn behavior on client you can produce defining
> method on service as OneWay or dual
> HTH
> Arkady
>
> "ksen" <ksen@discussions.microsoft.com> wrote in message
> news:040010EF-294E-4153-BF72-D2475C70CD59@microsoft.com...
> > Hi,
> > I have a webservice, created using wcf. and generated proxy using
> > svcutil.exe with async option. Which creates beginMethodName and
> > EnMethodName. I have seen a sample code which uses
> >
> > AddOnPreRenderCompleteAsync (
> > new BeginEventHandler(MyBeginMethod),
> > new EndEventHandler (MyEndMethod)
> > );
> >
> > My question is Can i register multiple AddOnPreRenderCompleteAsync for
> > each
> > call or how it works for multiple calls?
> >

>
>
>

My System SpecsSystem Spec
Old 10-12-2006   #4 (permalink)
Arkady Frenkel


 
 

Re: Is it possible to make multiple async calls from asp.net.

What do you mean , just look at the result of svcutil /async for any service
running ( IIS or selfhost ) to see that
Arkady

"ksen" <ksen@discussions.microsoft.com> wrote in message
news:117E1D60-CCC6-4F68-A3BD-3105DF6C0F53@microsoft.com...
> Thanks for the response, Do you have some sample code?
>
> "Arkady Frenkel" wrote:
>
>> Hi!
>> Using async you create for each method in interface Begin and End
>> correspondent methods which only client know of, that part of client
>> behavior only. Another asyn behavior on client you can produce defining
>> method on service as OneWay or dual
>> HTH
>> Arkady
>>
>> "ksen" <ksen@discussions.microsoft.com> wrote in message
>> news:040010EF-294E-4153-BF72-D2475C70CD59@microsoft.com...
>> > Hi,
>> > I have a webservice, created using wcf. and generated proxy using
>> > svcutil.exe with async option. Which creates beginMethodName and
>> > EnMethodName. I have seen a sample code which uses
>> >
>> > AddOnPreRenderCompleteAsync (
>> > new BeginEventHandler(MyBeginMethod),
>> > new EndEventHandler (MyEndMethod)
>> > );
>> >
>> > My question is Can i register multiple AddOnPreRenderCompleteAsync for
>> > each
>> > call or how it works for multiple calls?
>> >

>>
>>
>>



My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
i want to make async process call in powershell PowerShell
how to make calls from my pc Vista hardware & devices
How does Vista make making telephone calls any easier ?? Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46