Using Enterprise Libary 2.0 from a DLL ?

T

Tom

Hi,

I would like to use features of the Enterprise Library, specifically
the Configuration and Logging Application blocks, from a class library
(i.e. a DLL, not an EXE). I have not used the Enterprise Library yet,
but it appears that to use the Application Configuration Block, there
needs to be metadata coded into the App.Config file (e.g. to define the
storage location of the file containing the DLL's config settings).
This is troublesome because I am writing what amounts to a 3rd party
DLL and I don't know if the applications that will reference my DLL are
going to use an App.config file, or there might be resistance to
storing my DLL specific stuff into their App.config.

The features of the Enterprise Library look great. But is there a way
to use them from a DLL without storing the metadata into App.Config ?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top