Developer community
0 votes
105 views
asked by Advisor (6.3k points) 6 21 34 | 105 views

1 Answer

0 votes
 
The following are the two types of assemblies:
Private Assembly - Refers to the assembly that is used by a single application. Private assemblies are kept in a local folder in which the client application has been installed.
Public or Shared Assembly - Refers to the assembly that is allowed to be shared by multiple applications. A shared assembly must reside in Global Assembly Cache (GAC) with a strong name assigned to it.
For example, imagine that you have created a DLL containing information about your business logic. This DLL can be used by your client application. In order to run the client application, the DLL must be included in the same folder in which the client application has been installed. This makes the assembly private to your application. Now suppose that the DLL needs to be reused in different applications. Therefore, instead of copying the DLL in every client application folder, it can be placed in the global assembly cache using the GAC tool. These assemblies are called shared assemblies.
 
answered by Guru (24.6k points) 30 54 84

Related questions

0 votes
1 answer
asked by rock Expert (15k points) 15 23 31 | 20 views
0 votes
1 answer
asked by sunny Expert (11.4k points) 14 23 30 | 33 views
0 votes
1 answer
asked by sara Guru (24.6k points) 30 54 84 | 34 views
0 votes
1 answer
asked by sara Guru (24.6k points) 30 54 84 | 26 views
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

3,751 questions
4,046 answers
117 comments
10,709 users