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

Using Enterprise Library 6.0.x with Visual Studio 2015 without installing .exe file

I need to use “Enterprise Library 6.0.x” for logging with Visual studio 2015. Before this I have worked with Log4Net and I know how to write log files using log4net. But I am using “Enterprise Library” first time. I have installed a Nuget package…
Banketeshvar Narayan
  • 3,799
  • 4
  • 38
  • 46
0
votes
0 answers

Enterprise library 6.0 migrations

In our project, we were using Enterprise library 5.0 for exception handling. Now, we are planning to use Enterprise library 6.0 and we are facing issues that EnterpriseLibraryContainer.Current is not available in Enterprise library 6.0. I have…
0
votes
1 answer

Enterprise Library 6 - VS 2015 - Windows 10

Will EL6 be supported on Win10 & VS 2015 in the near future? I wanted to install the ConfigConsole.visx in order to configure all things in the designer. VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently…
Legends
  • 21,202
  • 16
  • 97
  • 123
0
votes
1 answer

Clearing an Enterprise Library Logging log file

How would I delete / clear / wipe / overwrite a log file being written through EL6 logging. I am using a logwriter instance to write to a log file that needs to be overwritten every cycle as my program runs in a continuous loop. I will be writing…
hahmed
  • 645
  • 7
  • 16
0
votes
0 answers

c# parallel processing , log each thread to a separate file

I have a parallel ForEach that calls another method to so some processing, in the other method I use Enterprise Logging. Currently the log all goes to one file, I would like to have each thread create its own log file at least each thread that…
Jawahar
  • 183
  • 4
  • 16
0
votes
1 answer

Exception on install msmqdistributor for Enterprise Library 6

I am trying to install msmqdistributor service for Enterprise Library 6, but got this exception: An exception occurred during the Install phase. System.InvalidOperationException: Unable to get installer types in the C:\EntLib\MsmqDistributor.exe…
0
votes
1 answer

Enterprise Library Logging Block Get Configuration From web.config

I've a Web API application. In the solution of the application, there are several projects. And all the API's are in one single project. And there is one project for business layer. We want to write one logging class containing all the relevant…
0
votes
0 answers

Enterprise Library Exception Handling Block Change between VS 2008 and VS2012

I have migrated my asp.net web application from Visual Studio 2008 to Visual Studio 2012. It is working except one case. Some place they capture exception and throw it which is captured in Global.asax in Application_Error Event. This error is shown…
0
votes
1 answer

Can I add a new version of and event method and use same event ID?

With respect to versioning, the documentation for the Semantic Logging Application Block recommends: If you do need to modify your EventSource class, you should restrict your changes to adding methods to support new log messages, and adding…
maxwellb
  • 13,366
  • 2
  • 25
  • 35
0
votes
2 answers

Can I alter Database Tables and Stored Proc used by Enterprise Library Semantic Logging Block

I want to add some more columns to the defult database used by Semantic Logging SQLServerSink. Can I alter Database Tables and Stored Proc used by Enterprise Library Semantic Logging Block. If yes how , if no then what is the alternative…
Abhi
  • 5,501
  • 17
  • 78
  • 133
0
votes
1 answer

Server not relinquishing connections when using Enterprise Library and Unity?

I'm running into a very odd problem. We're using Web Api 2.1 with the Enterprise Library 6 data block and dependency injection through Unity. I started noticing that if I refreshed one of our pages a lot, that eventually I'd get the dreaded "Timeout…
0
votes
1 answer

Trying to Logging in database using Enterprise library6

I am able to log in flat file, but not in database. I am using enterprise library 6 for logging. I am not able to log in database. Please provide some solution
0
votes
1 answer

Consecutive logging with Microsoft Enterprise Library LogWriter

I have a C# .NET application using Enterprise Library 6.0 for logging. I have declared one trace listener for database logging and another trace listener for flat file logging. And prepared them for handling same log category "General". In my…
Ahmet
  • 85
  • 1
  • 8
0
votes
1 answer

Enterprise Library ODP.NET call returns ORA-06502: PL/SQL: numeric or value error

I have the following Oracle Stored Procedure: PROCEDURE SP_ITEMEXISTS(pID IN NUMBER, pExists OUT CHAR) IS BEGIN select CASE count(*) WHEN 0 THEN 'N' ELSE 'Y' END into pExists from items where id = pID; END SP_ITEMEXISTS; I'm calling it from…
user2896050
0
votes
1 answer

Call Oracle Stored Procedure with Char Out Parameter errors with PLS-00306: wrong number or types of arguments in call

I have the following Oracle Stored Procedure: PROCEDURE SP_ITEMEXISTS(pID IN NUMBER, pExists OUT CHAR) IS BEGIN select CASE count(*) WHEN 0 THEN 'N' ELSE 'Y' END into pExists from items where id = pID; END SP_ITEMEXISTS; I'm calling it from…
user2896050