Questions tagged [enterprise-library]

Microsoft Enterprise Library is a collection of application blocks and core infrastructure designed to assist developers with common enterprise development challenges such as logging, validation, data access, etc.

Microsoft Enterprise Library consists of a collection of application blocks and core infrastructure. All of these are reusable software components designed to assist developers with common enterprise development challenges. It also comes with a lot of guidance, including the Developer's Guide, MSDN documentation, Hands-on Labs, Videos and Demos.

Enterprise Library 6 contains the following:

  • Data Access Application Block
  • Exception Handling Application Block
  • Logging Application Block
  • Validation Application Block
  • Policy Injection Application Block
  • Unity Dependency Injection Container
  • Semantic Logging Application Block (SLAB)
  • Transient Fault Handling Application Block ("Topaz")

Sites

Books

enter image description here

1586 questions
0
votes
1 answer

AppDomainName customization with Enterprise Library on an ASP.Net MVC App

I been using Microsoft’s Enterprise Library for Logging. I want to be able to query the Log table based on the AppDomainName, which is not a problem on executables as they log the AssemblyName as the AppDomainName. However, when it comes to an MVC…
extofer
  • 92
  • 1
  • 2
  • 7
0
votes
4 answers

SharePoint and Enterprise Library 4.0

Has anybody been successful in integrating the Enterprise Library v4.0 with SharePoint WSS 3.0? I created a very simple .ASPX page. It's only purpose will to be to connect to an Oracle database and display some values in a DropDownList. But right…
DrZ
  • 106
  • 3
0
votes
1 answer

How to Create custom Exception handlers with Enterprise Library Exception Handling block

I am trying to create custom Exception handlers for use with the EHAB. All I have been able to find for how-to is the IExceptionHandler interface, which only requires the HandleException method. But, there are obviously other requirements, because…
Peter Howe
  • 429
  • 6
  • 19
0
votes
1 answer

Looping through DataTable & Constructing an Xml for each unique item

I have a data table populated by a stored procedure like this: OrderID UserDefXml 1 1 …
FMFF
  • 1,652
  • 4
  • 32
  • 62
0
votes
0 answers

SSIS 2008 is not working with enterprise library logging

I want log my SSIS 2008 using enterprise library logging 5 so I created a class library project, added all enterprise library logging dependencies and wrote a compatible App.Config. I validated that everything OK with my logger library by creating a…
Ofir
  • 5,049
  • 5
  • 36
  • 61
0
votes
2 answers

Is there any way to change the text formatter template in Enterprise Library, to create HTML log files?

I'm using Enterprise Library 5 for logging, Is there any way to change the text formatter template to create HTML log files?
Masoud
  • 8,020
  • 12
  • 62
  • 123
0
votes
2 answers

Enterprise Library Object Validation: Getting more information about the Validation Failure

I'm trying to perform some validation on my objects that is are not tied to a UI. For example I have these three classes: public class XDeftable { [ObjectCollectionValidator(typeof(XSchedGroup))] public List SCHED_GROUP { get;…
Kittoes0124
  • 4,930
  • 3
  • 26
  • 47
0
votes
1 answer

How to use Enterprise Library 4.1 Symmetric key Provider in Azure

We have legacy ASP.NET application which uses Enterprise Library 4.1 Symmetric Key provider where key is stored on physical file as shown on config below. It uses machine key protection.
Nil Pun
  • 17,035
  • 39
  • 172
  • 294
0
votes
1 answer

Enterprise library Logging application block fails to write to database

In my application I am using Enterprise library logging application block for logging exception to DB.Also, I am using fluent API to configure the logging application block. Things I noticed: When I was not using the Fluent API and database logging…
0
votes
1 answer

Enterprise Library Policy Injection Logging Managed Security Context Information in ASP.NET

I am using The Policy Injection Application Block to log methods that are called in my ASP.NET application. I would like these log entries to include information like the current user identity, whether the user is authenticated and so forth. All of…
John Bledsoe
  • 17,142
  • 5
  • 42
  • 59
0
votes
1 answer

How to set databaseInstanceName in Database Trace Listener from C# code?

This might be a simple question. Is there any way by which we can set the databaseInstanceName in Database Trace Listener programitically ? As my application interacts with different databases(lets say in the connectionString tag i have 3 connection…
Bose_geek
  • 498
  • 5
  • 18
0
votes
1 answer

Obtaining database schema using enterprise library data access block

I'm new to the enterprise library framework. Is there a way to obtain database schema similar to sqlConnection.GetSchema() method in enterprise library. Any help would be greatly appreciated. Thanks, shishi
shishi
  • 107
  • 1
  • 2
  • 8
0
votes
1 answer

Web Client Software Factory 2008 ASP.NET project migration to dotNET 4.5 64 bit possible?

I have old Web Client Software Factory project built with VS2008, WCSF 2008 and MS Enterprise Library 3.1 I have to make changes to the project so I migrated the solution to Visual Studio 2012. It compiles fine with .NET 3.5 and runs on IIS 7.5 as…
mitaka
  • 2,159
  • 1
  • 30
  • 30
0
votes
1 answer

Entlib logging block ActivationException when using EmailTraceListener

I have a problem with EmailTraceListener's configuration. I get ActivationException with an inner exception with this message: The type TraceListener cannot be constructed. You must configure the container to supply this value. Here is my…
vklu4itesvet
  • 375
  • 1
  • 4
  • 15
0
votes
0 answers

Strange behavior with size limitation in Enterprise cache block

I am using entlib 5.0.1. I have created a cache using code configuration IContainerConfigurator configurator = new UnityContainerConfigurator(_unityContainer); configurator.ConfigureCache(item.PartitionName, item.MaxItemNumber); CacheBlockImp…
li-raz
  • 1,678
  • 2
  • 29
  • 57