GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  DotNet
Go To First  |  Previous Question  |  Next Question 
 DotNet  |  Question 69 of 165    Print  
What are the Types of Assemblies?
Assemblies are of two types
1. Private Assemblies
2. Shared Assemblies
Private Assemblies: The assembly is intended only for one application. The files of that assembly must be placed in the same folder as the application or in a sub folder. No other application will be able to make a call to this assembly. The advantage of having a private assembly is that, it makes naming the assembly very easy, since the developer need not worry about name clashes with other assemblies. As long as the assembly has a unique name within the concerned application, there won't be any problems.
Shared Assemblies: If the assembly is to be made into a Shared Assembly, then the naming conventions are very strict since it has to be unique across the entire system. The naming conventions should also take care of newer versions of the component being shipped. These are accomplished by giving the assembly a Shared Name. Then the assembly is placed in the global assembly cache, which is a folder in the file system reserved for shared assemblies.



  
Total Answers and Comments: 4 Last Update: December 05, 2008   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 09, 2005 21:30:38   #1  
Vikram        

RE: What are the Types of Assemblies?
if an assembly is shared type then we have to create a strong name using sn -k [assembly name].snk
then we have to load it into GAC(Global Assembly Cache) using gacUtil.exe. gacUtil.exe - i [strongnamefile.snk]

 
Is this answer useful? Yes | No
November 11, 2005 00:40:21   #2  
sanker        

RE: What are the Types of Assemblies?
Private Public/Shared Satellite
 
Is this answer useful? Yes | No
September 28, 2006 04:59:30   #3  
balajifortest Member Since: August 2006   Contribution: 13    

RE: What are the Types of Assemblies?

Hai

I think assembles classified into four types they were

1)Private Assembly

2)Shared Assembly

3)Resource-only Assembly

4)Satellite Assembly.


 
Is this answer useful? Yes | No
December 05, 2008 05:52:55   #4  
kohinoor_luwang Member Since: September 2007   Contribution: 3    

RE: What are the Types of Assemblies?
1)Private assembly


2) Share Assembly


3) Satellite Assembly

 
Is this answer useful? Yes | No


 
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