473,396 Members | 1,975 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

should i write my new component with .NET 2.0 ?

Hi,

I am writing a new networking component (dll).
I have a few questions :
1. if i write it with .NET 2 , am i decreasing the number of potentials
clients of my component ?
2. if the API to my component is compatible with .NET 1.1 but my component
use inside it .NET 2.0 , can a NET 1.1 clients use my component ? do they
need .NET 2 instalation ?

Thanks.

Nov 17 '05 #1
2 1133
"yaron" <ya***@discussions.microsoft.com> wrote in message
news:1E**********************************@microsof t.com...
Hi,

I am writing a new networking component (dll).
I have a few questions :
1. if i write it with .NET 2 , am i decreasing the number of potentials
clients of my component ?
2. if the API to my component is compatible with .NET 1.1 but my component
use inside it .NET 2.0 , can a NET 1.1 clients use my component ? do they
need .NET 2 instalation ?

Thanks.


..NET 2.0 components cannot be used on a 1.1 runtime but the reverse should
work (I say should because you won't know if there are issues until you test
the 1.1 components on version 2.0).

So, 1.1 clients can use your components but you have to make sure that the
2.0 runtime is loaded rather than the 1.1 - you cannot have two versions of
the runtime in a single process. You can force this using the supportRuntime
element in your app config file

Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk
Nov 17 '05 #2
1. You might be limiting the number of potential buyers. unless you need 2.0
functionality, stick with 1.1.

2. You can run 1.1 under 2.0, but will have to compile in 1.1 to run in 1.1
(2.0 compiled components will not work).

NOTE: You can build in 2.0, if you desire. You will have to avoid 2.0
specific features and create a 1.1 build script (batch file is fine) to
command line compile. This is one way to get the best of both worlds, the
other is just build in 1.1.

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

***************************
Think Outside the Box!
***************************
"yaron" wrote:
Hi,

I am writing a new networking component (dll).
I have a few questions :
1. if i write it with .NET 2 , am i decreasing the number of potentials
clients of my component ?
2. if the API to my component is compatible with .NET 1.1 but my component
use inside it .NET 2.0 , can a NET 1.1 clients use my component ? do they
need .NET 2 instalation ?

Thanks.

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Weekend | last post by:
Currently, i want to develope a multiple choice exam website. The content of the test is store in an XML file. I want to carry out some function. Could you tell me which programming language should...
3
by: Darren | last post by:
When I add a reference to a component, should I add the reference by pointing it to the dll on disk or should I add the reference to the project (if it's loaded in the solution)? What's the...
1
by: JohnSmith | last post by:
I suspect this is easy, but I have been stumped for a day trying to solve this.. I want to be able to have an unlimited number of aspx pages that all use the code in one class file. I want code...
2
by: Angie | last post by:
Hi, all, I’m newbie in .net, does any expert help me on the following questions? Thanks I have a DLL file wrote in Visual C++ 6.0 for sending message from one server to the other server, and...
10
by: kathy | last post by:
In VB.NET help file "Walkthrough: Creating COM Objects with Visual Basic .NET", It said: "Note The COM objects you generate with Visual Studio .NET cannot be used by other Visual Studio .NET...
7
by: Dr. Zharkov | last post by:
We have program Visual Basic .NET 2003 for construction of 3D-Graphics as a surface z=f (x, y). From VB .NET 2003 we want to transfer coordinates of this surface as myArrayVB (2000, 1) in myArrayVó...
1
by: masterchike | last post by:
Hello All: I am really in a bind. I need to AJAXify a web page that contains a charting component (ILOG). Unfortunately, charting component uses document.write() to write some divs and tags so I...
3
by: Rudi | last post by:
Hello, following problem: At program end or release an assembly a serial device should get a final exit sequence. How can I do this? With Dispose() it's no problem, but this assembly is used...
5
by: Krice | last post by:
There is a component class inside the host class: class Host { Component *c; .... In some cases Component needs to call the host and I guess the only way is that you pass the host for it:
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.