Avoid initial request delay in web service  
Author Message
WebSigMan





PostPosted: ASMX Web Services and XML Serialization, Avoid initial request delay in web service Top

Hello, i have a problem with deal with web services.

when the end user make the first request to the application, the application take long time to response to the request, but after the first request the application work as normal.

my problem is the initial request to the web services,

thanks for your help.



.NET Development16  
 
 
Jose Rosengurtt





PostPosted: ASMX Web Services and XML Serialization, Avoid initial request delay in web service Top

Hi

IIS 6 by default unloads the worker processes that have been inactive for 20 minutes.

The way to change this setting in IIS 6 is:

1. Open the IIS manager Snap-in and expand the local computer

2. Expand Application Pools

3. Right Click DefaultAppPool and select properties

4. Select the performance tab

5. Uncheck the checkbox “Shut down the worker process after been idle for …”

Hope it helps