Will 2.0 and 1.1 work on same server?

  • Thread starter Thread starter Michael
  • Start date Start date
M

Michael

Sorry for the newbie question, but if I install the .NET 2.0
redistributables on our ASP.NET server---

- will my old apps continue to work?
- will I be able to add 2.0 pages to my old apps?

M
 
Yes on the first question.
Your 1.1 apps will continue to work under 1.1

No on the second question.

You may *create* new 2.0 apps, but your old apps will only be able
to process 1.1 classes, unless you upgrade the app to use the 2.0
framework by using the ASP.NET tab in the Internet Service Manager's
"Properties" for the application.

In that case, *all* of you application will run under 2.0.

You cannot have the same application run 1.1 and 2.0 classes concurrently.




Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
 
Side by side is fine, as Juan has mentioned.

When you install the redist, I believe it leaves 1.1 for current webs (1.1
upgraded all 1.0 webs, so it operated a bit differently). You can also run
aspnet_regiis -i under the 2.0 directory and have all webs run under 2.0. You
can also selectively choose which run under which version of the framework
using the same tool or assigning individually in ISM, etc.

As long as you have not hit a rare forward breaking change, you can deploy
1.1 to 1.1 or 2.0, but realize that a recompile in 2.0 is the best way to go
if you are going to run under 2.0.

As for adding 2.0 pages to current apps? Only if you upgrade the app to 2.0.
You cannot have 2.0 built pages run under 1.1 when compiled for 2.0. You can,
however, develop in 2.0 and compile in 1.1, provided you use no new features.
Best best is to migrate 1.1 code to 2.0 and add the new 2.0 features and then
deploy to 2.0.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 
When you install the redist, I believe it leaves 1.1 for current webs (1.1
upgraded all 1.0 webs, so it operated a bit differently).

Just a confirmation on that point. That has been my experience.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top