Top "Enterprise-library" questions

Microsoft Enterprise Library is a collection of application blocks and core infrastructure designed to assist developers with common enterprise development challenges such as logging, validation, data access, etc.

Setting parameter to DBNull.Value using ternary syntax gives error?

I have the following bit of code to set a parameter that will be used in an INSERT statement to …

c# .net enterprise-library ternary-operator
Enterprise Logging Block vs NLog vs log4net

I need to use a logging library in my project and considering between Enterprise Logging Block vs NLog vs log4…

c# log4net enterprise-library nlog
DbType equivalent to SqlDbType.Bit

Does anyone know what is the DbType equivalent to SqlDbType.Bit? I am trying to convert param[0] = new SqlParameter("@Status", …

c# enterprise-library enterprise-library-5 sqldbtype dbtype
Performance of system.runtime.caching

I have compared the performance of system.runtime.caching in .NET 4.0 and the Enterprise Library Caching Block and to my …

.net performance caching .net-4.0 enterprise-library
Microsoft.Practices.EnterpriseLibrary.Data.DLL but was not handled in user code

Searched google and using Enterprise library data access to connect database. Installed only data access pack using https://www.nuget.…

enterprise-library
How To Use Exception Manager Enterprise Library 6.0

When using Enterprise Library 6.0, this error occurs in the code below: bool rethrow = ExceptionPolicy.HandleException(ex, "ReplacePolicy1") "Must set an …

c# exception-handling enterprise-library
When should I use Tracing vs Logger.NET, Enterprise Library, log4net or Ukadc.Diagnostics?

How do I choose between standard tracing, Logger.NET, Enterprise Library, log4net or Ukadc.Diagnostics? Is there a situation …

.net log4net enterprise-library nlog system.diagnostics
Advantages and disadvantages of using Enterprise Library

Im just starting a project and since this project is personal I was wondering what are the advantages of using …

c# .net enterprise-library
Enterprise Library Logging not logging to Event Log from ASP.NET

I spent a day trying to make Ent Lib Logging work and log anything into database or event log. I …

.net asp.net logging enterprise-library