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

Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. Enterprise Library

My ASP.NET 4.0 production application is experiencing re-occurring issues that cause the site to become unresponsive due to timeout errors. Here is a brief overview of the application. The application resides across 3 servers; a web server, an app…
5
votes
2 answers

Data Access Application Block for .NET 4.5 using MVC 4

I'm trying to develop an application using MVC 4. Earlier I was using Generic repository for accessing my database . But later I was suggested to use Data Access Application Block to access Data Base in my application . I'm not getting any exact…
Mahima Gandhe
  • 651
  • 7
  • 17
5
votes
3 answers

Performance comparison for logging to MSMQ / text file / database

We have several choices for logging in our .NET (C#) server application. We are going to use Enterprise Library. So here are the ways to go: 1) Writing log to MSMQ synchronously, then reading MSMQ with Win Service. Queue is on the local machine for…
rovsen
  • 4,932
  • 5
  • 38
  • 60
5
votes
1 answer

ConfigurationChangeWatcher.Poller()

When I profile my application , it seems that 70% of the time is spent in the method: Microsoft.Practices.EnterpriseLibrary.Configuration.Storage.ConfigurationChangeWatcher.Poller() From what I can gather this method should only be invoked every 50…
Banketeshvar Narayan
  • 3,799
  • 4
  • 38
  • 46
5
votes
3 answers

Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Data, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

I have integrated my project with another one (MVC3 application). Then I'm getting below error. Both the projects are working fine with the Microsoft Enterprise Library version 5.2.414.0. After integrating only some of the pages are working and…
user2537735
  • 117
  • 1
  • 2
  • 11
5
votes
1 answer

Enterprise Library Database Trace Listener?

I'm using EntLib v4 for Logging and currently I'm saving the events to the default text file listener. I would like to use MS SQL database as my event sink and I saw that the database listener is already provided, but I don't know how to create…
markom
  • 2,040
  • 1
  • 21
  • 29
5
votes
2 answers

Problem in reading connection string from App.Config when using NUnit 2.5.2

I'm using Microsoft Visual Studio 2005 with Enterprise Library 3.1. I have a data access layer which is a separate visual studio class library project. I wrote unit tests in a another class library and trying to call the data access method, but I…
Tech Matrix
  • 283
  • 2
  • 7
  • 13
5
votes
2 answers

Difference between iOS Developer Program ($99/year) and iOS Developer Enterprise Program ($299/year)?

I want to know what is the different between iOS developer program and iOS Enterprise Program and How to public My application in iOS Enterprise Program.What are produce available,I have uploaded other my apps in iOS developer Program (Appstore) but…
Mohan.C
  • 247
  • 4
  • 13
5
votes
2 answers

SQL script takes long time to run

I'm currently using Microsoft Enterprise Library Data Access 5.0 to execute a stored procedure. Database myDatabase = DatabaseFactory.CreateDatabase(); using (DbCommand command = myDatabase.GetStoredProcCommand("myStoredProc")) { //Add parameters…
madatanic
  • 1,760
  • 3
  • 16
  • 28
5
votes
3 answers

error while upgrading to EL 5 'Microsoft.Practices.EnterpriseLibrary.Caching ..or one of its dependencies

I have tried to upgarde my Enterprise Library from 4.0.0.0 to 5.0.5.0 I knew the safe way was using NuGet. I used it, but get this error: An error occurred creating the configuration section handler for cachingConfiguration: Could not load file…
Elad Benda
  • 35,076
  • 87
  • 265
  • 471
5
votes
3 answers

Compare Logging Application Block in Enterprise Library versus Log4net?

Can somebody please compare these two logging mechanism?
paradisonoir
  • 2,892
  • 9
  • 30
  • 41
5
votes
4 answers

Where is App.config?

I'm trying to set up logging with Microsoft's Enterprise Library (log4net seems to be a dead project). I'm using VB .NET 2008 and VS 2008. I've searched all over the MSDN documentation, CodePlex docs (including the Hands-On labs that installed and…
Zian Choy
  • 2,846
  • 6
  • 33
  • 64
5
votes
1 answer
5
votes
1 answer

Connection Leak in C# DataBase.ExecuteScalar

The following method in a static class gives me a time out exception because the connection pool is maxed out. While in debug mode I looked in sql Management studio and saw there were 150 sleeping processes. I expected the connections to be closed…
Matt
  • 111
  • 2
  • 8
4
votes
1 answer

Making Parametrized Queries Work with both SQL Server and Oracle

Our large application (VB.Net, Framework 3.5) has been developed more or less from the start to use SQL Server, and SQL Server only. Of course one day someone sold it to a client with the promise we could make it work on Oracle (10g and above), and…
Steve Pettifer
  • 1,975
  • 1
  • 19
  • 34