Last post Feb 06, 2011 10:49 PM by sukumarraju
Feb 06, 2011 12:23 PM|gopalchettri|LINK
thanks for your valuable time for reading my problem.
I have n-tier architecture: a. Presentation Layer
b. Business Layer: (i) BusinessLogic (ii) BusinessEntities
d. ServiceLayer (WCF)
I want to implement Exception, Caching, Logging using Enterprise Library 5.0.
Please guide me how to proceed.I will be highly obliged if i can get the demo architecture or some help at your convenience.!!!
Enterprise Libraries 5.0
Feb 06, 2011 10:49 PM|sukumarraju|LINK
Exception, Caching, Logging using Enterprise Library 5.0
Exception Handling application block with logging application block
Above application blocks from Enterprise library can be utilised in BL, DAL and Servie layer, the reason is 'Exception application is used to implement consistent exception handling throughout your application using exception policies, those exceptions
can be logged into windows logs, database, flat file or email. As exceptions may occur with in BL, DAL and Service layers you may consider utilisng exception application block with logging application block for consistent exception handling and logging.
In order to implement refer my blog post at
Caching app block
As Caching application block can be used to cache frequently used data you may consider utilising this application block with data access layer.
Conclusion: Consider wrapping these application blocks with in a class, then call methods throughout your application layers as required.
David Hayden has whole set of resources