Questions tagged [enterprise-library-6]

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 their development projects.

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 their development projects.

http://msdn.microsoft.com/en-us/library/dn169621.aspx

Enterprise Library 6 – April 2013

Enterprise Library consists of reusable software components that are designed to assist developers with common enterprise development challenges. It includes a collection of functional application blocks addressing specific cross-cutting concerns such as data access, logging, or validation; and wiring blocks, Unity and the Interception/Policy Injection Application Block, designed to help implement more loosely coupled, testable, and maintainable software systems.

Different applications have different requirements, and you will find that not every application block is useful in every application that you build. Before using an application block, you should have a good understanding of your application requirements and of the scenarios that the application block is designed to address.

Microsoft Enterprise Library 6 contains the following application blocks:

  • Data Access Application Block. Developers can use this application block to incorporate standard database functionality in their applications, including both synchronous and asynchronous data access and returning data in a range of formats.
  • Exception Handling Application Block. Developers and policy makers can use this application block to create a consistent strategy for processing exceptions that occur throughout the architectural layers of enterprise applications.
  • Logging Application Block. Developers can use this application block to include logging functionality for a wide range of logging targets in their applications. This release adds asynchronous logging capabilities.
  • Policy Injection Application Block. Powered by the Interception mechanism built into Unity, this application block can be used to implement interception policies to streamline the implementation of common features, such as logging, caching, exception handling, and validation, across a system.
  • Semantic Logging Application Block. This application block provides a set of destinations (sinks) to persist application events published using a subclass of the EventSource class from the System.Diagnostics.Tracing namespace. Sinks include Windows Azure table storage, SQL Server databases, and flat files with several formats and rolling capabilities. Developers can extend the block by creating custom formatters and sinks. For those sinks that can store structured data, the block preserves the full structure of the event payload in order to facilitate analyzing or processing the logged data. Events can be persisted in-process or collected and persisted out-of-process in a separate service.
  • Transient Fault Handling Application Block. This application block makes on-premises or cloud applications more resilient to transient failures by providing intelligent retry logic mechanisms.
  • Unity Application Block. Developers can use this application block as a lightweight and extensible dependency injection container with support for constructor, property, and method call injection, as well as instance and type interception. This release adds support for Windows Store apps as well as the registration by convention feature to ease the task of configuring Unity.
  • Validation Application Block. Developers can use this application block to create validation rules for business objects that can be used across different layers of their applications.

Enterprise Library also includes a set of core functions for declarative configuration support.

63 questions
1
vote
1 answer

Enterprise Library DAAB 6 and ODP.NET - Connection string for the default database 'XXX' does not exist

I am using enterprise library DAAB 6. To communicate with Oracle database I am using EntLib Contrib library. Configuration file of my application looks like
A J Qarshi
  • 2,772
  • 6
  • 37
  • 53
1
vote
1 answer

Avoid creating dummy variable to force a .NET assembly to load

Background: I have a .NET 4.5 application that uses Enterprise Library 6.0 to connect to an Oracle Database. In order to use the Oracle Data Provider for .NET, you have use EntLibContrib.Data.OdpNet. I have a separate project and solution that…
user2896050
1
vote
2 answers

Enterprise Library RollingFlatFileTraceListenerData JsonLogFormatter file format

I'm looking for way make the RollingFlatFileTraceListenerData create a valid JSON document when using JsonLogFormatter. Like the XML parser, the RollingFlatFileTraceListenerData only appends items, just giving you an option to add an item header and…
user2896050
1
vote
1 answer

vs2012 Adding TransientFaultHandling 6.0 dll fails

When I right click VS References and goto Manage NuGet, I type in and search "enterprise library -" and then tried to add TransientFaultHandling - but it fails. I also tried adding the Logging Application block and that installed ok. Any ideas how…
1
vote
2 answers

Enterprise Library 6 validation config file

i'm trying to learn EnterpriseLibraryValidatoin. when i configure TypeValidation to validate a class through config file it does not pick up. but when i add Data Annotations it Validates Correctly I don't know if i'm leaving something out any help…
rahebirizah
  • 115
  • 11
1
vote
2 answers

ODP.NET in Microsoft Enterprise Library 6.0

There are a couple of questions floating around about this, but none have been really answered. Basically - is there currently an implementation of ODP.NET for enlib (6.0) currently being used? Or will I have to go down the route of writing a…
djangoat
  • 475
  • 4
  • 12
1
vote
0 answers

Visual Studio Enterprise Library Configuration Addon throws an error

Hi I seem to be having some problems with the enterprise library config extension for visual studio 2012.The first time I Installed it everything worked fine and I managed to finish the configurations I needed. But now when I try to open it I get…
aleczandru
  • 5,319
  • 15
  • 62
  • 112
1
vote
2 answers

How to set UserID and Password in EnterpriseLibrary 6.0

I have coded like the below: #Code DatabaseProviderFactory factory = new DatabaseProviderFactory(); database = factory.Create("DBinstanceName"); ConfigFile Entries
0
votes
0 answers

Enterprise Library 6.0 Logging TraceListner

We are getting lots of log file with GUID prefix and files size 0KB only. how can we resolve this issues. I tried to increase the file size and file max limit, but issue still exists.
Jay
  • 1
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
0 answers

OracleCommandBuilder.DeriveParameters() throws OracleException: ORA-06564: object does not exist

Using the OracleClient that comes with ADO.NET in .NET Framework, I'm trying to call OracleCommandBuilder.DeriveParameters() method on a procedure in the database, but I keep getting an OracleException with the message: ORA-06564: object…
0
votes
1 answer

Oracle stored procedure throwing parameter mismatch error

I am trying to call Oracle stored procedure using Microsoft.Practices.EnterpriseLibrary 6 in C# Below is my stored procedure create or replace PROCEDURE "US_GET" (inputa IN integer, cur_OUT IN OUT SYS_REFCURSOR) IS cur_N SYS_REFCURSOR; …
Vaishali
  • 117
  • 1
  • 2
  • 9
0
votes
0 answers

Analyzing Memory dump for High CPU usage shows calls to Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Storage.ConfigurationChangeWatcher

I am analyzing memory dumps for high CPU usage but all I see is most of the runaway threads show a constant time of 0 days 0:05:48.921 the second and millisecond change offcourse and mostly all call the Microsoft Practices EnterpriseLibrary…
S.Ria
  • 11
  • 4
0
votes
1 answer

Within the Microsoft Enterprise Framework, where did the FormatterData.GetRegistrations method go?

I have the unforuntate task of upgrading some decade old C# code that uses the Microsoft.Practices.EnterpriseLibrary.Logging library. I've almost gotten it to compile with just one error left: They are extending the FormatterData abstract class,…
Jansky
  • 1,455
  • 1
  • 17
  • 33
0
votes
0 answers

Avoid logging the same exception

I am using Microsoft.Practices.EnterpriseLibrary.ExceptionHandling for handling exceptions in the application. I have a handler that logs the exception in our custom logging class. This handler is a part of exception policy definition that has…
Robert
  • 2,407
  • 1
  • 24
  • 35