List Info

Thread: Any drawbacks to leaving a webservice "defined"




Any drawbacks to leaving a webservice "defined"
user name
2006-03-17 15:36:38
Except it could go 15 minutes or longer without any call
being made. And
that first call always seems to take a little longer than
all of the
subsequent calls.

Thanks.
 
Stacey

-----Original Message-----
From: Discussion of writing applications and components
using Visual
Basic .NET [mailto:VBDOTNETDISCUSS.DEVELOP.COM] On
Behalf Of Chris
Anderson
Sent: Friday, March 17, 2006 10:30 AM
To: VBDOTNETDISCUSS.DEVELOP.COM
Subject: Re: [VBDOTNET] Any drawbacks to leaving a
webservice "defined"

There's no real benefit to reusing the webservice actually.
The web service proxy (and connection) is internally cached
and reused
between calls (There is a timeout of about 5 minutes IIRC)

> -----Original Message-----
> From: Discussion of writing applications and components
using 
> Visual Basic .NET [mailto:VBDOTNETDISCUSS.DEVELOP.COM] On 
> Behalf Of Stacey Levine
> Sent: 17 March 2006 14:46
> To: VBDOTNETDISCUSS.DEVELOP.COM
> Subject: [VBDOTNET] Any drawbacks to leaving a
webservice "defined"
> 
> I have an application that will make lots and lots of
calls 
> to the same webservice on a form. These calls could be
over 
> multiple hours (each call is seconds in length). I had
been 
> declaring the webservice instance each time and the
disposing 
> of it when done.. I was thinking about making it a
private 
> form level variable and then just using that through
the life 
> of the form. Are there any real drawbacks to this?
> 
>  
> 
> Stacey
> 
>  
> 
> 
> ===================================
> This list is hosted by DevelopMentor(r)  http://www.develop.com
> 
> View archives and manage your subscription(s) at 
> http://discuss.develop.com

> 
> 
> 

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com

View archives and manage your subscription(s) at
http://discuss.develop.com


===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )