Development With A Dot

Blog on development in general, and specifically on .NET

Sponsors

My Friends

My Links

Permanent Posts

Portuguese Communities

Browse by Tags

All Tags » Enterprise Library (RSS)
Enterprise Library Extensibility Hands-on Labs Released
The Patterns & Practices team has just released the Enterprise Library Extensibility Hands-on Labs . It provides step by step guidance on creating: Custom exception handler Custom logging trace listener Custom configuration source (registry-based) Go...
Pooled Lifetime Manager for Unity
A pooled lifetime manager for Unity. Creates new objects up to a maximum size and returns them in round-robin sequence. Default pool size is set to 5, but you can override it in the appSettings section with a key: <appSettings> <!-- format is...
CachingCallHandler and Unity 2.0
Unity 2.0 no longer includes CachingCallHandler , as you can see in here . Since this is something I use very often, I decided to bring it back, with some changes: It no longer uses ASP.NET cache, but the new MemoryCache The current process is part of...
Set Default Interceptor Unity Extension
With Unity, it is quite easy to implement an extension that automatically sets the appropriate interceptor for each registered type. Here is how I did it: public class DefaultInterceptorInterceptionExtension : Interception { private static readonly IInterceptor...
Enterprise Library Contrib 3.1 Released
Version 3.1, fully compatible with Enterprise Library 4.1 and .NET 3.5, was released. You can get it from http://www.codeplex.com/entlibcontrib . What does it contain, you may ask? Well, here is the list from their site: What's in EntLib Contrib? The...
Enterprise Library 4.1 and Unity 1.2 Hands-on Labs Download - Patterns & Practices
Good news: the long-promised Hands-on Labs for Unity has been released! Get it from here , read about it here .
Enterprise Library 5 Wish List
Updated! The guys from the Enterprise Library development team are taking feature suggestions for the upcoming Enterprise Library 5. I have suggested the following: A configuration editor for Unity, like ther is for all the other application blocks A...
ASP.NET Validation with the Enterprise Library Validation Block
The Enterprise Library comes with a custom ASP.NET validator, that gets validation from the metadata defined in your classes. If you have seen my previous post , you know how to add validation metadata to a POCO, usually a data transfer object. Basically...
Validation of WCF Requests with the Enterprise Library Validation Block
In order to enable validation of the properties of a request message, you only need to add a [ValidationBehavior] attribute to your service interface, just next (or before) the [ServiceContract ], and a [FaultContract(typeof(ValidationFault ))] on the...
Enterprise Library Lifetime Managers
Update: fixed a bug in the attached code. Enterprise Library comes with several lifetime manager, which you can use to control how your objects are stored and retrieved. The available lifetime managers are: ExternallyControlledLifetimeManager : stores...
More Posts Next page »