Re: How to eliminate delay making first call to a webservice?



On Apr 30, 2:57 pm, DaveOnSEN <anonym...@xxxxxxxxxx> wrote:
Every time I make any .NET framework based webservice consumer I have
the same problem: The first call my application makes to consume a
webservice takes about 15 seconds. Subsequent calls are very fast.
What is happening during this initial delay, and is there anything I can
do to fix this so my applications start up quickly?

For example, typically the first call to consuming a webservice is some
sort of 'login / authenticate' function. The user puts in a username
and password and clicks ok. 15 seconds go by, now user is logged in and
gets a screen populated with data. The call for the data is instant,
whereas the call to login is slow. This is the same no matter what
applications I use, all .net framework applications that consume
webservices that I have seen so far have this problem.

Is there a fix / workaround?

You might want to ask this in an asp.net forum, you may get better
answers. Basically, you're running into how IIS recycles the asp.net
worker process. You may need to adjust this so that process isn't
recycled as often.

.



Relevant Pages

  • Re: How to eliminate delay making first call to a webservice?
    ... occurs upon the first request to the web service. ... typically the first call to consuming a webservice is some ... applications I use, all .net framework applications that consume ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Possible to consume a web service with VB.NET 1.1 VS 2003?
    ... webservice is aiming at interop between heterogenious platforms. ... Microsoft MSDN Online Support Lead ... Possible to consume a web service with VB.NET 1.1 VS 2003? ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Why web services?
    ... then to integrate with 3rd party's I consume the ... Bus Façade from a webservice, the bus facade is hosted in a .NET remoted ... Web Services is Service orientated architecture, good for other apps talking ... Just cos you ASP.NET can use the WebService on the same server it does not ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • How to eliminate delay making first call to a webservice?
    ... Every time I make any .NET framework based webservice consumer I have ... applications I use, all .net framework applications that consume ...
    (microsoft.public.dotnet.languages.csharp)
  • ServicePointManager does not support proxies of HTTPS scheme
    ... I have a VB.Net application that consumes an WebService. ... to consume the WebService I get the following error message: ... ServicePointManager does not support proxies of https scheme." ... Why I can add the WebReference and cannot consume the WebService? ...
    (microsoft.public.dotnet.framework.webservices)