.net – Is It Safe to Install .NET Framework 4.5 on Windows Server 2008 Running .NET Framework 2.0

.net-framework-versioniis-7netwindows-server-2008

I currently am running an ASP.NET MVC2 web application on my Windows 2008 R2 server and I'd like to upgrade my application to MVC4. This will of course require the installation of the later .NET Framework onto the server. Will the server be able to handle both versions of the .NET Framework, and will IIS 7.0 be able to handle the later version of .NET framework?

Will it be possible to run some websites using MVC2 and the earlier .NET Framework alongside some MCV4 apps in the same IIS instance?

Thanks.

Best Answer

Yes, the .NET Framework supports side by side execution which means that installing multiple version shouldn't effect each other.

For all details and explanation how an application chooses his version see: Side-by-Side Execution in the .NET Framework