Geeks With Blogs
Pal Ramanathan's Blog

I have been using Application blocks for sometime now and I was adding references to the Application Block DLL's which would copy them to the respective applications bin directory. Since I am using Application blocks in almost all the applications I thought I will put them in GAC. But I realized they have to be strongly named. Fortunately Microsoft gives the source code of the enterprise library so that we can strongly name them. The following blog gives step-by-step details on how to do this.

Adventures in Strong Names with Enterprise Library

Note: I did not use Delay signing. I directly used the MyKeyFile.snk (in the blog above) without Delay Signing instead extracting the Public Key and using that with Delay signing as suggested above.

After you are done adding the DLL's to GAC when you build your web.config using the configuration tool, it builds the web.config with a default PublicKeyToken. This value has to be replaced with the PublicKeyToken we generated for strong naming the assemblies.

So far I have used the Data Access Application Block, Logging Application Block, and ExceptionHandling Application block. I found it really easy to use and program. I am also planning to use other application blocks.

Posted on Wednesday, October 17, 2007 12:39 AM .NET , Web Services | Back to top


Comments on this post: Strong Naming Enterprise Library

# re: Strong Naming Enterprise Library
Requesting Gravatar...
Thanks for the link, I'm glad you got some mileage from the post.
Left by Mike Wood on Nov 03, 2007 6:24 PM

# re: Strong Naming Enterprise Library
Requesting Gravatar...
it is very good
Left by Saritha on Sep 11, 2008 11:37 PM

# re: Strong Naming Enterprise Library
Requesting Gravatar...
Thanks for the link, I'm glad you got some mileage from the post.
Left by Yamakant Sharma on Nov 20, 2008 11:41 PM

# re: Strong Naming Enterprise Library
Requesting Gravatar...
Worst blog I have ever seen.
Left by Roger on Apr 24, 2009 6:30 AM

# Sometimes non-standard due to You.
Requesting Gravatar...
Great headline. If your cookie has a bite-sized action and your reader completes the action, I think two things happen. Their self-confidence goes up (which feels good) and their trust in you increases.
Left by Debt Settlement Program on Dec 01, 2009 7:33 PM

Your comment:
 (will show your gravatar)


Copyright © Pal Ramanathan | Powered by: GeeksWithBlogs.net