Building a Simple Logging Http Module with Logging Application Block

Friday, May 21, 2010

Building a Simple Logging Http Module with Logging Application Block I wanted to check how to use the fluent configuration API  for the Logging Application Block in Enterprise Library 5. So I thought to myself why not implement it with an http module and provide two examples in one post. Using the Fluent Configuration API with Logging Application Block I wrote a post about the fluent configuration in Enterprise Library 5  in the past. Here is how I configured the Enterprise Library container in order to use the Logging Application Block in a simple flat file scenario: private void ConfigureEnterpriseLibraryContainer(){ var...

Enterprise Library – Building a Custom Trace Listener

Friday, March 21, 2008

Enterprise Library - Building a Custom Trace Listener IntroductionEarly this week, I got a phone call from a customer.The customer wanted to know how to build a new provider for logging application block in order tolog data to his log table and not to the suggested logging application block database.Also, he wanted to know why to use the ent-lib at all. I decided to write this post in order to show how to build such a provider and to answer whyI think you should use ent-lib.Building a Custom Trace ListenerBuilding a new provider to the logging application block has some simple...