GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  DotNet
Go To First  |  Previous Question  |  Next Question 
 DotNet  |  Question 13 of 165    Print  
Whats an assembly ..?

  
Total Answers and Comments: 13 Last Update: June 06, 2008   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
  Sorting Options  
  Page 1 of 2   « First    1    2    >     Last »  
March 15, 2005 00:14:41   #1  
sisira        

RE: Whats an assembly ..?
Assemblies are the building blocks of .NET Framework applications; they form the fundamental unit of deployment version control reuse activation scoping and security permissions. An assembly is a collection of types and resources that are built to work together and form a logical unit of functionality. An assembly provides the common language runtime with the information it needs to be aware of type implementations. To the runtime a type does not exist outside the context of an assembly.Assemblies are a fundamental part of programming with the .NET Framework. An assembly performs the following functions: It contains code that the common language runtime executes. Microsoft intermediate language (MSIL) code in a portable executable (PE) file will not be executed if it does not have an associated assembly manifest. Note that each assembly can have only one entry point (that is DllMain WinMain or Main). It forms a security boundary. An assembly is the unit at which permissions are requested and granted. It forms a type boundary. Every type's identity includes the name of the assembly in which it resides. A type called MyType loaded in the scope of one assembly is not the same as a type called MyType loaded in the scope of another assembly. It forms a reference scope boundary. The assembly's manifest contains assembly metadata that is used for resolving types and satisfying resource requests. It specifies the types and resources that are exposed outside the assembly. The manifest also enumerates other assemblies on which it depends. It forms a version boundary. The assembly is the smallest versionable unit in the common language runtime; all types and resources in the same assembly are versioned as a unit. The assembly's manifest describes the version dependencies you specify for any dependent assemblies. It forms a deployment unit. When an application starts only the assemblies that the application initially calls must be present. Other assemblies such as localization resources or assemblies containing utility classes can be retrieved on demand. This allows applications to be kept simple and thin when first downloaded. It is the unit at which side-by-side execution is supported. Assemblies can be static or dynamic. Static assemblies can include .NET Framework types (interfaces and classes) as well as resources for the assembly (bitmaps JPEG files resource files and so on). Static assemblies are stored on disk in PE files. You can also use the .NET Framework to create dynamic assemblies which are run directly from memory and are not saved to disk before execution. You can save dynamic assemblies to disk after they have executed.There are several ways to create assemblies. You can use development tools such as Visual Studio .NET that you have used in the past to create .dll or .exe files. You can use tools provided in the .NET Framework SDK to create assemblies with modules created in other development environments. You can also use common language runtime APIs such as Reflection.Emit to create dynamic assemblies.
 
Is this answer useful? Yes | No
March 15, 2005 02:25:12   #2  
       

RE: Whats an assembly ..?
Assembly's are building blocks of .Net framework application. It contains single or multiple executable files.
 
Is this answer useful? Yes | No
April 22, 2005 03:01:57   #3  
Pooja        

RE: Whats an assembly ..?
It is very good article. it helps me a lot to understand what is assembly.
Thanx

 
Is this answer useful? Yes | No
May 07, 2005 06:02:51   #4  
Sumit Upadhyaya        

RE: Whats an assembly ..?
Excellent article for having an in - depth understanding of Assemblies.
 
Is this answer useful? Yes | No
May 26, 2005 03:09:14   #5  
Krushna        

RE: Whats an assembly ..?
It is a very good article.It clear my all doubts about assembly.
 
Is this answer useful? Yes | No
June 01, 2005 07:04:52   #6  
Surendra Holambe        

RE: Whats an assembly ..?
It is realy a nice article to read...
-Surendra.

 
Is this answer useful? Yes | No
July 20, 2005 23:02:10   #7  
Iyyappan        

RE: Whats an assembly ..?
Assemblies are similar to the dll files. Both has reusable piece of code in the form of classes/functions. Dll needs to be registered but assemblies has its own metadata.
 
Is this answer useful? Yes | No
August 04, 2005 01:33:45   #8  
RAJENDRA KUMAR        

RE: Whats an assembly ..?
its really fantastic article which would clarifies my doubts about assemblies
 
Is this answer useful? Yes | No
October 10, 2005 13:19:17   #9  
sai        

RE: Whats an assembly ..?

Assemblies are the building for dotnet.

It is a logical unit of deployment.

Assemblies are of 3 types

Assembly consists of Manifest Metadata Msil Resources.


 
Is this answer useful? Yes | No
November 11, 2005 00:37:45   #10  
sanker        

RE: Whats an assembly ..?

An assembly is a collection of types and resources that are built to work together and form a logical unit of functionality. An assembly provides the common language runtime with the information it needs to be aware of type implementations. Assemblies can be static or dynamic.


 
Is this answer useful? Yes | No
  Page 1 of 2   « First    1    2    >     Last »  


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape