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
0
votes
1 answer

Enterprise Library cast exception in web application

I have a web application that uses Enterprise Library 4.1. A colleague upgraded an authentication module used by the web app to Enterprise Library 5.0. And unfortunately the upgraded version of the authentication module contains new functionality I…
0
votes
1 answer

Enterprise Lib 5.0 not working on Production (Windows Server 2008R2)

I am using EntLib 5.0-April 2010 Logging on my local machine (for rolling flat file, event log) and everything works fine, when I try to put in production on our web server, it does not work. Development machine is Windows 7 using VS2010. Production…
Quoc Nguyen
  • 348
  • 6
  • 25
0
votes
1 answer

Bulk insert using Enterprise Library 5

How do I perform a bulk insert of records with just one call/trip, using Microsoft Enterprise Library 5?
fcartu
  • 355
  • 1
  • 9
  • 20
0
votes
1 answer

Project can't find Enterprise Library Dll's

My project can't seem to find my enterprise library dll's even though they are in the correct folder? Why on earth would that occur? This is the latest enterprise library 5.0.505.0... Looking at my csproj file it simply includes a refrence for…
SoftwareSavant
  • 9,467
  • 27
  • 121
  • 195
0
votes
2 answers

Exception Handling Logging in a flat file

I'm using Microsoft Enterprise Library 5.0 for Exception Handling in asp.net. The errors are stored in the Event Viewer of the system. Instead of Event Viewer I need to store these errors in a log File (Text File) using Enterprise Library. How can I…
Kanvas
  • 165
  • 2
  • 7
  • 23
0
votes
1 answer

DB logging using Fluent Interface

I'm using Enterprise library 5.0. Using fluent interface I was able to configure Trace Listners for File based and Event based logging. Is there any way I can configure it for Database listner. My idea is not to use any external configuration file…
Deimos
  • 3
  • 1
  • 3
0
votes
1 answer

Delegates to "anonymous" interface proxy

May be you know if the standard .net framework library / ms enterprise library contains something like this functionality: IConvertible proxy = CodegenThatEverybodyNeed.CreateProxy( new Func {...}, new…
Roman Pokrovskij
  • 9,449
  • 21
  • 87
  • 142
0
votes
1 answer

ExceptionHandling with Unity and VirtualMethodInterceptor

I've configurated exception handling in app using Enterprise Library Configurator (Simple: Added new policy for all exception, added handler which passes to Logging Block. Than it is written to Windows Event System) However, when I'm instantiating…
0
votes
1 answer

EnterpriseLibraryContainer.Current.GetInstance() equivalent Updating Project from Enterprise Library 5 to 6

Alrighty, so I'm working on an older application that was built using Enterprise Library 5 and am updating it to use the latest version (6.0.1304). However, I'm running into an issue in a few of the data access pieces that are trying to use…
0
votes
1 answer

Shared Application Configuration using Project Settings Configuration with Enterprise Library

I'm trying to use Enterprise Library Configuration Merge feature, but it doesn't seem to work. I Have 3 projects: DLL1, EXE1 and EXE2. The DLL project is using the Settings configuration style (ie. DLL1Namespace.Properties.Settings.Default) - it…
Bogdan Maxim
  • 5,866
  • 3
  • 23
  • 34
0
votes
2 answers

Enterprise Library 5: Exceptions not being logged to Event log on Windows Azure

I have a WCF service that's deployed as a Windows Azure Web Role. I'm using Enterprise Library for exception handling and in my local Development Fabric, exceptions seem to be handled and logged correctly using the Event Log Handler (logging to the…
Steve Morgan
  • 12,978
  • 2
  • 40
  • 49
0
votes
2 answers

EntLib5: Logging application block , configuring via code instead of a config file?

I can't seem to find any examples for configuring EntLib5 logging application block via code. I have it configured via a config file and its working great but i would love to create another listener via code for writing out a log file for display…
0
votes
2 answers

What is difference between Oracle session and Oracle Connection Or Both are the same..?

I m using the Enterprise lib to connect Oracle Database class Customer{ private readonly Database _db; public Customer(){ _db = = DatabaseFactory.CreateDatabase(_userSettings.ConnstringName); } .. stuff to use this…
Akhil
  • 1,421
  • 1
  • 16
  • 21
0
votes
1 answer

InvalidOperationException - The type LogWriter cannot be constructed. You must configure the container to supply this value

When I am trying to log something from a BizTalk orchestration I am getting below error message in the eventlog. Error using Info(System.String,System.String): Resolution of the dependency failed, type =…
0
votes
1 answer

Can IsLoggingEnabled() change at runtime?

I'm encapsulating the EntLib 5 logging application block. I've seen in the documentation that every time that you want to log, you should give a look to "IsLoggingEnabled()". The fact that it's a method and not a property, tell me that is an…
vtortola
  • 34,709
  • 29
  • 161
  • 263