J
Jim Hubbard
Anybody know?
Daniel O'Connell said:A basic winform app requires the following assemblies:
mscorlib, System, System.Xml, Accessibility,
System.Runtime.Serialization.Formatters.Soap, System.Drawing, and
System.Windows.Forms. That comes to about 6 meg uncompressed, probably
compresses down aroudn 2-4. Add ontop of that the mscoree.dll and all the
other required runtime dlls(the workstation garbage collector is over 2
megs, as is the server one), and I imagine your resultant package would be
about 10 meg. I don't think that it would be worth it to cut down to 10
megs, which is just as troubling as twenty, IMHO.
Now, if the app is written in VB or J#, additional libraries are *probably*
needed(is it possible to write a vb app that doesn't use anything from
Microsoft.VisualBasic? If you do so, will the vb compiler allow you to drop
the reference?).
HELL - which they created by sharing components when drive space was at a
premium) does .Net solve? For my money, it has created more problems for
the companies that write software.
This is only a problem when you realize that the software companies create
software for your OS that creates a desire for people to purchase your OS to
use the software. If the software manufacturers are not making money like
they need to, they don't write as much software and there are fewer reasons
to upgrade to the new OS.
.Net was made to make Microsoft's job easier. IMHO, it is a very
short-sighted move that will not be corrected without significant financial
loss to Microsoft and the software industry as a whole.
Jim
Jim Hubbard said:I think most companies are worried about their software's safety from
hacking and theft of company secrets when using .Net. I know I am.
It is great for a server application - which is how MS intends to use it to
control software licensing. But for non-internet applications.....well, it
sucks.
What was the reason for .Net anyway? What major problems (besides DLL
HELL - which they created by sharing components when drive space was at a
premium) does .Net solve? For my money, it has created more problems for
the companies that write software.
Jim Hubbard said:I think most companies are worried about their software's safety from
hacking and theft of company secrets when using .Net. I know I am.
It is great for a server application - which is how MS intends to use it to
control software licensing. But for non-internet applications.....well, it
sucks.
What was the reason for .Net anyway? What major problems (besides DLL
HELL - which they created by sharing components when drive space was at a
premium) does .Net solve? For my money, it has created more problems for
the companies that write software.
This is only a problem when you realize that the software companies create
software for your OS that creates a desire for people to purchase your OS to
use the software. If the software manufacturers are not making money like
they need to, they don't write as much software and there are fewer reasons
to upgrade to the new OS.
.Net was made to make Microsoft's job easier. IMHO, it is a very
short-sighted move that will not be corrected without significant financial
loss to Microsoft and the software industry as a whole.
Jim
Scott M. said:Oh Jim, you haven't really immersed yourself in .NET yet then.
Benefits Over COM:
No registration necessary.
This means no DLL Hell (as you pointed out).
It also means no stopping a web server to update a dll either
(since a registry change would always need to be accompanied by a reboot).
Better Cross-Language Development:
Since all .NET languages must adhere to the Common Type System (CTS), it
is MUCH simpler to pass values between code written in different .NET
languages.
"Thinner" Applications
The CLR takes over many of the basic functionality that we used to write
directly into our applications (garbage collection/memeory management,
security, etc.).
This means that the applications we build with .NET can be "thinner".
The down side here is the size of the Framework, but with a web app. there
are no deployment issues.
HUGE set of classes - UNIFORM interfaces
So much can now be accomplished with the classes in the Framework, that
going to the Windows API is rarely needed.
Also, if I learn how a specific class works in one language, I know how
it works in all of them.
ASP.NET
Completely new server-side architecture which allows for a rich set of
controls to be used in web pages and programmed (with events) server side.
COMPILED CODE rather than the interpreted VBScript/JavaScript = Much
more scalable and robust.
Separation of code from content with Code Behind pages.
Ok, these are still but a few. I'll agree that there is a learning curve,
but I think the .NET solves much more problems than it creates and opens up
possibilities that didn't exist before it.
Daniel O'Connell said:Jim Hubbard said:I think most companies are worried about their software's safety from
hacking and theft of company secrets when using .Net. I know I am.
Well, you need to learn a bit. I've known crackers that can read X86
assembly like C++ code. Its not really that much protection either. As soon
as you let ANY code out of your company, chances are it is going to be
stolen. Even if its in native code, it won't last long, I mean, people even
crack and steal playstation, etc games. Don't get lulled into thinking that
simply using native code is any safer, it isn't. Most big cd protection
schemes(like safedisc, etc) can be removed using tools, doesn't even require
a user to do anything. For playstation, I spoke with one cracker who
described the tool they used(it was written in vb6). It basically scanned
for certain hexadecimal patterns that corresponded to specific known
protection instruction sequences. One run would identifiy all the protection
in the majority of games. I'm sure things like hardware dongle emulator
skeletons exist as well. Its amazing how far people will go to steal
something, but people do it. All you can do is make it harder for the
average user just to copy it to a friends computer. But to do that without
making the app hard to use is next to impossible.
When it comes down to it, if your app isn't stolen it probably means no one
wants it, not that your protection scheme is great.
Beyond that, as far as technique goes. I'm sorry, once you ship your app you
have already given it away. There are plenty of people out therethat don't
need your source code to understand how things work, just watching it work
is enough to form the framework in their minds to copy it. Pretty much any
programmer should be able to, its what makes us capable of doing our jobs,
being able to find a way to do something from what it does, not how it doesOSit.
It is great for a server application - which is how MS intends to use it to
control software licensing. But for non-internet applications.....well, it
sucks.
What was the reason for .Net anyway? What major problems (besides DLL
HELL - which they created by sharing components when drive space was at a
premium) does .Net solve? For my money, it has created more problems for
the companies that write software.
This is only a problem when you realize that the software companies create
software for your OS that creates a desire for people to purchase your
Scott M. said:HUGE set of classes - UNIFORM interfaces
So much can now be accomplished with the classes in the Framework, that
going to the Windows API is rarely needed.
Also, if I learn how a specific class works in one language, I know how
it works in all of them.
Daniel O'Connell said:Well, you need to learn a bit. I've known crackers that can read X86
assembly like C++ code. Its not really that much protection either.