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

how to set enterprise library cache size to 1

My web application uses enterpriseLibrary cache how can I set the cache size to be of size n? Is it a count of objects? or bite size?
Elad Benda
  • 35,076
  • 87
  • 265
  • 471
0
votes
1 answer

Upgrading Enterprise Library caching from 3.1 to 5.0

Trying to upgrade to EntLib from 3.1 to 5.0 and I'm running into an odd problem with caching. All our caching related unit tests are throwing: failed: System.ArgumentException : Type does not provide a constructor taking a single parameter type of…
si618
  • 16,580
  • 12
  • 67
  • 84
0
votes
1 answer

Enterprise Library Exception Handling "Process" method

I have a question on using Enterprise Library Exception Handling Application Block. First is the "ExceptionManager.Process" method. what I understood from the documentation is that you can execute your desired method and if it has an exception the…
Pouyan
  • 2,849
  • 8
  • 33
  • 39
0
votes
1 answer

Compress in-memory cached objects

I'm building a enterprise scale MVC ASP.NET application which store large objects on to memory cache using enterprise library 4.1. The object sizes range from 18-22MB for each user. There could be 530 concurrent users at any time. I'm bit worried…
Nil Pun
  • 17,035
  • 39
  • 172
  • 294
0
votes
1 answer

http.cache vs. EnterpriseLibrary.cache

I want to refactor some existing code. A controller with two actions. Each action calls a repository which is layered on top of a StronglyTyped enterpriseLibrary cache manager. The repository tries to get data from the cache. If it fails it gets it…
Elad Benda
  • 35,076
  • 87
  • 265
  • 471
0
votes
1 answer

Enterprise Library Logging : Activation error occured while trying to get instance of type LogWriter, key ""

I'm trying to write a log without having a configuration file by using Fluent API. this is my code: var builder = new ConfigurationSourceBuilder(); builder.ConfigureData() .ForDatabaseNamed("Logging") …
Pouyan
  • 2,849
  • 8
  • 33
  • 39
0
votes
1 answer

enterprise library cached object size

I've setup the enterprise library caching counters using Perfmon. However all I can see is number of entries in cache. COuld someone please help me if there's way to find out the size of the cached object so that I can specify correct value for Max…
Nil Pun
  • 17,035
  • 39
  • 172
  • 294
0
votes
2 answers

Does the latest release May 2008 of .NET enterprise library have the updater app block?

Does the latest version of the enterprise library (http://msdn.microsoft.com/en-us/library/cc512464.aspx) come with the updater application block?
AnonymousCow
0
votes
1 answer

get from Microsoft.Practices.EnterpriseLibrary.Logging app.config log fileName

Im using Microsoft.Practices.EnterpriseLibrary.Logging. The log fileName setting is located at App.Config file. I want get this fileName property by code. I didnt find how to get it. Is it possible? How can I do it? I`m working with C#. Thanks
Ofir
  • 5,049
  • 5
  • 36
  • 61
0
votes
1 answer

Has anybody used Ninject and the MS Enterprise Caching application block?

I am putting together a reporting service based on a very slow connection to a backing (dare I say legacy) data store. The only access I have to the data store is via a web services SDK written in java. I have a MVC3 C# front end using Ninject for…
THBBFT
  • 1,161
  • 1
  • 13
  • 29
0
votes
1 answer

How to update the Enterprise Library Cache data

I've a scenario where we need to request for 4 years worth of data. I've managed to hook up the enterprise library with in memory cache. Problem is it takes ages to request for 4 years data and store locally. Alternative is to request for 1 year…
Nil Pun
  • 17,035
  • 39
  • 172
  • 294
0
votes
1 answer

Integrating Enterprise Library with Visual Studio 2010

I have installed Microsoft Enterprise Library 4.1. Now, I want to edit app.config file from right clicking and selecting "Edit Enterprise Library Configuration". However, I couldn't see this option. I think, Enterprise Library is not integrated with…
cihadakt
  • 3,054
  • 11
  • 37
  • 59
0
votes
0 answers

Datatable.GetErrors returning incorrect datarows

I am using a datatable to insert records in the database, making use of the Data Block of the Enterprise Library. As you will see in the code below, I issue a UpdateDataSet on the dataset and then look for errors in the DataTable, extracting the…
Sharkz
  • 458
  • 1
  • 9
  • 25
0
votes
2 answers

Why does EntLib logging emit several messages at the same timestamp?

Using the logging block in Enterprise Library, I am seeing multiple log messages being emitted with the same time stamp, despite knowing that the calls to LogWriter.Write() are separated by several milliesconds (as measured…
pamphlet
  • 2,054
  • 1
  • 17
  • 27
0
votes
1 answer

Can't find reference of Logger

I have changed the project's framework from 3.0 to 4.0 but I am getting reference error of Microsoft.Practices.EnterpriseLibrary.Logging. I couldn't find any other references. I am using some of this codes in my program: Logger.Write("FaxPro service…
cihadakt
  • 3,054
  • 11
  • 37
  • 59
1 2 3
99
100