Code, Code, Revolution!
Per Bjurström wrote about this fix on his EPiServer blog a little while ago. Microsoft has a hotfix to improve startup after you compile your ASP.NET project.
FIX: You experience very slow performance on an initial request to an ASP.NET Web site after you change the App_Code folder, the bin folder, or the Global.asax file
Link to the hotfix description kb961884.
The hotfix isn’t availble for download if you’re using Windows XP, you need to contact Microsoft support. If you don’t feel like contacting them you can download the fix here instead. Just like Per on his Vista machine you get close to 50% faster compilations with this fix.
Download and install the hotfix, enable it by adding the optimizeCompilations=”true” to your web.config.
<compilation defaultLanguage="c#" debug="false" optimizeCompilations="true">*UPDATE* David Ebbo (Microsoft) has more details about this new compilation behavior on his blog. It will be included in Visual Studio 10.
Happy compilations!
» Download KB961884 for Windows XP
With this blog I try to provide useful tips and solutions for programming .NET, Objective-C and more. My name is Björn Sållarp, and I love writing code.
Leave a reply