title: ASP.NET websites under IIS 7.5 (Windows 7) running extremely slow
body: <p>I've just installed Windows 7 x64 Ultimate on my desktop PC. I installed IIS, Visual Studio 2008, registered ASP.NET, etc.</p>
  
  <p>I have this ASP.NET 3.5 website I'm working on running EXTREMELY slow on this new IIS. On STA and PROD servers (Windows 2003 Server) and on my old XP/IIS 5.1 everything runs smoothly.</p>
  
  <p>A page which usually takes 1-2 seconds to load is taking 8 seconds!!!</p>
  
  <p>I saw <a href="http://forums.iis.net/t/1100987.aspx" rel="noreferrer" title="this post">this post</a> on IIS forum. It says something about Vista/7 not pooling connections (just to let you know, the website is running locally but it's connecting to a SQL Server 2005 hosted on a remote server).</p>
  
  <p>It seems that it takes a while to "start loading" the page... I mean, I click refresh and it stays for several seconds "Waiting for localhost"... Then when it gets response it loads the whole page normally...</p>
  
  <p>I don't have a clue how to force Win7/IIS7.5 to pool database connections.</p>
  
  <p><strong>EDIT:</strong> I've created a new empty ASP.NET web application to see if the problems happens too. The answer is no, it responds fast as it should with an empty default page. Maybe is something related to the DB connection. I will do a further test. It should be a way to fix it...</p>
  
  <p><strong>EDIT 2:</strong> Debugging the app I noticed that the delay occurs AFTER the execution of .NET code (Page_Load, etc)... so the delay seems to be somewhere when IIS serves the page to the browser.</p>