What does <assemblies> session do in Web.config


A

ad

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




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

Advertisements

P

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:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfassemblies.asp
http://msdn.microsoft.com/library/d...tml/gngrfASPNETConfigurationSectionSchema.asp

Regards,

Plamen Ratchev
http://www.SQLStudio.com
 

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

Top