Help require in identifying the replacement for given 4 EL dll's

Topics: Data Access Application Block, General discussion, Logging Application Block
Jun 12, 2012 at 3:47 PM


We are working on program to upgrade 500+ .Net 1.1 applications to 4.0. Some of the .NET 1.1 applications are using below EL dll's, which are obsolated in latest release of EL.

Considering the level of effort and number of applications, we are going to use (Enterprise Library 3.1 - May 2007) with migrated applications.

Please help us in identifying replacement for below 4 EL dll's.

  • Microsoft.Practicies.EnterpriseLibrary.Configuration.dll
  • Microsoft.Practicies.EnterpriseLibrary.Logging.Sinks.Database.dll
  • Microsoft.Practicies.EnterpriseLibrary.Logging.RollingFlatFileSink.dll
  • Microsoft.Practicies.EnterpriseLibrary.Data.DB2.dll
Jun 30, 2012 at 4:51 AM

I'm assuming you want to move to Enterprise Library 3.1.

>  Microsoft.Practicies.EnterpriseLibrary.Configuration.dll

There is no equivalent.  The Configuration Application Block was removed from Enterprise Library.  This functionality was replaced with .NET Framework configuration classes.  If you are using this functionality you would have to do coding to use the new classes (or perhaps replicate the old functionality -- although this is not the recommended approach).

> Microsoft.Practicies.EnterpriseLibrary.Logging.Sinks.Database.dll

Log sinks were replaced with trace listeners.  The Logging Database functionality is located in Microsoft.Practices.EnterpriseLibrary.Logging.Database.dll.

> Microsoft.Practicies.EnterpriseLibrary.Logging.RollingFlatFileSink.dll

The RollingFlatFileSink is replaced with RollingFlatFileTraceListener located in Microsoft.Practices.EnterpriseLibrary.Logging.dll.

> Microsoft.Practicies.EnterpriseLibrary.Data.DB2.dll

I don't see a DB2 database implementation for Enterprise Library 3.1.  You can use the OLEDB Provider.  Enterprise Library Contrib has a DB2 Provider but it is for Enterprise Library 4.1.

Randy Levy
Enterprise Library support engineer