Creating custom providers in EntLib 5.0 is easier compared to the lower versions. The instructions are included in the documentation, you can refer
If you only want basic integration with the configuration tool, you just need to decorate your custom provider with the ConfigurationElementType attribute specifying the corresponding class for the application block. The class you will use is also
documented in the
Enterprise Library Extension Points section. For example, for a custom trace listener, your attribute should look like [ConfigurationElementType(typeof(CustomTraceListenerData))]
If you want full integration, you need to create a class which subclass from the corresponding configuration element base class. That class is also provided in the Enterprise Library Extension Points section. You would then use that class as
the type for the ConfigurationElementType attribute.
We have sample custom database trace listener, email us if you want a copy.
Global Technologies and Solutions