473,324 Members | 2,166 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,324 software developers and data experts.

settings.settings & 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.settings section of the .config file?
Because when you use the settings.settings in an application, by default
it creates an 'applicationSetings' 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.settings for their
configuration. The thing is that the settings.settings 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 mergeConfiguration.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.settings "applicationSettings" 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 1406

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

Similar topics

5
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...
4
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...
1
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...
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...
1
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...
3
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...
2
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...
6
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...
3
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 -...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.