Results 1 to 10 of 10

What’s the difference between private and shared assembly?

This is a discussion on What’s the difference between private and shared assembly? within the Programming forums, part of the Web Designing & Development category; P rivate assembly is used inside an application only and does not have to be identifie d by a stron ...

  1. #1
    Senior Member chinmay.sahoo's Avatar
    Join Date
    Dec 2013
    Location
    Banglore
    Posts
    266

    Thumbs up What’s the difference between private and shared assembly?

    P rivate assembly is used inside an application only and does not have to be identifie d by a stron g name. Shared assembly can be used b y m ultipl e application s and ha s to hav e a stron g name.

  2. #2
    Senior Member charlottegracie's Avatar
    Join Date
    Jan 2017
    Posts
    154

    Default Re: What’s the difference between private and shared assembly?

    Per definition, A private assembly is normally used by a single application, and is stored in the application's directory, or a sub-directory beneath. and A shared assembly is normally stored in the global assembly cache, which is a repository of assemblies maintained by the .NET runtime.

  3. #3
    Senior Member
    Join Date
    Feb 2014
    Location
    india
    Posts
    102

    Default Re: What’s the difference between private and shared assembly?

    [FONT=Verdana, Arial, Helvetica, sans-serif][SIZE=2]Public assembly can be used by multiple applications where as [FONT=Verdana, Arial, Helvetica, sans-serif][SIZE=2]Private assembly can be used by only one application.[/SIZE][/FONT][/SIZE][/FONT]

  4. #4
    Junior Member
    Join Date
    Jan 2017
    Location
    Valhalla
    Posts
    20

    Default Re: What’s the difference between private and shared assembly?

    Can you please briefly describe this?

  5. #5
    Senior Member
    Join Date
    Nov 2016
    Posts
    148

    Default Re: What’s the difference between private and shared assembly?

    Very nice. Keep such a good work going on.

    Quote Originally Posted by charlottegracie View Post
    Per definition, A private assembly is normally used by a single application, and is stored in the application's directory, or a sub-directory beneath. and A shared assembly is normally stored in the global assembly cache, which is a repository of assemblies maintained by the .NET runtime.

  6. #6
    Member
    Join Date
    Sep 2017
    Posts
    53

    Default Re: What’s the difference between private and shared assembly?

    Very well described. Thanks For Your Information.

  7. #7
    Senior Member
    Join Date
    Nov 2016
    Posts
    123

    Default Re: What’s the difference between private and shared assembly?

    Well explained..thanks for sharing the post..

  8. #8
    Junior Member
    Join Date
    Oct 2017
    Posts
    7

    Default Re: What’s the difference between private and shared assembly?

    The terms 'private' and 'shared' refer to how an assembly is deployed and not any intrinsic attributes of the assembly. A private assembly is normally used by a single application, and is stored in the application's directory, or a sub-directory beneath. A shared assembly is intended to be used by multiple applications, and is normally stored in the Global Assembly Cache (GAC), which is a central repository for assemblies. A Strong name has to be created for public assembly while strong name is not required for private assembly. Moreover, private assembly doesn't have any version constraint on the other hand public assembly should strictly enforce version constraint.

  9. #9
    Member
    Join Date
    Sep 2017
    Posts
    39

    Default Re: What’s the difference between private and shared assembly?

    Quote Originally Posted by traveloweb View Post
    The terms 'private' and 'shared' refer to how an assembly is deployed and not any intrinsic attributes of the assembly. A private assembly is normally used by a single application, and is stored in the application's directory, or a sub-directory beneath. A shared assembly is intended to be used by multiple applications, and is normally stored in the Global Assembly Cache (GAC), which is a central repository for assemblies. A Strong name has to be created for public assembly while strong name is not required for private assembly. Moreover, private assembly doesn't have any version constraint on the other hand public assembly should strictly enforce version constraint.
    Nice useful info

  10. #10
    Senior Member Amit Tiwari's Avatar
    Join Date
    Feb 2017
    Posts
    137

    Default Re: What’s the difference between private and shared assembly?

    A private assembly is normally used by a single application, and is stored in the application's directory, or a sub-directory beneath. A shared assembly is intended to be used by multiple applications, and is normally stored in the Global Assembly Cache (GAC), which is a central repository for assemblies. A Strong name has to be created for public assembly while strong name is not required for private assembly. Moreover, private assembly doesn't have any version constraint on the other hand public assembly should strictly enforce version constraint.