Are MS Assemblies in the GAC?

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Are MS Assemblies in the GAC?

    I want to create strongly signed support assemblies so they can be shared by
    different ASP.NET web apps. This requires that they be installed into the
    Global Assembly Cache. To be installed in the GAC means the assemblies must
    be signed with a strong name. But according to MS documention: "...Remember
    that once you give an assembly a strong name, all assemblies that reference
    that assembly also have to have a strong name."

    When I develop an ASP.NET web app and the various references point to
    System, System.Drawing, System.Web,...etc. I was under the impression that
    the MS libraries were in the GAC. Is this true(which means they are signed)?
    If so, this would appear to contradict the MS statement.

    The goal is to deploy assemblies into the GAC so they can be shared by
    different web apps which means they have to be signed with strong names. So
    can I still build the different web sites and not sign them while still
    referencing the strongly signed assemblies?

    Can someone clear this up?

    Thanks,
    Gery


    --
    Gery D. Dorazio
    Development Engineer

    EnQue Corporation
    1334 Queens Road
    Charlotte, NC 28207
    (704) 377-3327


    Gery D. Dorazio Guest

  2. Similar Questions and Discussions

    1. Too many assemblies asp.net
      I have been developing several web applications in VB.NET. I have started to notice that when I run one of the applications, all the assemblies for...
    2. Can't reference Assemblies in GAC?
      I've just created a simple class library, gave it a strong name using sn.exe, then copied it to c:\winnt\assembly directory. I then created an ASP...
    3. Locating assemblies in ASP.NET
      An ASPX page in a virtual directory does not find the compiled assembly containing the base class located in the application's bin directory...
    4. Locate assemblies in ASP.NET
      look into machine.config file "Hilton" <nomail@intellilogic.com> wrote in message news:02a701c34d05$7bba5490$a001280a@phx.gbl...
    5. versioning of assemblies
      Hi, I was reading a doc on versioning, and came to know that versioning of assemblies are easier than ever. Can sb pl mention me, how this can be...
  3. #2

    Default Re: Are MS Assemblies in the GAC?

    "Gery D. Dorazio" <gdorazio@enque.net> wrote in message
    news:Ooz$Y8NDFHA.2232@TK2MSFTNGP14.phx.gbl...
    >I want to create strongly signed support assemblies so they can be shared
    >by different ASP.NET web apps. This requires that they be installed into
    >the Global Assembly Cache. To be installed in the GAC means the assemblies
    >must be signed with a strong name. But according to MS documention:
    >"...Remember that once you give an assembly a strong name, all assemblies
    >that reference that assembly also have to have a strong name."
    If that's straight out of the documentation, the docs have it wrong. A
    strongly named assembly can only reference strongly named assemblies, but
    assemblies that are not strongly named can reference both strongly named and
    non-strongly named assemblies. If this weren't the case, no non-strongly
    named apps would work since they all reference strongly named Microsoft
    assemblies.

    > When I develop an ASP.NET web app and the various references point to
    > System, System.Drawing, System.Web,...etc. I was under the impression that
    > the MS libraries were in the GAC. Is this true(which means they are
    > signed)? If so, this would appear to contradict the MS statement.
    You're right, and the statement is wrong.

    >
    > The goal is to deploy assemblies into the GAC so they can be shared by
    > different web apps which means they have to be signed with strong names.
    > So can I still build the different web sites and not sign them while still
    > referencing the strongly signed assemblies?
    Yes.
    >
    > Can someone clear this up?
    >
    > Thanks,
    > Gery
    >
    >
    > --
    > Gery D. Dorazio
    > Development Engineer
    >
    > EnQue Corporation
    > 1334 Queens Road
    > Charlotte, NC 28207
    > (704) 377-3327
    >

    Nicole Calinoiu Guest

  4. #3

    Default Re: Are MS Assemblies in the GAC?

    Thanks Nicole,

    Gery

    --
    Gery D. Dorazio
    Development Engineer

    EnQue Corporation
    1334 Queens Road
    Charlotte, NC 28207
    (704) 377-3327
    "Nicole Calinoiu" <calinoiu REMOVETHIS AT gmail DOT com> wrote in message
    news:ufJHd6QDFHA.2600@TK2MSFTNGP09.phx.gbl...
    > "Gery D. Dorazio" <gdorazio@enque.net> wrote in message
    > news:Ooz$Y8NDFHA.2232@TK2MSFTNGP14.phx.gbl...
    >>I want to create strongly signed support assemblies so they can be shared
    >>by different ASP.NET web apps. This requires that they be installed into
    >>the Global Assembly Cache. To be installed in the GAC means the assemblies
    >>must be signed with a strong name. But according to MS documention:
    >>"...Remember that once you give an assembly a strong name, all assemblies
    >>that reference that assembly also have to have a strong name."
    >
    > If that's straight out of the documentation, the docs have it wrong. A
    > strongly named assembly can only reference strongly named assemblies, but
    > assemblies that are not strongly named can reference both strongly named
    > and non-strongly named assemblies. If this weren't the case, no
    > non-strongly named apps would work since they all reference strongly named
    > Microsoft assemblies.
    >
    >
    >> When I develop an ASP.NET web app and the various references point to
    >> System, System.Drawing, System.Web,...etc. I was under the impression
    >> that the MS libraries were in the GAC. Is this true(which means they are
    >> signed)? If so, this would appear to contradict the MS statement.
    >
    > You're right, and the statement is wrong.
    >
    >
    >>
    >> The goal is to deploy assemblies into the GAC so they can be shared by
    >> different web apps which means they have to be signed with strong names.
    >> So can I still build the different web sites and not sign them while
    >> still referencing the strongly signed assemblies?
    >
    > Yes.
    >
    >>
    >> Can someone clear this up?
    >>
    >> Thanks,
    >> Gery
    >>
    >>
    >> --
    >> Gery D. Dorazio
    >> Development Engineer
    >>
    >> EnQue Corporation
    >> 1334 Queens Road
    >> Charlotte, NC 28207
    >> (704) 377-3327
    >>
    >
    >

    Gery D. Dorazio Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139