Pregunta

I know my Question is little bit basic but have to ask about this:

i have my website build in Visual Studio 2008 with .Net framework 3.5 that site is hosted on my server.

now because of some specific reason i have to install framework 4.0 to the server. and i just want to know that my site will be okk with it or not.

I mean if i change my framework from 3.5 to 4.0 then is there some changes i should make to my site or that site will run fine as before.

¿Fue útil?

Solución

You should also change Framework Version in the application pool of your WebSite. pool

Basically, remember that Framework version != CLR Version.

In your case, .NET Framework 3.5 = CLR 2.0 + (C# 3.0 | VB9)

Otros consejos

.NET Framework 3.5 and 4.0 have different CLR Versions and can be installed side by side on same machine.

That means your site will not see any issues.

There is no problem installing the framework 4 on the server. Your site should be fine as long as you don't change the target framework on the IIS appPool. You can have all the frameworks installed on the same machine.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top