Questions tagged [enterprise-library-5]

Microsoft Enterprise Library is a collection of application blocks designed to assist developers with common enterprise development challenges.

Microsoft Enterprise Library is a collection of application blocks designed to assist developers with common enterprise development challenges. Application blocks are a type of guidance, provided as source code that can be used "as is," extended, or modified by developers for use in enterprise development projects.

This release of Enterprise Library includes the following new features and updates:

  • Major architectural refactoring that provides improved testability and maintainability through full support of the dependency injection style of development
  • Dependency injection container independence (Unity ships with Enterprise Library, but you can replace it with a container of your choice)
  • Programmatic configuration support, including a fluent configuration interface and an XSD schema to enable IntelliSense
  • Redesign of the configuration tool to provide:
    • A more usable and intuitive look and feel
    • Extensibility improvements through meta-data driven configuration visualizations that replace the requirement to write design time code
    • A wizard framework that can help to simplify complex configuration tasks
  • Data accessors for more intuitive processing of data query results
  • Asynchronous data access support
  • Honoring validation attributes between Validation Application Block and DataAnnotations
  • Integration with Windows Presentation Foundation (WPF) validation mechanisms
  • Support for complex configuration scenarios, including additive merge from multiple configuration sources and hierarchical merge
  • Optimized cache scavenging
  • Better performance when logging
  • A reduction of the number of assemblies
  • Support for the .NET 4.0 Framework and integration with Microsoft Visual Studio 2010
  • Improvements to Unity

Resources

152 questions
2
votes
2 answers

Microsoft Enterprise Library 5.0 Logging only occurs on first few WCF method call

I am experiencing erratic logging when using Enterprise Library 5.0 Logging. The issue is with a WCF 4.0 application hosted in IIS (7.5) running on Windows 2008 R2 Servers in a load balanced configuration. I am using Unity (2.0) for Dependency…
Grant Sutcliffe
  • 1,077
  • 1
  • 13
  • 20
2
votes
1 answer

MySQL 6 connection with Enterprise Library Data 5

Building a simple asp.net web app just to test things out (will obviously refactor before anything gets built for a production site), and I'm trying to connect to a mysql database using the latest version of the Enterprise Library, and am running…
Ben S
  • 185
  • 1
  • 10
2
votes
0 answers

Microsoft EnterpriseLibrary Logging : Logs are not getting generated

I am working on ASP.net MVC project and need to LOG entries in TEXT file using Microsoft.Practices.EnterpriseLibrary.Logging i.e. Microsoft Enterprise Library 5.0. Problem: LOGGING is not working. I am writing logs in a text file but no entries are…
Programming Geek
  • 244
  • 5
  • 15
2
votes
0 answers

Failed to find or load the registered .Net Framework Data Provider on local machine

I am receiving an error message "Failed to find or load the registered .Net Framework Data Provider." with Microsoft.Practices.EnterpriseLibrary.Logging.Logger.Write public void Write(string message, string category) { …
user1754675
  • 887
  • 13
  • 32
2
votes
2 answers

Semantic Logging Out-Of-Process ElasticSearch Configuration

I am trying to get ElasticSearch configured correctly with ETW/Out-Of-Process logging. I have successfully installed the latest version of the Out-Of-Process logger and followed the steps outlined on the SLAB site. My SemanticLogging-svc.xml looks…
ohlando
  • 321
  • 1
  • 7
2
votes
1 answer

Unable to log in database using enterprise library

i have been trying to log exceptions in event viewer and database using enterprise library,For event viewer i have been successfully logging exception but i am unable to log exceptions in database.Major problem is that i am not getting any error…
user3631413
  • 101
  • 2
  • 10
2
votes
1 answer

How to use enterprise library for logging and exception handling purpose?

I have my project design as below: MVC 4 (presentation)(using ninject as DI) WCF Service (BAL) DAL library - (Core ADO.NET) Common library (contain DTO and utility) Now, I want to add - Exception management and Logging mechanism. Can any one…
user3711357
  • 1,425
  • 7
  • 32
  • 54
2
votes
1 answer

Automatically deleting Enterprise Library 5 Rolling Log files

I have Enterprise Library Logging used throughout my project which is working perfectly, however I have noticed that the folder containing the logs has started to become bloated with old logs that are no longer needed. My set up in app.config is: …
2
votes
1 answer

Enterprise Library 6 Validation Not Reading From Configuration?

Enterprise Library 5 reads from my app.config and validates perfectly. With the following references: Microsoft.Practices.EnterpriseLibrary.Common v 5.0.414.0 Microsoft.Practices.EnterpriseLibrary.Validation v 5.0.414.0 and the following…
2
votes
1 answer

Microsoft Enterprise Library - Caching Mechanism expiry

Good Morning I am trying to integrate the caching mechanism in my current project and wanted to ask on the best practice and questions I have. My web.config is defined as follows:
Ashish
  • 510
  • 3
  • 14
2
votes
1 answer

Errors using Silverlight RootVisual with Enterprise Library 5

I originally posted: https://stackoverflow.com/questions/15351024/intermittent-errors-with-enterprise-library-using-silverlight-calling-rootvisual It was titled with the Activation issue like this question Activation error occured while trying to…
2
votes
1 answer

ExceptionPolicy vs ExceptionManager

What is the difference between exceptionpolicy and exceptionmanager classes of Microsoft Enterprise Library?? I didn't even know that exceptionmanager existed! Why are there two different classes?
2
votes
1 answer

Enterprise Library 5 How to change event log format?

Whilst the Ent Lib 5 is very easy to get logging working; when the data is logged to the event log it is in the format (as seen via XML tab> as A B C D " . I need to get it in the form ....".…
1
vote
1 answer

How to integrate SQL Server CE with Enterprise Library 5 DatabaseFactory?

I'm getting an "Activation error occured while trying to get instance of type Database, key "" " exception with my DatabaseFactory.CreateDatabase() whenever I reference the default database to a SQL Server CE I tried checking if the problem is…
Martin Ongtangco
  • 22,657
  • 16
  • 58
  • 84
1
vote
1 answer

Why Enterprise Library does not throw FaultException in WCF

I use WCF service hosted on IIS. Also, I use fault contracts to send errors to the client (FaultException<'T>) On the client side I catch FaultException<'T> to show some error to user. If some unhandled exception being thrown on a server, WCF…
1 2
3
10 11