Home All Groups Group Topic Archive Search About

Enterprise Library with an Enterprise Distributed Application Template Project?

Author
22 Dec 2005 3:01 PM
mhunt
Hi,
Is it possible to integrate the Enterprise Library application blocks
into an Enterprise Template Project in Visual Studio, or am I barking
up the wrong tree entirely?

The separation the template imposes (specifically the Distributed
Application Template) within a solution seems ideally suited for the
Enterprise Library blocks, however the template doesn't allow addition
of the .config files generated when using the Enterprise Library
Configuration tool, for example, to the DataAccess layer.

However I added References to the blocks used within the template's
project (e.g, EnterpriseLibrary.Data to the DataAccessProjects project)
to use a block's functionality but this hasn't allowed me to easily
create a database connection string & to use it with the Configuration
block across the layers created in the template, as this is ordinarily
done by the .config file.

Any advice, opinions and/or samples would be greatly appreciated.
Cheers.
Marcus

AddThis Social Bookmark Button