Thank you for your response. However, this doesn't seem to answer my
question. The delay isn't happening on the server side, it's happening on
the client side.
I can demonstrate as follows:
Set up debug session of client software. Setup simultainious debug session
of web service by using a second computer.
A) Start client. Client issues first call to web service, experiences 15
second delay before breakpoint is hit on the server.
B) Issue second request on client side. Breakpoint is hit on server
instantly.
C) Shut down client.
D) Restart client, client issues first call to the same web service. Again,
15 second delay transpires before the breakpoint is hit on web service.
Second test:
A) On computer A, connect client to web service. Client issues first
request, experiences 15 second delay.
B) On Compuber B, connect same client to web service. Client issues the
same first request as step A, also experiences 15 second delay.
This happens every single time I create an application that consumes any web
service, and it happens on the client side. After the first request completes
everything is very fast.
Is there anything I can do to eliminate this startup delay?
Thank you.
David

Signature
DavidJBerman.com
<a href="http://www.davidjberman.com" target="_blank" title="David
Berman">Visit David Berman</a>
> > Hello, I'm using Visual Studio .NET 2005 with .NET framework v2.0, Windows
> > 2003 Server.
[quoted text clipped - 31 lines]
> the system starts, and whenever the AppDomain unloads due to the idle timer
> on the application pool it's running in.
John Saunders [MVP] - 02 Aug 2007 18:34 GMT
> Thank you for your response. However, this doesn't seem to answer my
> question. The delay isn't happening on the server side, it's happening on
[quoted text clipped - 26 lines]
>
> Is there anything I can do to eliminate this startup delay?
That's really _not_ the problem I was talking about!
Can you reproduce this delay with a "hello, world" service? I suspect you'll
find that it's something specific to your service. It's not the usual
behavior.

Signature
John Saunders [MVP]
Egghead - 10 Aug 2007 14:54 GMT
Hmm, it seems that it is the security setting on the networking or PC in the
client-side (may be in the server-side).
You must have few PCs sitting at your own office, make a hello web service
on one of them, and you can find out you do not have that dely at all.

Signature
cheers,
RL
> Thank you for your response. However, this doesn't seem to answer my
> question. The delay isn't happening on the server side, it's happening on
[quoted text clipped - 74 lines]
>> timer
>> on the application pool it's running in.
Pseudo - 11 Aug 2007 13:46 GMT
I'm seeing the exact same behaviour.
A simple "Hello World" web service on my server shows about a 15 second
delay on the client's first call.
Any of the services on that server have the delay on the first call and then
any other call is very quick.
If I use the web interface directly on the server, there is never any delay.
One thing to note is that I also have a vpn connection to the site with the
server. I'm guessing maybe it may be trying to establish some sort of
Windows authentication and timing out before allowing the first call.
I'll do as you suggest and try a local "Hello World" application.
Bryan
> Hmm, it seems that it is the security setting on the networking or PC in the
> client-side (may be in the server-side).
[quoted text clipped - 79 lines]
> >> timer
> >> on the application pool it's running in.
Pseudo - 11 Aug 2007 14:08 GMT
I ran the same service on my development machine and no delay on any of the
calls.
> I'm seeing the exact same behaviour.
>
[quoted text clipped - 97 lines]
> > >> timer
> > >> on the application pool it's running in.