问题描述
我们有一个使用Visual Studio 2003在.Net 1.1中开发的Web应用程序.它是Visual C ++组件和Windows服务的一个更大平台的一部分.该平台的原始版本是为Windows 2003设计的. 服务器,并且仍然无缝运行.问题在于,在.Net 2.0或更高版本中编译的ASP.Net组件在Windows 2008及更高版本(基本上是任何64位OS)中运行速度确实很慢.尝试对Web应用程序进行性能分析,但无法真正确定原因 对于同样的缓慢.即使Web应用程序完全位于.Net中,它也具有使用Visual C ++编写的32位本机库的依赖性.因此,要求ASP.Net应用程序池启用32位执行.
如果有人可以提供一些可能引起这种情况的潜在问题的见解,那就太好了.尝试在64位OS/环境中运行32位应用程序是否可能导致应用程序性能下降或运行缓慢 执行?任何见解将不胜感激.
We have one of our web applications developed in .Net 1.1 using Visual Studio 2003. This is part of a much larger platform which of Visual C++ components and windows services. The original version of the platform has been designed for Windows 2003 server and still runs seamlessly. The issue is that the ASP.Net component when compiled in .Net 2.0 or greater runs really slow in Windows 2008 and higher (basically any 64 bit OS). Tried profiling the web application and couldn't really identify the reason for the slowness of the same. Even though the web application is completely in .Net, it has dependencies with 32 bit native libraries written in Visual C++. So, the ASP.Net application pool is required to have 32 bit execution enabled.
Would be great if someone could provide some insights on potential issues which could cause such a situation. Is it possible that trying to run 32 bit application in a 64 bit OS/environment could cause degrade in performance or slowness in the application execution? Any insights would be highly appreciated.
这篇关于64位OS中ASP.Net应用程序的性能降低的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!