Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I run ASP.NET 2.0 and 3.5 code on the same website?

Tags:

asp.net

Can I run ASP.NET 2.0 and 3.5 code on the same website? ...or, do I need to separate them by applications, and/or servers?

like image 439
Jason Avatar asked Sep 25 '08 19:09

Jason


4 Answers

.NET 3.5 is 2.0 with a few extra libraries. So the answer is yes you can run them on the same web site. In fact you cannot even set a web application to run under 3.5. It just runs under 2.0. You can check the ASP.NET tab in the properties of an IIS site to see that there isn't even an option to run your application under 3.5.

like image 80
Erikk Ross Avatar answered Oct 26 '22 13:10

Erikk Ross


As long as your server is running 3.5, you can run both.

like image 32
James Hall Avatar answered Oct 26 '22 14:10

James Hall


As far as IIS is concerned, 3.5 and 2.0 are the same. What you have to be careful about is not mixing 1.1 and 2.0 in the same app pool.

like image 44
Herb Caudill Avatar answered Oct 26 '22 13:10

Herb Caudill


Yes you can without issue.

like image 22
Mitchel Sellers Avatar answered Oct 26 '22 13:10

Mitchel Sellers