What does <assemblies> session do in Web.config



I find an assemblies section in web.config.
There are some PublicKey in it.
What do these PublicKey do?
What does <assemblies> session do?

<add assembly="System.Windows.Forms, Version=, Culture=neutral,
PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Design, Version=, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Transactions, Version=, Culture=neutral,
PublicKeyToken=B77A5C561934E089" />

Plamen Ratchev

The <assemblies> section is used to add an assembly reference to be used
during compilation. If you need to share your assembly across multiple
applications it must have a strong name (this means embedding a long public
key in the assembly definition). The public key is part of the identity of
the assembly. When other assemblies reference your strongly named assembly
they use a shortened version of the full public key called public key token.

For more info on the <assemblies> section see here:



Plamen Ratchev

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question