<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>What to do about the slow startup of web services</title><link>http://blogs.msdn.com/johan/archive/2008/04/02/what-to-do-about-the-slow-startup-of-web-services.aspx</link><description>Due to the architecture of web services and web applications they can be quite slow to start. For example on my Windows 2003-box the initial localhost-call to a simple “Hello World!”-web service takes approximately 8 seconds, while the next request is</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: What to do about the slow startup of web services</title><link>http://blogs.msdn.com/johan/archive/2008/04/02/what-to-do-about-the-slow-startup-of-web-services.aspx#8352077</link><pubDate>Wed, 02 Apr 2008 21:21:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8352077</guid><dc:creator>Josh L</dc:creator><description>&lt;p&gt;This article doesn't mention it (perhaps it's assumed) but you can pre-compile your asp.net pages by using Web deployment projects and unchecking &amp;quot;Allow this precompiled site to be updatable&amp;quot;. &amp;nbsp;More information here:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-us/library/aa479568.aspx"&gt;http://msdn2.microsoft.com/en-us/library/aa479568.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Ngen adds a number of complications, including ensuring that you don't have any base address conflicts - see this article for more information:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-us/magazine/cc163610.aspx"&gt;http://msdn2.microsoft.com/en-us/magazine/cc163610.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: What to do about the slow startup of web services</title><link>http://blogs.msdn.com/johan/archive/2008/04/02/what-to-do-about-the-slow-startup-of-web-services.aspx#8981090</link><pubDate>Tue, 07 Oct 2008 05:20:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8981090</guid><dc:creator>Fredy Feld</dc:creator><description>&lt;p&gt;I had the same problem. The reason is that the application domain times out every 20 mins if there is no activity, the first request after the timeout can force a recompile and reload of cache. Changing some settings in the machine.config file will solve the problem; unfortunately for me my hosting provider would not allow me to make this change. I found this utility to be useful.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.spikesolutions.net/ViewSolution.aspx?ID=c2b7edc0-5de1-4064-a432-05f6eded3b82"&gt;http://www.spikesolutions.net/ViewSolution.aspx?ID=c2b7edc0-5de1-4064-a432-05f6eded3b82&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Essentially it &amp;quot;Pings&amp;quot; my home page every few mins so the application domain does not time out. The utility can also be configured to ping more than one page so that auxiliary pages are fast too.&lt;/p&gt;
</description></item><item><title>re: What to do about the slow startup of web services</title><link>http://blogs.msdn.com/johan/archive/2008/04/02/what-to-do-about-the-slow-startup-of-web-services.aspx#9242264</link><pubDate>Fri, 19 Dec 2008 18:25:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9242264</guid><dc:creator>Dan Ribar</dc:creator><description>&lt;p&gt;I found that when the website [calling the web service] has debug=&amp;quot;true&amp;quot; in the web.config, &amp;nbsp;it loads and does the JIT compilation and takes a while on the first load. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sitching the debug to &amp;quot;False&amp;quot; eliminates the problem. &amp;nbsp;BTW, &amp;nbsp;I also have set the worker processes to NOT restart, &amp;nbsp;but we learned that many moons ago when we were deploying SSRS. &amp;nbsp;It tends to do the same thing on reports starting slowly for the first time.&lt;/p&gt;
&lt;p&gt;Dan Ribar&lt;/p&gt;
</description></item></channel></rss>