Abhishek Sirari
Abhishek Sirari

Reputation: 63

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..??

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.

enter image description here

Will it run seamlessly..?? Or are there any hidden complexities / issues in doing so..??

Upvotes: 0

Views: 1053

Answers (1)

Vijunav Vastivch
Vijunav Vastivch

Reputation: 4191

It could be done:

Project framework 2.0 can run in IIS with Application pool 4.0

Here's my Test:

enter image description here

enter image description here

enter image description here

enter image description here

Upvotes: 1

Related Questions