Upgrade from NET 3.5 to 4

Discussion in 'General troubleshooting' started by gunsh, Nov 23, 2010.

  1. My site is built to run under NET 3.5. Now I want t do some tests which require NET 4. Is it 100% safe to just make the switch in the Control Panel or are there some precautions?

  2. Ray


    You will need to update your code to make sure it targeted specifically for ASP.Net 4.0. Changing the framework on the account will not be enough and if you do not update your code may even crash your web application.
  3. It's not really the answer I was hoping for but at least I know what do now. Thanks a lot Ray!
  4. Ray


    Sorry it was kind of hard to answer because the question itself is fairly general. Since I did not create your site I myself will not be able to tell you exactly what part of the code you need to change. Only give you a general idea. But in Visual Studio 2010 there should be a feature that will help update your ASP.Net 3.5 web application for you to ASP.Net 4.0. You may want to start there.

Share This Page