.NET v1.1 and v2

A

Arran Pearce

Hi,
If i install the .NET framework version 1.1 on a Web Server and then
install .NET v2 can i have some web sites which use v1.1 (our .NET 1.1
tech Demo Sites) and some which use v2 (our v2 tech Demo sites).

Will this just work by default or do i have to do some special config?

cheers

Arran
 
C

Cowboy \(Gregory A. Beamer\) [MVP]

You end up having to use the aspnet_regiis tool with the -s flag for every
root that does not fit the 2.0 Framework (at least by default). You can, of
course, set 1.1 to be default and head the other direction.

Currently, 2.0 is beta, so do not install on a production server.

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

************************************************
Think Outside the Box!
************************************************
 
A

Arran Pearce

Thanks for the info.
an extension to this question a bit: If i am running a app (web site or
windows app) in .NET v2. However i referance a assembly which is v1.1.
When i can objects from the v1.1 assembly are they processed by the 1.1
runtime? or v2 runtime?
My assemblys are not strongnamed or in the GAC.
 
C

Cowboy \(Gregory A. Beamer\) [MVP]

If you do everything by default, the 2.0 JIT compiler will handle the JIT
compilation of the assembly being called. You can dink with this, a bit, but
it gets rather complex. Currently, 2.0 is backwards compatible in most
respects, so this is not an issue. Attempting the other direction is a
problem, however, as there are backwards breaking changes.

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

************************************************
Think Outside the Box!
************************************************
 

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

Top