Hello Rick,
your can remove the connection string section from the web.config and put
in to the separate file, which will be refered by web.config and your app.config
---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog:
http://spaces.live.com/laflour
Team blog:
http://devkids.blogspot.com/
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
RM> Hi,
RM> I am developing web application on 3 tier model. For data access my
RM> Data
RM> Access Layer (DAL) uses MS Enterprise Library (MSEL). If I am right
RM> MSEL
RM> relies on web.config file for the connection strings. I need to make
RM> the DAL
RM> totally independent ie I want to save the connection string
RM> information in a
RM> App.config file inside the DAL project (a class library project).
RM> How can I make MSEL to use App.Config in DAL for connection string
RM> instead of Web.Config in ASP.Net application??
RM>
RM> The reason I want to do this is that I have .Net windows service
RM> which need to use the DAL independently of the application.
RM>
RM> -Rick
RM>