Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / October 2006

Tip: Looking for answers? Try searching our database.

.NET 1.1 and .NET 2.0 compatibility question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
intrader - 11 Oct 2006 19:31 GMT
Is it possible to run assemblies generated for .NET 1.1 under .NET 2.0?

I am not sure I am expressing the question properly. The situation is
that we have some developers using Visual Studio 2003 and others using
Visual Studio 2005. Both groups are generating Windows Forms and Web
Applications; the IIS for each group is configured appropriately with as
to the version of the framework. The clients are are also segregated as
to the version of the framework.

We would like to configure the clients and the servers with .net 2.0
framework. Will the clients and IIS run .NET 1.1 assemblies?

Thanks
Michael Nemtsev - 11 Oct 2006 19:58 GMT
Hello intrader,

i> Is it possible to run assemblies generated for .NET 1.1 under .NET
i> 2.0?

Yes

i> I am not sure I am expressing the question properly. The situation is
i> that we have some developers using Visual Studio 2003 and others
i> using Visual Studio 2005. Both groups are generating Windows Forms
i> and Web Applications; the IIS for each group is configured
i> appropriately with as to the version of the framework. The clients
i> are are also segregated as to the version of the framework.
i>
i> We would like to configure the clients and the servers with .net 2.0
i> framework. Will the clients and IIS run .NET 1.1 assemblies?

First, you can specify the version of ASP.NET handler that IIS use
Second, you can specify the desired assembly version in your app config

---
WBR,
Michael  Nemtsev :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
intrader - 11 Oct 2006 20:18 GMT
> Hello intrader,
>
[quoted text clipped - 21 lines]
> "At times one remains faithful to a cause only because its opponents do
> not cease to be insipid." (c) Friedrich Nietzsche

As I understand your answers:
1. NET2.0 runs NET1.1 assemblies runwithout change except that the app
config must state whether assembly is 1.1 or 2.0. (by the way does this
affect the build?)
2. IIS must be configured for a virtual directory to use the appropriate
handler.

Is this correct? or am I still not understanding?

Thanks
Michael Nemtsev - 11 Oct 2006 20:30 GMT
Hello intrader,

i> Michael Nemtsev wrote:
i>
>> Hello intrader,
>>
[quoted text clipped - 22 lines]
>> "At times one remains faithful to a cause only because its opponents
>> do not cease to be insipid." (c) Friedrich Nietzsche

i> As I understand your answers:
i> 1. NET2.0 runs NET1.1 assemblies runwithout change except that the
i> app
i> config must state whether assembly is 1.1 or 2.0. (by the way does
i> this
i> affect the build?)

Both version works fine side-by-side, in you 2.0 app u can just reference
to the desired 1.1 class library and to work without problems.
Redirect is required when u have the same library but build in different
versions

i> 2. IIS must be configured for a virtual directory to use the
i> appropriate
i> handler.

Yep, as I remember u need just specify the version of aspnet.dll for your
virtual folder

---
WBR,
Michael  Nemtsev :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
intrader - 11 Oct 2006 21:12 GMT
> Hello intrader,
>
[quoted text clipped - 52 lines]
> "At times one remains faithful to a cause only because its opponents do
> not cease to be insipid." (c) Friedrich Nietzsche

Thank you; most helpful

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.