473,657 Members | 2,409 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

settings.settin gs & enterprise library 3.x

Hi, I was wondering if it is possible to get the enterprise library (EL)
3.x to read/write the settings.settin gs section of the .config file?
Because when you use the settings.settin gs in an application, by default
it creates an 'applicationSet ings' area in the .config file. Whereas, the
default enterprise library creates the older 'appSettings' area.

What I am trying to do is that I have my entire app using EL 3.1 for the
application configuration files. However, two of my libraries it
references are libraries that use the settings.settin gs for their
configuration. The thing is that the settings.settin gs allow for
serialization and object type specifications (e.g. string, bool, etc.)
that is being used by the libraries. The enterprise library uses a more
archaic form of the old 'add key/value' and doesn't appear to understand
the newer serialization and type options in the .config file. I want to
ultimately use the EL 3 mergeConfigurat ion.exe to merge all my library and
environment specific configs into the exe.config and/or web.config files,
which is the main reason I need to figure this out.

So, is it possible to get Enterprise Library 3 to access the
settings.settin gs "applicationSet tings" section of the .config file? If
so, how?

I have exhausted all my resources trying to figure out how these two types
of config files can work together. Any help would be much appreciated! In
the mean time, back to copy and pasting after each build :(

TIA,

-John
Jul 11 '07 #1
0 1420

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

Similar topics

5
6717
by: Sam Carleton | last post by:
It is my understanding that in .Net the registry is not the prefered place to save application settings. What has Microsoft put in place to replace it? I thought it was the .config file, but I am unable to figure out how to write to the file. Sam
4
2643
by: surfdog58 | last post by:
Need to build complete deployment package for a multi-project enterprise soln consisting of 3 web apps, 20+ web services, 2 windows services, 61 component dll's and 4 databases. Everything except the databases are in one Build Solution. Project Output must be structured into unified Application Space with folders for webs and winservices in order to allow instancing on the middleware server. MyEnterpise/Instance1 Services/ Service1
1
1551
by: Mariusz Wojsyk | last post by:
Greetings. I use Configuration Application Block of Enterprise Library to store some user application settings like window size, position, etc.. Is there a way to set the FileName property of default XML File Storage Provider to use ApplicationData folder of current user? This way each user can have his own configuration file for given configuration class. Best Regards, Mariusz Wojsyk
3
3954
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 me to implement DAAB in enterprise library. I said DAAB 2.0 having more performance(data accessing) compare to enterprise library DAAB. And we not using the features of DAAB in enterprise
1
1229
by: Richard | last post by:
Hi, Does anybody know where I can find a C# sample that demonstrates how to encrypt configuration data using the MS Enterprise Library's Configuration Application Block pattern? - I don't see anything in the documentation on how to do this...
3
1554
by: tshah | last post by:
Hi. I am trying to use Data Access Application block provided by Microfost in Enterprise Library June 2005. The application I am devleoping is in ASP.NET. When I run my application and load up the aspx page first time, the application works fine. Howeve, When I try to run it second time the aspx page doesn't load and hangs up. I stepped through the code while running the application second time and found that the code in the Page load...
2
2690
by: Søren M. Olesen | last post by:
Hi How is the settings.settings supposed to be used??? If I add it to a class library, I get a app.config file with a <applicationSettings> section, containing my settings. However if I include this class library in a web-project, it seems like I have to copy this <applicationSettings> settings into the web.config file of my web.config file if I want to override some of the settings.... Now I have quite a number of Class libraries,...
6
1466
by: SAL | last post by:
Hello, Currently, I'm using Visual Studio 2003, C#, Framework 1.1 and Enterprise Library 2005 (for framework 1.1). I've used the Enterprise Library Configuration utility to create my connection to SQL Server, however when I run my C# program that calls a Stored Procedure it fails. Here is what the ConnectionString block looks like in my dataConfiguration.config file.
3
2144
by: Meteor | last post by:
I have a vs2005 solution containing about 5 projects, three of which have their own .settings files. When I deploy the application, I want all the settings to be in one place - configurable - presumably in an app.config file where I can edit them. The settings will be used by a windows service, filewatcher, database access application. How do I achieve this?
0
8310
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8826
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6166
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1615
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.