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
This doesn’t seem to be source code, but rather a published web app’s files. Where to find the source code?
https://github.com/damienbod/ELDBLogging
greetings Damien
I’ve been looking for your .sln file …