Can I use v1.1 component in ASP.NET 2.0?

G

Guest

I am going to install VS 2005 and develop ASP.NET 2.0 apps.

One question, can I use v1.1 component in 2.0?
I have a HTML editor compenent I want to use it in the 2.0 apps.
 
J

Juan T. Llibre

As long as the component doesn't call .Net Framework classes/properties
which have been rendered obsolete in 2.0, there shouldn't be a problem.

A 1.1 component will run under 2.0, if that's the case.
 
K

Kevin Spencer

Actually, any 1.1 assembly can be used by a .Net 2.0 application.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
If you push something hard enough,
it will fall over.
- Fudd's First Law of Opposition
 
J

Juan T. Llibre

Even if the component calls a .Net Framework 1.1 class
which doesn't exist in the .Net Framework 2.0, or a class
which has had parameter changes like HttpContext.RewritePath ?
 
T

tdavisjr

Microsoft guarantees backward compatibility with previous versions of
the framework. However, they only will break compatibility if its
necessary in fixing a security flaw, then and only then will they say
"Screw you guys!" LOL.

That aside. I think you will be fine. Check your component vender to
see if they are expecting a 2.0 release soon.
 
K

Kevin Spencer

I'm pretty sure, Juan. The .Net 1.1 assemblies use the .Net Framework 1.1.
As they all compile to MSIL, and from there to native machine code, there
should not be any issues. I can say for sure that I have done this in a .Net
2.0 application that is quite large and complex, as well as several smaller
ones, without any problems. As far as specific instances are concerned, I
could not say for sure, but I am relatively positive.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
If you push something hard enough,
it will fall over.
- Fudd's First Law of Opposition
 

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

Members online

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,112
Latest member
BrentonMcc
Top