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

How to use prepared statements with Enterprise Library?

Is there a way to tell Enterprise Library to use prepared statements? If so, how?
NotMe
  • 87,343
  • 27
  • 171
  • 245
0
votes
2 answers

Is newest version of MS Enterprise Library compatible with older versions like 3.1

This current project I've been assigned uses the Version 3.1 levels of: Microsoft.Practices.EnterpriseLibrary.Common; Microsoft.Practices.EnterpriseLibrary.Data; As I try to get to know more about the capabilities of the Ent Lib, I am running into…
John Adams
  • 4,773
  • 25
  • 91
  • 131
0
votes
1 answer

Can the MS Enterprise Library build object model and code from a database?

I have just encountered the MS Enterprise Application Library 3.1 in an application I need to support/enhance. I am trying to get up to speed quickly on Microsoft.Practices.EnterpriseLibrary.Data in particular. The doc on this is quite good but the…
John Adams
  • 4,773
  • 25
  • 91
  • 131
0
votes
0 answers

Is there a DbBulkCopy class in ADO.NET?

I'm just puzzled that I didn't find it. Our solution uses enterprise library data access application block to make it database agnostic. That means we rely heavily on classes from System.Data.Common. Now I have to implement bulk copy operations and…
Nezreli
  • 1,278
  • 4
  • 16
  • 34
0
votes
1 answer

.net c sharp Console Application : timeout

I am creating a console application using Enterprise Library my code is something like this DataSet ds = db.ExecuteDataSet(command); this actually calling a SP which take 10-15 minutes to complete , so my come throws a time-out error. Any idea…
Posto
  • 7,362
  • 7
  • 44
  • 61
0
votes
1 answer

How do I use Enterprise Library to specify config for only one DLL or subsystem?

How can I use EL to specify trace listeners and formatters for only one subsystem (say, DLL) of a large system? I'm writing a sub-module of a very large large application (thick client, not web app) that uses a gateway/portal model to load its…
JohnL4
  • 1,086
  • 9
  • 18
0
votes
2 answers

How to get a connection and hold it using DAAB?

I have a task ahead of me that requires the use of local temporary tables. For performance reasons I can't use transactions. Temporary tables much like transactions require that all queries must come from one connection which must not be closed or…
Nezreli
  • 1,278
  • 4
  • 16
  • 34
0
votes
1 answer

Is a bad practice to use in method signature DbCommand?

I'm using the DbCommand from the EnterpriseLibrary. I have two methods which get same formated select from the database. So the DataReader looks same but, I'm executing other procedures. My question is: is it a good idea is move to one method…
szkra
  • 1,423
  • 2
  • 14
  • 21
0
votes
1 answer

Enterprise Pattern and Practise: configure Sql Azure transient fault Configuration

I am trying to implement SQL Azure Transient Fault Configuration in my ASP.NET application. I am trying to following: http://msdn.microsoft.com/en-us/library/hh680899(v=pandp.50).aspx Though I didn't find the block on how can I configure this in…
Sumit Gupta
  • 2,152
  • 4
  • 29
  • 46
0
votes
1 answer

Lightweight use of Enterprise Library TraceListeners

Is it possible to use the Enterprise Library 4.1 TraceListeners without using the entire Enterprise Library Logging AB? I'd prefer to simply use .NET Diagnostics Tracing, but would like to setup a listener that sends emails on Error events. I…
G-Wiz
  • 7,370
  • 1
  • 36
  • 47
0
votes
3 answers

Enterprise Library Review?

Is enterprise library for exception handling and logging efficient in terms of its memory usage for the functionality provided? What are the pros and cons? Thanks
None
0
votes
1 answer

EnteriseLibrary 6 and Sqlite, impossible?

In Enterpriselibrary 6, I configure the engine database in .config file lo use Log engine and Exception Handling; ok i can successful attach the provider to my db file, and i can create a context of sqlite under the database apis of enterprise…
ModMa
  • 509
  • 4
  • 5
0
votes
0 answers

Invisible Connection String in MS EL Logging Configuration

Masters. I'm supposed to implement MS EL's logging framework with database as a sink. I am done with the code blocks. All I have to do is make it run and log. But when I checked on the given logging configuration, it's quite different from the one…
0
votes
1 answer

How to do logging of C# Console application using EL 6.0

Can any one let me know how to implement logging with Enterprise Library 6.0 in C#. I want to do logging in Database, if it is available otherwise log the exceptions , information, messages into LOG file. Can anyone tell me How to implement logging…
user145610
  • 2,949
  • 4
  • 43
  • 75
0
votes
1 answer

We need enterprise library logging to throw errors

Do you know how we can get errors from enterprise library 5 logging block? As I know, logging's philosophy is to be non disrupting, so if there is an error in configuration for example, we will not get the error thrown. But in our application,…
Jiří Herník
  • 2,412
  • 1
  • 25
  • 26