logo
  • Home
  • My Works
  • Downloads
  • Personal
  • Guest Book
  • About Me

GAC

Published by Rafeeque B Muhammad on Tuesday, August 6, 2013 12:00 AM
Updated on Tuesday, August 6, 2013 12:00 AM


 

MSDN says “Each computer where the common language runtime is installed has a machine-wide code cache called the global assembly cache. The global assembly cache stores assemblies specifically designated to be shared by several applications on the computer.”

Shared assemblies should be placed in the GAC. It would be shared across multiple applications running on the same machine.

Assemblies deployed in the GAC should have a strong name. The tool called gacutil.exe allows users to create the assemblies with strong name. It guarantees unique name for the assembly, so no one else the same assembly name.

Strong Name

A strong name consists of

·         Assembly name (simple text name)

·         Version number

·         Culture info (if provided)

·         Public key and private key

·         Digital signature

Strong name assemblies are signed with a digital signature. This protects assembly from modification. Any tampering causes the verification process that occurs at assembly load time to fail.

Strong name protect the version lineage of an assembly.

 

Technical Articles

  • All
  • .NET Framework
  • ASP.NET
  • C#
  • Win Forms
  • WCF
  • SharePoint(WSS 3.0)
  • SQL Server
  • TSQL
  • Oracle
  • PL/SQL
  • Performance and Tuning
  • Application and Tools
  • Outlook programming
  • HTML/HTML5/XHTML/DHTML/JAVAScript/CSS
  • Windows Services
  • Web Services
  • Security
  • Web
  • General
  • Architecture

Technical Books

  • All
  • C# Threading
  • WCF

Other Links

  • Important Links

Techies Craft © 2014 | Privacy Policy