For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > October 2005 > Will 2.0 and 1.1 work on same server?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Will 2.0 and 1.1 work on same server?
Michael

2005-10-31, 7:02 pm

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


Juan T. Llibre

2005-10-31, 7:02 pm

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/
======================================
"Michael" <myklreinhart@online.nospam> wrote in message
news:OEh4lcj3FHA.1596@tk2msftngp13.phx.gbl...
> 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



Cowboy (Gregory A. Beamer) - MVP

2005-10-31, 7:02 pm

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!
***************************


"Michael" wrote:

> 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
>
>
>

Kevin Spencer

2005-10-31, 7:02 pm

> 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.

"Cowboy (Gregory A. Beamer) - MVP" <NoSpamMgbworld@comcast.netNoSpamM> wrote
in message news:ACCA18A8-A5B6-433A-88DD-B2DAC808266C@microsoft.com...[color=darkred]
> 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!
> ***************************
>
>
> "Michael" wrote:
>


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com