Enterprise Library 5.0 db logging

I was looking for a easy to understand example of EL 5.0 database logging and couldn’t find one, so here’s a simple example of Enterprise Library 5.0 .NET logging. It logs to the database. Just download from github. Have fun.

code: https://github.com/damienbod/ELDBLogging

Database Scripts
\EntLib50Src\Blocks\Logging\Src\DatabaseTraceListener\Scripts

The config tool is here:
C:\Program Files (x86)\Microsoft Enterprise Library 5.0\Bin\EntLibConfig.exe to config

Here’s the 5.0 assembly list. (Use NuGet EL database Logging 5.0, uses the update1 version of EL)

Microsoft.Practices.EnterpriseLibrary.Common
Microsoft.Practices.EnterpriseLibrary.Data
Microsoft.Practices.EnterpriseLibrary.Logging.Database
Microsoft.Practices.EnterpriseLibrary.Logging
Microsoft.Practices.ServiceLocation
Microsoft.Practices.Unity.Configuration
Microsoft.Practices.Unity
Microsoft.Practices.Unity.Interception.Configuration
Microsoft.Practices.Unity.Interception

 

Here’s a nice  link as well

http://www.codeproject.com/Articles/536532/Happiness-is-good-logging

3 comments

  1. Mihaela_RO · · Reply

    This doesn’t seem to be source code, but rather a published web app’s files. Where to find the source code?

  2. Mihaela_RO · · Reply

    I’ve been looking for your .sln file …

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: