473,386 Members | 1,790 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,386 software developers and data experts.

Just thinking...

Just thinking..

Why doesnt MSFT extend the .net as any other user would?
I mean, when they add something it comes as part of the new core.
Wouldnt it make sense it they released small classes that could be
added if you want?

For example, the windows.forms will be extended/replaced many times in
the future. Why does it have to be part of the core?

The new classes would come like the DirectX wrapper, something we
may install or not.

There are many usefull classes in the core that are hidden. For example
the control base class has a SendMessage function that is not accessible.
why?

Just thinking..

Best regards,
Alejandro Lapeyre
Jul 21 '05 #1
6 1299

"Alejandro Lapeyre" <Al**************@jotmail.com> wrote in message
news:ex**************@tk2msftngp13.phx.gbl...
Just thinking..

Why doesnt MSFT extend the .net as any other user would?
I mean, when they add something it comes as part of the new core.
Wouldnt it make sense it they released small classes that could be
added if you want?

For example, the windows.forms will be extended/replaced many times in
the future. Why does it have to be part of the core?

The new classes would come like the DirectX wrapper, something we
may install or not.

There are many usefull classes in the core that are hidden. For example
the control base class has a SendMessage function that is not accessible.
why?

Just thinking..

Best regards,
Alejandro Lapeyre

My take on this would be that there must be a standard functionality set for
the .NET framework so that any given developer's .NET product will find what
it needs on any target PC without having to worry if optional extras are
available. I guess I prefer knowing that my product developed with the .NET
Framework v1.1 is pretty much guaranteed to work on any target with .NET 1.1
installed. Allowing optional extensions and/or new versions of existing
classes to be installed at will kinda reminds me of DLL Hell days.
I'm sure there are other views, and I can't wait to hear them :)

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Jul 21 '05 #2
Those would be installed just as your own dll's, in your project directory.

Best Regards,
Alejandro Lapeyre

"Peter van der Goes" <p_**********@toadstool.u> escribió en el mensaje
news:uM*************@TK2MSFTNGP12.phx.gbl...

"Alejandro Lapeyre" <Al**************@jotmail.com> wrote in message
news:ex**************@tk2msftngp13.phx.gbl...
Just thinking..

Why doesnt MSFT extend the .net as any other user would?
I mean, when they add something it comes as part of the new core.
Wouldnt it make sense it they released small classes that could be
added if you want?

For example, the windows.forms will be extended/replaced many times in
the future. Why does it have to be part of the core?

The new classes would come like the DirectX wrapper, something we
may install or not.

There are many usefull classes in the core that are hidden. For example
the control base class has a SendMessage function that is not accessible.
why?

Just thinking..

Best regards,
Alejandro Lapeyre

My take on this would be that there must be a standard functionality set
for the .NET framework so that any given developer's .NET product will
find what it needs on any target PC without having to worry if optional
extras are available. I guess I prefer knowing that my product developed
with the .NET Framework v1.1 is pretty much guaranteed to work on any
target with .NET 1.1 installed. Allowing optional extensions and/or new
versions of existing classes to be installed at will kinda reminds me of
DLL Hell days.
I'm sure there are other views, and I can't wait to hear them :)

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.

Jul 21 '05 #3

"Alejandro Lapeyre" <Al**************@jotmail.com> wrote in message
news:u2**************@TK2MSFTNGP10.phx.gbl...
Those would be installed just as your own dll's, in your project
directory.

Best Regards,
Alejandro Lapeyre

Right. Then I'd end up with multiple instances of the same (or, worse,
almost the same) DLL's scattered all over my drive as I installed more
products. Then, somebody would write the installer to put the DLL's in
....\Windows\System. If this sounds familiar, it should. As I said, DLL
Hell...
Jul 21 '05 #4
Do you see any pros?

Best Regards,
Alejandro Lapeyre

"Peter van der Goes" <p_**********@toadstool.u> escribió en el mensaje
news:OQ**************@TK2MSFTNGP15.phx.gbl...

"Alejandro Lapeyre" <Al**************@jotmail.com> wrote in message
news:u2**************@TK2MSFTNGP10.phx.gbl...
Those would be installed just as your own dll's, in your project
directory.

Best Regards,
Alejandro Lapeyre

Right. Then I'd end up with multiple instances of the same (or, worse,
almost the same) DLL's scattered all over my drive as I installed more
products. Then, somebody would write the installer to put the DLL's in
...\Windows\System. If this sounds familiar, it should. As I said, DLL
Hell...

Jul 21 '05 #5
Hi Peter,

DLL Hell was caused by two things: DLLs were expected to live in a common
directory, even if they would never be used in common, and
There was no consistent way to insure that every DLL was uniquely
identified.

Both of these flaws are fixed in .Net. In the current structure, dlls are
expected to live in your own directory. Any dll that you expect to share
MUST be signed in such a way as to insure that it comes from the same
source. All dlls include version numbers that should, ideally, uniquely
identify the library.

So with .Net, you shouldn't have the THREED.VBX problem that gave us all the
first real dose of DLL hell.

You did answer the question, though. In general, all developers want to
make sure that a system running the framework is running the same code as
another system running the framework. Having more than one "version" of
..Net framework 1.1, for example, would be a nightmare for deployment...
unless, as the OP suggests, the extensions are installed with the app.

As far as the notion of Microsoft releasing "extensions" to the framework
that can be included as DLLs in your own code...
Microsoft already does.

See
http://www.microsoft.com/resources/practices/code.mspx

All of these "extensions" are released by Microsoft with the intent that you
can use them in your own apps as long as your app installs them on the
target machine. They are also open source, which is nice because you can
see what they do.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"Peter van der Goes" <p_**********@toadstool.u> wrote in message
news:OQ**************@TK2MSFTNGP15.phx.gbl...

"Alejandro Lapeyre" <Al**************@jotmail.com> wrote in message
news:u2**************@TK2MSFTNGP10.phx.gbl...
Those would be installed just as your own dll's, in your project
directory.

Best Regards,
Alejandro Lapeyre

Right. Then I'd end up with multiple instances of the same (or, worse,
almost the same) DLL's scattered all over my drive as I installed more
products. Then, somebody would write the installer to put the DLL's in
...\Windows\System. If this sounds familiar, it should. As I said, DLL
Hell...

Jul 21 '05 #6

"Alejandro Lapeyre" <Al**************@jotmail.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Do you see any pros?

As a matter of fact, I do :)
*If it could be managed so as not to cause problems*, an up side would be
that improvements/new features would not have to wait for an official .NET
Framework release, right?
Anyway, take my opinions for what they are worth, and pay more attention to
folks like Nick, who is far more knowledgeable than I.
Jul 21 '05 #7

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

Similar topics

9
by: rick cameron | last post by:
TimeZone - the only instance you can get is one representing the local time zone DateTime - cannot represent a time before 00:00:00 1 Jan 1 CE What were they thinking? This is a serious question...
1
by: steve | last post by:
I am thinking about implementing replication. Basic question is what kind of delay there would be to have the data replicated. Not a massive table, and all on the same net. Furthere, can you...
5
by: keith | last post by:
This may seem simple, but I'm having a bit of trouble figuring out exactly how to do it. I'm accessing a database through an ODBC link, and I have a query that returns only jobs completed that day...
6
by: Alejandro Lapeyre | last post by:
Just thinking.. Why doesnt MSFT extend the .net as any other user would? I mean, when they add something it comes as part of the new core. Wouldnt it make sense it they released small classes...
12
by: Jeff | last post by:
Looking for your highly subjective opinions (from those of you who have been working extensively with VS 2005). I have a client that needs/wants a complete rewrite of an existing application. I...
4
by: gopal | last post by:
Hi, i am now reading thru the thinking in C++ and i have some doubts at section CONST REFERENCES as The use of const references in function arguments is especially important because your...
6
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, I am thinking about doing this since I got several cases that some of our internal users open more than one browser at the same time from our server. When one of the transactions was not...
1
by: Ronald S. Cook | last post by:
If I choose not to include a dependent project in my solution, but rather just reference the .dll in that project's bin\debug folder, are there any negative repercussions? Or, is it more...
27
by: Steve | last post by:
My apologies if this is a duplicate post, I can't find the earlier version of my question. I have a DIV that uses a CSS class defined at the thtop of an HTML page. The height and width of the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.