Click Here for 3 Month Free of ASP.NET Hosting!
Home | Submit an interview question | Filter by category | Filter by job function | Filter by company
 
Member Information
User Id
Password
 
Forgot Password
Technology Category
.NET (1202)
Languages (103)
Database (146)
Operating System (48)
Reporting (5)
Third-Party Tools (2)
Testing (91)
OOP (75)
Web Development (40)
Design Patterns (89)
General (9)
Networking (88)
Hardware (63)
Brain Exercise (2)
Others (37)
 Our Network
.NET Heaven
C# Corner
Interview Corner
Longhorn Corner
Mindcracker
VB.NET Heaven
Home » .NET » .NET
What is shared and private assembly?
Posted by sangeeta mishra Aug 28, 2009
Viewed : 331 times
Major Category : .NET
Minor Category : ASP.NET
Total Replies : 2
Become a Sponsor
 EDITORIAL ANSWER  
No Reply Yet
 ANSWERS BY USERS  
shashikesh
Oct 29, 2009
Private Assembly : Private assembly is access only the one application.

Public Assembly : Public assembly can access  more than one application and that assembly resides in GAC. We have followed some exercise to create a public assembly . Which is described below.

1. Create a strong naming for that assembly.
2. GACUtil.ext use to install in the widows system. Dot net have followed some
 algorithm to deploying a assembly in GAC.When ever that assembly will referred then again same algorithm comes in picture.

Brajendra Rathour
Sep 09, 2009
Private AssemblyThe Assembly that is local to the particular folder is called Private Assembly
The disadvantage is that each time a copy of the Assembly is created which in turn occupies more memory and reduces the performance

Shared AssemblyWhen we maintain one copy of the Assembly for set of applications through out the system it is called Shared Assembly
More memory usage can be reduced by this concept

So here comes the concept of public key and version number to maintain unique ness of the Assembly for particular application.

  
1

 

 Hosted by MaximumASP  |  Found a broken link?  |  Contact Us  |  Terms & conditions  |  Privacy Policy  |  Advertise with us
Current Version: 2.2009.3.2
 © 1999 - 2009  Mindcracker LLC. All Rights Reserved