Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / November 2006

Tip: Looking for answers? Try searching our database.

Enterprise Library Data Configuration

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dirk.dircksen@gmail.com - 24 Nov 2006 08:26 GMT
Hi

I'm busy migrating code from the June 2005 Enterprise Library edition
to the January 2006 edition.
One of the cool things about the June 2005 edition (for me, in any
case) was the fact that I could specify a location for a single
configuration file which would hold all my connection information for
multiple applications.
Due to the fact that I work in a large environment with many
applications accessing multiple databases, this was ideal due to the
fact that if something changed, I only had to change 1 configuration
file for all my applications.
It seems that this functionality is missing in the January 2006 EntLib
edition. Has anyone run into the same problem and come up with a
solution?
I would, ideally, like to have 1 configuration file (like
dataConfiguration.config used in June 2005 EntLib) to handle all my
connection information.
I am aware that I could change the EntLib code to suit my needs, but
surely this has come up before or has been addressed by something I'm
overlooking?

Thanks

Dirk
chanmm - 25 Nov 2006 12:29 GMT
I know what you refer to but just lazy to flip. Well, I can put you
connection string to app.config for winapp and web.config to webapp.
http://msdn2.microsoft.com/en-us/library/system.configuration.connectionstringse
ttings.aspx


chanmm

> Hi
>
[quoted text clipped - 21 lines]
>
> Dirk

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.