Signing ASP.NET Web Application with MC ApplicationSigningTool
For information on how to use the Application Signing Tool, see the Signing exes with specific licence keys article.
To sign the asp.net web application is the same process, but with some extra steps to follow.
1) Sign YourWebApplication.DLL
2) Make sure the target platform matches the IIS Application Pool's platform (2.0 vs 2.0 or 4.0 vs 4.0)
3) Under Project Properties -> "Package/Publish Web", select "All files in this project" option under "Items to deploy"
4) Disable shadowCopyBinAssemblies in the Web.config:
<hostingEnvironment shadowCopyBinAssemblies="false" />