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 / ASP.NET / General / December 2007

Tip: Looking for answers? Try searching our database.

Using .NET 2.0/3.0 component in ASP.NET 1.1

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rasheed - 29 Dec 2007 15:10 GMT
Hi,

We have an ASP.NET 1.1 application which uses .NET framework 1.1. The
application is hosted in IIS 5.0 win 2000. We want to write a .NET 2.0
component (which leverages .NET 2.0 Framework, Ex: Dataset Bulk Update
feature) and access it from ASP.NET 1.1. Is this possible? If so, please
provide inputs on how this can be done or direct me to the appropriate
resources?

Note: We have both the framework installed in the web server.

Appreciate your help!

Rasheed
Scott M. - 29 Dec 2007 16:59 GMT
This is not possible.  If you use a .NET 2.0 component, you need the 2.0
.NET Framework to run the applicaiton.

> Hi,
>
[quoted text clipped - 10 lines]
>
> Rasheed
Rasheed - 29 Dec 2007 23:15 GMT
Thanks Scott.  We do have the .NET 2.0 framework installed in addition to
.NET 1.1. Are you saying.NET 2.0 components cannot be accessed from ASP.NET
1.1 (.NET 1.1) application?

Thanks,
Rasheed

> This is not possible.  If you use a .NET 2.0 component, you need the 2.0
> ..NET Framework to run the applicaiton.
[quoted text clipped - 13 lines]
> >
> > Rasheed
Phil H - 30 Dec 2007 00:24 GMT
> Thanks Scott.  We do have the .NET 2.0 framework installed in addition to
> .NET 1.1. Are you saying.NET 2.0 components cannot be accessed from ASP.NET
[quoted text clipped - 22 lines]
>
> - Show quoted text -

Rasheed

You cannot expect ASP.NET v 1.1 to recognise and handle new components
introduced in v 2.0 The latter was developed ouside of the design
limitations of v 1.1 (it is reasonable to assume the ASP.NET v 1.1
developer's brief did not extend to unforseen enhancements), hence the
introduction of a new version of ASP.NET.

Had you put the question the other way round then the answer would be
Yes, ASP.NET v 2 is backward compatible with v 1.1 but that's only
because it was developed with full knowledge of the previous version.
Rasheed - 30 Dec 2007 00:54 GMT
Thanks Phill. This helps.

My bad, I though it may be possible to “configure” a specific component of
.NET 1.1 application to use .NET 2.0 framework (which is what we want as we
do not want to migrate the entire application to .NET 2.0 platform).  I guess
a single process/domain can use only one target framework at a time.

Thanks,
Rasheed

> > Thanks Scott.  We do have the .NET 2.0 framework installed in addition to
> > .NET 1.1. Are you saying.NET 2.0 components cannot be accessed from ASP.NET
[quoted text clipped - 34 lines]
> Yes, ASP.NET v 2 is backward compatible with v 1.1 but that's only
> because it was developed with full knowledge of the previous version.
Scott M. - 30 Dec 2007 01:31 GMT
The .NET Framework consists of a set of base classes and a Common Language
Runtime.  The various CLR's are not forward compatible as version 1.1's
runtime would not understand something introduced in the 2.0 Framework.

If you wish to use any portion of 2.0, you must upgrade your application to
be an ASP .NET 2.0 applicaiton.  The good news is that if you do migrate the
1.1 application to 2.0, everything that used to work will still work as 2.0
is backward compatible with 1.1, even though 1.1 is not forward compatible
with 2.0.  If you already have the 2.0 Framework installed on your servers,
this is going to be your best bet.

-Scott

> Thanks Phill. This helps.
>
[quoted text clipped - 54 lines]
>> Yes, ASP.NET v 2 is backward compatible with v 1.1 but that's only
>> because it was developed with full knowledge of the previous version.
Rasheed - 30 Dec 2007 01:41 GMT
Thanks Scot. Appreciate your feedback.

Abdul

> The .NET Framework consists of a set of base classes and a Common Language
> Runtime.  The various CLR's are not forward compatible as version 1.1's
[quoted text clipped - 67 lines]
> >> Yes, ASP.NET v 2 is backward compatible with v 1.1 but that's only
> >> because it was developed with full knowledge of the previous version.

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.