I know this is a very newbie thing to ask, but...
What's the point of the Global Assembly Cache? It reminds me of the
c:\winnt\system 32 directory from my C++ days... just a big confusing jumble
of shared DLLs. This made sense in the "old days" because hard disk space
was more expensive so people didn't want redundant DLLs all over the
place... But what's the point of such a repository in the .NET world?
Thanks,
Michael Jackson 6 1923
Lecture Snoddddgrass <ma***@hamburg. fry> wrote: I know this is a very newbie thing to ask, but...
What's the point of the Global Assembly Cache? It reminds me of the c:\winnt\system 32 directory from my C++ days... just a big confusing jumble of shared DLLs. This made sense in the "old days" because hard disk space was more expensive so people didn't want redundant DLLs all over the place... But what's the point of such a repository in the .NET world?
The difference is that assemblies in the GAC are versioned. While it
makes sense for two different applications to want to use two different
versions of the same assembly, there's no point in every application
carrying its own version of mscorlib.dll, System.dll etc around.
Instead, you just have the GAC with versioned assemblies, so you (in
theory) get around a lot of DLL hell without every app being huge.
--
Jon Skeet - <sk***@pobox.co m> http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
> The difference is that assemblies in the GAC are versioned. While it makes sense for two different applications to want to use two different versions of the same assembly, there's no point in every application carrying its own version of mscorlib.dll, System.dll etc around.
True, but mscorlib.dll and System.dll are .NET runtime DLLs -- part of
the platform itself. I can see why the GAC would be useful for framework
DLLs... but why would I as a developer want to any of *my* app's DLLs in the
user's GAC?
David
You wouldn't, unless you're building infrastructure-level components used by
more than one application on the box.
--
_______________ _____
Klaus H. Probst, MVP http://www.vbbox.com/
"Lecture Snoddddgrass" <ma***@hamburg. fry> wrote in message
news:ew******** ******@TK2MSFTN GP10.phx.gbl... The difference is that assemblies in the GAC are versioned. While it makes sense for two different applications to want to use two different versions of the same assembly, there's no point in every application carrying its own version of mscorlib.dll, System.dll etc around. True, but mscorlib.dll and System.dll are .NET runtime DLLs -- part of the platform itself. I can see why the GAC would be useful for framework DLLs... but why would I as a developer want to any of *my* app's DLLs in
the user's GAC?
David
You wouldn't, unless you're building infrastructure-level components used by
more than one application on the box.
--
_______________ _____
Klaus H. Probst, MVP http://www.vbbox.com/
"Lecture Snoddddgrass" <ma***@hamburg. fry> wrote in message
news:ew******** ******@TK2MSFTN GP10.phx.gbl... The difference is that assemblies in the GAC are versioned. While it makes sense for two different applications to want to use two different versions of the same assembly, there's no point in every application carrying its own version of mscorlib.dll, System.dll etc around. True, but mscorlib.dll and System.dll are .NET runtime DLLs -- part of the platform itself. I can see why the GAC would be useful for framework DLLs... but why would I as a developer want to any of *my* app's DLLs in
the user's GAC?
David
Lecture Snoddddgrass <ma***@hamburg. fry> wrote: The difference is that assemblies in the GAC are versioned. While it makes sense for two different applications to want to use two different versions of the same assembly, there's no point in every application carrying its own version of mscorlib.dll, System.dll etc around.
True, but mscorlib.dll and System.dll are .NET runtime DLLs -- part of the platform itself. I can see why the GAC would be useful for framework DLLs... but why would I as a developer want to any of *my* app's DLLs in the user's GAC?
For a normal app, you wouldn't want any of *your* code in the GAC. If
you were writing component libraries, however, you might - and as an
application writer, you might want to use other DLLs which are in the
GAC. (For instance, you could have an installer which checked which of
the libraries you needed were already installed, and only downloaded
the ones which weren't already on the user's system.)
--
Jon Skeet - <sk***@pobox.co m> http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Lecture Snoddddgrass <ma***@hamburg. fry> wrote: The difference is that assemblies in the GAC are versioned. While it makes sense for two different applications to want to use two different versions of the same assembly, there's no point in every application carrying its own version of mscorlib.dll, System.dll etc around.
True, but mscorlib.dll and System.dll are .NET runtime DLLs -- part of the platform itself. I can see why the GAC would be useful for framework DLLs... but why would I as a developer want to any of *my* app's DLLs in the user's GAC?
For a normal app, you wouldn't want any of *your* code in the GAC. If
you were writing component libraries, however, you might - and as an
application writer, you might want to use other DLLs which are in the
GAC. (For instance, you could have an installer which checked which of
the libraries you needed were already installed, and only downloaded
the ones which weren't already on the user's system.)
--
Jon Skeet - <sk***@pobox.co m> http://www.pobox.com/~skeet
If replying to the group, please do not mail me too This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Brandon J. Van Every |
last post by:
What's better about Ruby than Python? I'm sure there's something. What is
it?
This is not a troll. I'm language shopping and I want people's answers. I
don't know beans about Ruby or have any preconceived ideas about it. I have
noticed, however, that every programmer I talk to who's aware of Python is
also talking about Ruby. So it seems that Ruby has the potential to compete
with and displace Python. I'm curious on what basis it...
|
by: Jason |
last post by:
Hey,
I'm an experience programmer but new to Python. I'm doing a simple
implementation of a field morphing techinique due to Beier and Neely
(1992) and I have the simple case working in Python 2.3 - but it's
REALLY slow.
Basically, you specify two directed line segments in the coordinate
system of a raster image and use the difference between those two
lines to transform the image.
|
by: Sarah Tanembaum |
last post by:
Beside its an opensource and supported by community, what's the fundamental
differences between PostgreSQL and those high-price commercial database (and
some are bloated such as Oracle) from software giant such as Microsoft SQL
Server, Oracle, and Sybase?
Is PostgreSQL reliable enough to be used for high-end commercial
application? Thanks
|
by: Sam |
last post by:
Hi I'm learning to code with C++ and wrote some very simple code. I
think it's consistent with every rule but always got compiling errors
that I don't understand.
The code include 5 files as following, delimited by //////:
////////////////pose.h
#ifndef pose_h
#define pose_h
#include "point.h"
|
by: Aguilar, James |
last post by:
Hello all,
To begin, yes, this -is- a homework assignment. However, it is for my
Algorithms class, and my instructor has given us explicit permission to use
"expert" groups like newsgroups, so if that's your only reason not to help,
please do. Otherwise, I guess it's OK. But, just remember, I'm not asking
you to do my work for me, just to point out my error.
My problem is not with the algorithm itself (standard divide and conquer on...
| |
by: typingcat |
last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so
on. I've tried many PHP IDEs today, but almost non of them supported
Unicode (UTF-8) file.
I've found that the only Unicode support IDEs are DreamWeaver 8 and
Zend PHP Studio.
DreamWeaver provides full support for Unicode. However, DreamWeaver is
a web editor rather than a PHP IDE. It only supports basic IntelliSense
(or code completion) and doesn't have anything...
|
by: Midnight Java Junkie |
last post by:
Dear Colleagues:
I feel that the dumbest questions are those that are never asked. I have
been given the opportunity to get into .NET. Our organization has a
subscription with Microsoft that basically entitled to us to just about
every .Net development tool you can imagine. I cant even begin to mention
them.
To begin with, my background is not that of a programmer, but a systems
engineer and the closest I have come to "programming"...
|
by: Xah Lee |
last post by:
in March, i posted a essay “What is Expressiveness in a Computer
Language”, archived at:
http://xahlee.org/perl-python/what_is_expresiveness.html
I was informed then that there is a academic paper written on this
subject.
On the Expressive Power of Programming Languages, by Matthias
Felleisen, 1990.
http://www.ccs.neu.edu/home/cobbe/pl-seminar-jr/notes/2003-sep-26/expressive-slides.pdf
|
by: Grizlyk |
last post by:
Hello.
What can be optimised in C++ code and how i can garantee stable
behaviour below
1.
Are expression "auto volatile" can deny removing as "unused temporary"
like this:
auto volatile const class_name tmp;
|
by: Carl Johansson |
last post by:
Except for the syntax, what is the difference, if any, between this...
/* ---------------------------------------------------------------------- */
private void Form1_Paint(object sender, PaintEventArgs e)
{
Pen pen = null;
try
{
pen = new Pen(Color.MidnightBlue, 1.0F);
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
| |
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 presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |