пятница, 26 сентября 2014 г.

Preparing to MS Exam 70-483 - Manage assemblies

The full set of questions I'm trying to cover in time of my preparation to MS Exam 70-483  you can find here.

Sign assemblies using strong names

assembly identity = simple name + version [+ culture info]
strong name = assembly identity + public key + digital signature

There is a number of ways to sign an assembly with a strong name:

  • Assembly attributes to insert the shtrong name information the code(depending where key file):
    • AssemblyKeyFileAttribute
    • AssemblyKeyNameAttribute
  • AI.exe (Assembly Linker)
  • compiler options: /keyfile or /delaysign
NOTE 
meaning of the strong names is simple: assemblies with the same strong name are expected to be identical