can i set the cool-down time?

M

Mullin Yu

hi,

i found out the first time calling the web services takes quite a long time
or after a certain period, calling the web services takes also quite a long
time.

to me, it means that the web service will be cool down when idle for a
certain time. is it true? if yes, how long? can i set it?

thanks!
 
M

Mullin Yu

thanks!

but, can i put it to a xml file or database so that it's configurable, not
hard-coded on the program?

thanks!

R.Balaji said:
Hi,
it means that the web service will be cool down when idle for a
certain time. is it true? if yes, how long? can i set it?
true.
you can change it using the CacheDuration attribute.

eg)
[WebMethod(CacheDuration=300)]
public string FooMethod()

more info on ...
http://support.microsoft.com/default.aspx?scid=kb;en-us;318299

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scalenetchapt10.asp


Regards,
R.Balaji

Mullin Yu said:
hi,

i found out the first time calling the web services takes quite a long time
or after a certain period, calling the web services takes also quite a long
time.

to me, it means that the web service will be cool down when idle for a
certain time. is it true? if yes, how long? can i set it?

thanks!
 

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

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top