Does .NET 2.0 fix the slow webservice first-time loadup?
- From: edzehoo@xxxxxxxxx
- Date: 18 Oct 2005 11:39:53 -0700
Hi
There was this annoying problem with .NET 1.1 where a web service
would take 15 secs or more to get loaded into memory upon first access.
After that, subsequent accesses are fast, UNTIL the webservice is left
idle for about 15-20 minutes, then somehow it takes 15 seconds to load
again on the next access (I'm guessing the session gets flushed after a
specific idle time period)
I was told to write a hack that would keep 'hitting' the webservices
every 15 minutes in order to keep the session alive.
But this still somehow feels like a hack.
Does .NET 2.0 fix this? I heard there's this precompile option, but how
does it actually work? I'm using VS 2005 Beta 2 at the moment. Can
anyone give me detailed instructions to 'precompile' a web service?
Thanks to all you guys out there who bothered reading my post :-)
Regards,
Ed Zehoo,
Lead Software Architect
United Software Labs
.
- Prev by Date: Re: SSL for very simple security need in web service app
- Next by Date: Problem with WSE and Win98...(MVP Replies prefered)
- Previous by thread: Cache or HttpApplicationState
- Next by thread: Re: Does .NET 2.0 fix the slow webservice first-time loadup?
- Index(es):