473,394 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Enterprise Library Data Configuration

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

Nov 24 '06 #1
1 2338
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/lib...gsettings.aspx

chanmm
<di***********@gmail.comwrote in message
news:11**********************@f16g2000cwb.googlegr oups.com...
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
Nov 25 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mike Chamberlain | last post by:
Hi all. I'm trying to extend the Microsoft Enterprise Library Data Access Application Block (http://msdn.microsoft.com/library/en-us/dnpag2/html/daab.asp?frame=true) to work with a Borland...
8
by: poifull | last post by:
Is anyone using the Microsoft Enterprise Library? If yes, do you like it or not? Any feedback will be appreciated.
3
by: veera sekhar kota | last post by:
hi, im seriously looking for right answer .... We are developing windows application in c#. I implemented DAAB(Data Access Application Block) 2.0 in our application. One of the senior asked...
2
by: bjhogan | last post by:
Hi, I have built an c# asp.net application on my laptop, it uses the Enterprise Library blocks - Data Access Application Block, Configuration Application Block. I now want to deploy my...
0
by: Benny Ng | last post by:
Hi,All, When i deploy Enterprise library with my application ,i used XCOPY to deploy it into my test server. But when application runs, shown some error related registry. (But actually I haven't...
2
by: Patrick | last post by:
I am using the Microsoft enterprise Library (June 2005) with .NET Framework 1.1 on a Windows 2003 IIS6 web server. with an ASP.NET 1.1 application, I have a dataConfiguration.config as listed at...
7
by: rockdale | last post by:
hi, I just downloaded Microsoft Enterprise Library Jan 2006 and try to integrate it into my asp.net application. As i am going to connect to mySQL database, I need to include the source code in my...
3
by: bungle | last post by:
Hi, I have started using MS Enterprise Library for the data access layer and found it great. I have changed to coding on another machine though and didn't think it necessary to a full install of...
3
by: Justin Kadima | last post by:
I'm considering porting one of my application in order to use the Microsoft enterprise library and I am contemplating the pros and cons of doing it. Are you guys using the library?
0
by: =?Utf-8?B?YW5rMmdv?= | last post by:
Hi, Thanks in advance for reading this. Not sure where to post this question, but I hope someone in here can help. Trying to write to Event Log in VS 2005 (.NET 2.0) using Enterprise Library...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.