[英]Can I Host .NET 2.0 Running Web Application with .NET 4.0 App Pool
Can I Host .NET 2.0 Running web Application with .NET 4.0 App Pool..?? 我可以托管带有.NET 4.0 App Pool的.NET 2.0运行Web应用程序吗?
I have added the following node in the Web.config of my Web Application : 我在Web应用程序的Web.config中添加了以下节点:
<startup>
<supportedRuntime version="v2.0.50727"/>
</startup>
This means that my application runs using .NET 2.0 CLR. 这意味着我的应用程序使用.NET 2.0 CLR运行。
I added it to an Application in ISS with App Pool set to .NET 4.0 and did a quick smoke test. 我将其添加到ISS中的“应用程序池”设置为.NET 4.0的应用程序中,并进行了快速冒烟测试。 Its working fine for normal cases. 对于正常情况,它的工作正常。
Refer the image below. 请参考下图。 The name of the application is LMSInterface. 该应用程序的名称为LMSInterface。
Will it run seamlessly..?? 它会无缝运行吗? Or are there any hidden complexities / issues in doing so..?? 还是这样做有任何隐藏的复杂性/问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.