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
12
votes
2 answers

How to check if LogWriter has been set?

I am trying to handle an Enterprise Library 6 LogWriter Exception that has recently popped up after upgrading from Enterprise Library 4 to 6. I either get: The LogWriter has not been set for the Logger static class. Set it invoking the…
tinonetic
  • 7,751
  • 11
  • 54
  • 79
8
votes
2 answers

The configuration section for Logging cannot be found in the configuration source

I get the following exception. I am using Enterprise Library 6.0 Application Logging Block. System.InvalidOperationException was unhandled by user code HResult=-2146233079 Message=The configuration section for Logging cannot be found in the…
Vinay Joseph
  • 5,515
  • 10
  • 54
  • 94
7
votes
2 answers
5
votes
1 answer

Cannot install Microsoft.Practices.EnterpriseLibrary.ConfigConsoleV6.vsix - “extension not installable on … installed products”

I click Microsoft.Practices.EnterpriseLibrary.ConfigConsoleV6.vsix. for Install Enterprise Library config. but It 's can't install this. i need your help please see view install log below **6/23/2015 10:45:41 AM - Supported Products : 6/23/2015…
Jamebond Tkk
  • 73
  • 1
  • 6
4
votes
4 answers

Configuration Tool/Console from Enterprise Library 6 with Visual Studio 2013 Throws FileNotFoundException

I'm experimenting with EntLib6 and Visual Studio 2013. When I attempt to open the web.config with the EntLibConfig.exe or EntLibConfig-32.exe, I get the following exception: Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: …
3
votes
1 answer

Enterprise Library Logging and Text Formatter Template Tokens. How to?

I'm trying to get my logging component to work as I want. When I came across this post How to configure Enterpise Library 6.0 logging to database? I discovered that the Formatter:
sekarmaeu
  • 105
  • 1
  • 9
3
votes
1 answer

Unity v3 - RegistrationByConvention - Could not load type exception

I am using Enterprise Library 6 and Unity v.3.5.0.0 The following error occurs: Could not load type 'Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Manageability.ConfigurationSectionManageabilityProviderAttribute' from assembly…
Legends
  • 21,202
  • 16
  • 97
  • 123
3
votes
1 answer

How to apply ReliableSqlConnection's retry policy on SqlDataAdapter/DataSet

We applied Microsoft's Enterprise Library Transient Fault Handling Block on the Azure Sql connection and commands. For example, using(var sqlConnection = new ReliableSqlConnection(_connectionString, _connectionRetry, _commandRetry) { var command…
Jerry Bian
  • 3,998
  • 6
  • 29
  • 54
3
votes
6 answers

error in entlib 6 logger instantiation

I am getting an exception while setting the logwriter for Enterprise Library 6.0 logging component. On the first occurrence of logging, it succeeds. But for the consecutive calls it throws an exception: The LogWriter is already set. I have tried…
Krishna Sarma
  • 1,852
  • 2
  • 29
  • 52
2
votes
2 answers

net core 1 (dnx 4.5.1) with enterpriselibrary 6 - setting up the connection string

i ve big problems running enterprise library data access block with net core 1 (dnx 4.5.1) How can i setup the default connection string for entlib my appsettings.json "ConnectionString": "Server=localhost\sqlexpress;Initial Catalog=blind;User…
2
votes
0 answers

Enumerating DbProviderFactories in MS Enterprise Library returns different results

I have multiple applications that use MS Enterprise Library and the Oracle ODP.Net drivers to connect to Oracle. One application, a windows service, throws the following error when trying to create a connection to the Oracle DB: The connection…
jeff.eynon
  • 1,296
  • 3
  • 11
  • 29
2
votes
0 answers

DatabaseProviderFactory of EnterpriseLibrary 6 with MVC 6

DatabaseFactory previously used ConnectionString to create database. Now DatabaseProviderFactory uses ConfigurationSource which basically works on MVC 5 structure of web.config in XML form. Previously we could do something like below: string…
Umair Malhi
  • 565
  • 1
  • 5
  • 16
2
votes
0 answers

Does anyone have an example of enterprise library 6 exception handling using Microsoft MVC?

I need to build an example using this technology for a job evaluation in a project I'm working but I cant find much information to build the example and for the evaluation, anyone?
Juan
  • 1,352
  • 13
  • 20
2
votes
1 answer

Enterprise library 6 Microsoft.Practices.EnterpriseLibrary.Caching missing?

I saw the ICacheManager in Enterprise libary 5 and wanted to check it out. I cant find it in Enterprise library 6. What happened to it? Is it renamed? Is it deprecated because there are problems with it?
Mathias F
  • 15,906
  • 22
  • 89
  • 159
2
votes
2 answers

How to store the payload in separate columns using the Semantic Logging Application Block's SqlDatabaseSink

How can the SqlDatabaseSink store the payload in separate columns? It's mentioned in the documentation, but I haven't seen it done anywhere. When I've tried, the payload is always stored as a JSON string. Any ideas? Source: Developing event…
1
2 3 4 5