crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

Difference between Public and Private Assembly?
Question Posted on 19 Nov 2021Home >> DotNet >> ASP.NET >> Difference between Public and Private Assembly?

Difference between Public and Private Assembly?
Below are the some of common difference between Public and Private Assembly.
0
0

Base of differencePublic AssemblyPrivate Assembly
Number of applicationPublic assembly can be used by multiple applications.On the other hand private assembly can be used by one application.
LocationPublic assembly is generlly stored at Global Assembly Cache(GAC).On the other hand private assembly can be stored in any specific application directory or in sub directory.
Strong NameWe will create a strong name for Public assembly.On the other hand no strong name is required for private assemble.
Version constraintPublic assembly should strictly enforce version constraint.Private assembly doesn't have any version constraint.
Other NameOther name of Public assembly is shared assembly.There is no other name for private assembly
ExampleTo understand public assembly we will take an example of actuate report classes which can be imported in the library and used by any application that prefers to implement actuate reports.On the other hand be default all assemblies we create are example of private assembly.Only when you associate a strong name to it and store it in GAC, it becomes a public assembly.


.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




Other Important Questions

Use of Calendar control in dotnet with code

How to improve Front End UI performance of dotnet web application?

File upload in dotnet

reverse a string

function of garbage collector






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap