Better Perfomance of Web Applications
If you are :
•Running Windows server in 64 bit mode.
•Running a standard .Net web application
•Do not need a large memory address space (ie. over 4 gigabytes)
•Have no special 64 bit optimisations
Simple solution to improve the performance is by enabling 32 bit mode on your iis server.
Follow these simple steps to get the better performance improvements in your application.
1.To enable 32 bit mode on IIS in 64 bit windows, at a command prompt type:
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
2.Once this is done, 32 bit mode is enabled but we need to ensure that the 32 bit DLL’s are used as IIS will still have the 64 bit DLL’s defined for the ISAPI handler. To do this, all we have to do is re-register ASP.NET. At a command prompt, simply type:
%SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe –i
3.Finally, just make sure the status ASP.NET version 2.0.50727 (32-bit) in the web services extension, within IIS, is set to allowed.
(More information on this process can be found here http://support.microsoft.com/kb/894435)
Thats it, you can improve the performance by 30% - 50%.
Happy Coding...
•Running Windows server in 64 bit mode.
•Running a standard .Net web application
•Do not need a large memory address space (ie. over 4 gigabytes)
•Have no special 64 bit optimisations
Simple solution to improve the performance is by enabling 32 bit mode on your iis server.
Follow these simple steps to get the better performance improvements in your application.
1.To enable 32 bit mode on IIS in 64 bit windows, at a command prompt type:
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
2.Once this is done, 32 bit mode is enabled but we need to ensure that the 32 bit DLL’s are used as IIS will still have the 64 bit DLL’s defined for the ISAPI handler. To do this, all we have to do is re-register ASP.NET. At a command prompt, simply type:
%SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe –i
3.Finally, just make sure the status ASP.NET version 2.0.50727 (32-bit) in the web services extension, within IIS, is set to allowed.
(More information on this process can be found here http://support.microsoft.com/kb/894435)
Thats it, you can improve the performance by 30% - 50%.
Happy Coding...
Labels: .net2.0, .net3.5, iis, performance, website
Post a Comment