User-417640953 posted
Why when I do the first call to a https webService async, is having a high time to get response ?
If I put more one call after this first call, the service async returns very fast.
Hi atiliosud,
Thanks for your post.
There many reasons caused the delay response of web service when the first request.
# Web service needs start up on first call, after that, it will response quickly.
You can configure IIS to have keepalive = true , I think that will improve the performance.
# Some Serializer assemblies (.dll) need to be compiled on the firat request.
To speed up the initial call you can create the XmlSerializers dll at compile time. You can do this by setting
your project build 'Generate serialization assembly' to on.
Please take a look at below similar thread and get more information:
http://stackoverflow.com/questions/784918/asmx-web-service-slow-first-request
http://stackoverflow.com/questions/16086045/first-call-to-a-net-webservice-is-slow
Hope this helps, thanks.
Best Regards!