Reputation: 63
Can I Host .NET 2.0 Running web Application with .NET 4.0 App Pool..??
I have added the following node in the Web.config of my Web Application :
<startup>
<supportedRuntime version="v2.0.50727"/>
</startup>
This means that my application runs using .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. Its working fine for normal cases.
Refer the image below. The name of the application is LMSInterface.
Will it run seamlessly..?? Or are there any hidden complexities / issues in doing so..??
Upvotes: 0
Views: 1053
Reputation: 4191
It could be done:
Project framework 2.0 can run in IIS with Application pool 4.0
Here's my Test:
Upvotes: 1