Answered by:
Application block usage

Question
-
User-14001990 posted
Hi,
There are so many applications in the Ms Enterprise Library but there is no good article on how to use them.
Does anybody know how to use these application blocks in custom applications?
ARe the Blocks built using Design patterns?
If so can somebody point me to a resource where I can come to know the DP's used in the blocks.
Thanks
Thursday, September 2, 2010 1:44 PM
Answers
-
User1068204517 posted
Data Access block
http://davidhayden.com/blog/dave/archive/2006/01/08/2686.aspx
Security block
http://www.dotnetjohn.com/articles.aspx?articleid=220
Caching block
http://msdn.microsoft.com/en-us/library/dd203248.aspx
Policy injection block
http://msdn.microsoft.com/en-us/library/dd139982.aspx
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, September 2, 2010 3:58 PM
All replies
-
User1068204517 posted
Exception handling block
http://angadbhat.blogspot.com/2009/12/microsoft-exception-handling.html
Logging application block
http://angadbhat.blogspot.com/2009/12/ms-logging-application-block.html
Validation application block
Thursday, September 2, 2010 2:01 PM -
User-14001990 posted
Hi Angad,
Thanks for your reply.
What about the other Applications Blocks like Data Access, Security etc which are more important than the ones u mentioned?
Thursday, September 2, 2010 2:26 PM -
User1068204517 posted
Data Access block
http://davidhayden.com/blog/dave/archive/2006/01/08/2686.aspx
Security block
http://www.dotnetjohn.com/articles.aspx?articleid=220
Caching block
http://msdn.microsoft.com/en-us/library/dd203248.aspx
Policy injection block
http://msdn.microsoft.com/en-us/library/dd139982.aspx
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, September 2, 2010 3:58 PM -
User-14001990 posted
Hi Angad,
Thanks for your reply.
I went thru' your article and found that the following vital info is missing:
1)Installation of the Enterprise Library.
2) What are the best practices and how it is achieved by using the block?
3) What is the need for a policy?
4) " Each exception type within the policy can have one or more exception handlers." - Why so?
David haydens article is very confusing.
The Dotnetjohn article is good.
Good Attempt at writing an article.
Friday, September 10, 2010 2:09 PM