Questions tagged [enterprise-library-5]

Microsoft Enterprise Library is a collection of application blocks designed to assist developers with common enterprise development challenges.

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 enterprise development projects.

This release of Enterprise Library includes the following new features and updates:

  • Major architectural refactoring that provides improved testability and maintainability through full support of the dependency injection style of development
  • Dependency injection container independence (Unity ships with Enterprise Library, but you can replace it with a container of your choice)
  • Programmatic configuration support, including a fluent configuration interface and an XSD schema to enable IntelliSense
  • Redesign of the configuration tool to provide:
    • A more usable and intuitive look and feel
    • Extensibility improvements through meta-data driven configuration visualizations that replace the requirement to write design time code
    • A wizard framework that can help to simplify complex configuration tasks
  • Data accessors for more intuitive processing of data query results
  • Asynchronous data access support
  • Honoring validation attributes between Validation Application Block and DataAnnotations
  • Integration with Windows Presentation Foundation (WPF) validation mechanisms
  • Support for complex configuration scenarios, including additive merge from multiple configuration sources and hierarchical merge
  • Optimized cache scavenging
  • Better performance when logging
  • A reduction of the number of assemblies
  • Support for the .NET 4.0 Framework and integration with Microsoft Visual Studio 2010
  • Improvements to Unity

Resources

152 questions
0
votes
1 answer

CustomStringLengthValidator Required - (patterns & practices – Enterprise Library)

I am using Microsoft Enterprise Library 5.0 Validation Application Block. I want override the StringLengthValidator which will have only one minor change. The current StringLengthValidator is fine but the problem is this validator is doing two…
Sukesh Chand
  • 2,339
  • 2
  • 21
  • 29
0
votes
1 answer

AuthorizationRuleProvider rule and Domain group name with space in it

I have a domain group with space in it, it does not work. The only related thing I find on google is this unanswered question http://webclientguidance.codeplex.com/discussions/9242
Anders
  • 17,306
  • 10
  • 76
  • 144
0
votes
2 answers

Want to develop a windows service to serve as logger for other applications

We have lot of applications running on our server that uses Enterprise Library to log. We want to develop a logging service that can serve as a common logging service all these applications can call and that way they will all be logging to a single…
0
votes
1 answer

Enterprise Library Validation Ruleset issue for nested objects

I'm having a problem applying Rulesets when validating objects with nested objects when using Enterpirse Library validation. If I have the following objects public class Person { [ObjectValidator] [ObjectValidator(Ruleset = "A")] public…
Boob
  • 1,023
  • 4
  • 13
  • 20
0
votes
1 answer

Error in "Extensibility Hands-on Labs for Microsoft Enterprise Library 5.0"

I was going through the Extensibility Hands-on Labs for Microsoft Enterprise Library 5.0 and found an error in the "Lab 2: Custom Logging Trace Listener" lesson. It applies to exercises 2,3 and 4 in the lab. I searched through the issues tracker on…
0
votes
1 answer

How do I redirect the output of Trace.WriteLine to Enterprise Library Logging block?

I have legacy code that is making use of Trace.WriteLine everywhere. I decided to use Microsoft Enterprise Library to log the traces. So I can decide to write to a file, send an email, log to the database o create my own custom listener. How do I…
rcarrillopadron
  • 459
  • 2
  • 6
  • 19
0
votes
1 answer

Enterprise Library 5: Creating instances of Enterprise Library objects

I am using Enterprise Library 5.0 in my win-form Application. 1. Regarding creating instances of Enterprise Library objects What is the best way to Resolve the reference for Logging / exception objects? In our application, we have different…
Shah
  • 1,319
  • 1
  • 13
  • 18
0
votes
1 answer

Adding Logging Target Listeners to Enterprise Library Configuration Tool

I am using the logging application block from Enterprise Library 5.0 in my application. My architect wanted custom behaviour therefore I wrote my own Trace Listener which logs to a database, executing other custom code on the way. This all…
Shumii
  • 4,529
  • 5
  • 32
  • 41
0
votes
1 answer

Enterprise Library 5 Validation Type Safe?

I recently discovered the Enterprise Validation Library and am using it to validate my app.config file. I mostly have strings which were simple to apply validation to. I also have some booleans for example: class Options { public bool…
nitewulf50
  • 530
  • 1
  • 4
  • 17
0
votes
1 answer

Using ScriptManager in ASP.NET 3.5 ASPX page with EnterpriseLibary 5.0

I am working in an MVC3 application that references assemblies that use version 5 of the Microsoft Enterprise Library. I am doing a research project about using the ReportViewer to create reports. I learned the ReportViewer can't be used in a Razor…
0
votes
1 answer

redgate ants profiler instrumentation like Enterprise library 5 Logging TraceManager

Is it possible to use Ants profiler instrumentation component api like enterprise library logging/instrumentation? I want to instrument certain part of my application on end user's machine. I also want it to be configurable, so that it wont kick-off…
RockWorld
  • 1,278
  • 2
  • 11
  • 24
0
votes
1 answer

Using Enterprise Library to log to a custom Windows event log does not work

I have configured the Enterprise Library 5.0.505 Logging Application Block to log events from my .NET 4 application to a custom windows event log. 'Custom' meaning that the log is application-specific and shows up as an entry under the "Applications…
Stephen Hewlett
  • 2,415
  • 1
  • 18
  • 31
0
votes
1 answer

How can i rename the log file with Modified date by using Rolling Flat File Trace Listener

My desire output is, if "rolling.log" file was created and modified by 26-06-2012, next day(27-06-2012) that file should be renamed with "rolling-26-06-2012..log". Now output is "rolling-27-06-2012.log" file. Below is my current logging setting…
yehtut
  • 3
  • 4
0
votes
2 answers

Database.ExecuteSprocAccessor() not mapping blob data correctly

If anyone can help me figure this out, I would greatly appreciate it. For starters, I have a class like so: public class Blob { public int BlobID { get; set; } public string BlobName { get; set; } public string FileName { get; set; } …
0
votes
1 answer

EntLib 5 Caching - suspected deadlock - cpu hangs at 100%

I am having this issue for months now. I upgraded from entlib 4.1 to 5. My application is caching increasingly more items. At times (sometimes trice a day) the CPU hangs at 100% usage but the application stays responsive. I used dotTrace to get a…
1 2 3
10
11