.NET clarification of terms

  • Thread starter Thread starter Daniel Klein
  • Start date Start date
D

Daniel Klein

A recent answer to a post I just made (and a good answer it was) brought up
a question that I found I was not clear on, and I'm sure other .NET'ers
would like to know as well.

What, exactly, is an assembly and how is it different from a 'solution'?
Is it that a 'solution' can contain many 'assemblies'?

Is the term 'assembly' synonymous with 'project'?

The answers to these will certainly turn on that proverbial light bulb ;-)

Daniel Klein
Dublin, Ohio USA
 
What, exactly, is an assembly and how is it different from a 'solution'?
Is it that a 'solution' can contain many 'assemblies'?

assembly
A collection of one or more files that are versioned and deployed as a
unit. An assembly is the primary building block of a .NET Framework
application. All managed types and resources are contained within an
assembly and are marked either as accessible only within the assembly or as
accessible from code in other assemblies. Assemblies also play a key role
in security. The code access security system uses information about the
assembly to determine the set of permissions that code in the assembly is
granted. See also: private assembly, shared assembly.

Typically the assembly is the .DLL in your project.


http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/netstart/html/cpgloa.asp
 
The answers to these will certainly turn on that proverbial light bulb ;-)

I don't remember a light bulb mentioned anywhere in the book of Proverbs!

:)


--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
 
<personal definition alert>
Assemblies are basically individual objects that contain metadata and IL - typically each of your .net Dlls and .exes is an assembly.
A solution is the name given by Visual Studio to an entity that contains a set of projects, with each project creating an assembly when built.
</personal definition alert>

Alex
VB QA Team

--------------------
 

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

Back
Top