Development With A Dot

Blog on development in general, and specifically on .NET

Browse by Tags

All Tags » Enterprise Library (RSS)
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...
Dependency Injection on an ASP.NET Page
In order to have dependency injection on your ASP.NET pages, the best way to go is through a customized page handler factory. A page handler factory is a class directly or indirectly derived from PageHandlerFactory who has the responsibility to create...
Enterprise Library Call Handlers
Call Handlers are Enterprise Library's extension mechanism. They allow code to be injected before or after a method is called. Enterprise Library, as of version 4.1, comes with the following call handlers and associated handler attributes, in assembly...
More Posts