how to create a new application block?

Topics: Building and extending application blocks, Enterprise Library Core
Aug 15, 2010 at 2:28 PM

Hi,

Can anyone guide me as to how to create a new application block that is enterprise library 5.0 compliant. Is it all manual process or is there a short cut way to do this?

Thanks in advance for help.

Aug 15, 2010 at 8:09 PM

It is a manual process, but there's a lot less gunk than there was in previous versions. We don't have any explicit documentation yet; my recommendation would be to look at the source for one of the simpler blocks (security or crypto, for example) to see how things hook together.

All you really need is your configuration objects, plus a set of TypeRegistration objects describing how your objects should be configured and wired together. The config tool is now metadata driven, so you won't need to write the design-time nodes anymore unless you want to build something seriously customized.