473,396 Members | 1,590 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,396 software developers and data experts.

.NET Configuration for Desktop and Web

Hi,

I am developing an application that will have both a desktop and web
front-end which each share the same "user" and "application" settings
structure.

The idea would be to create one set of classes, that represent the settings,
and use them in both applications. But, on the desktop side I would like
them saved to a XML file and on the web side to a database.

Is there a way, using the .NET Configuration API, of achieving this?

Many Thanks
Michael
May 14 '06 #1
1 956
Hello Michael,

I'd recomend to look at www.springframework.net for this

M> I am developing an application that will have both a desktop and web
M> front-end which each share the same "user" and "application" settings
M> structure.
M>
M> The idea would be to create one set of classes, that represent the
M> settings, and use them in both applications. But, on the desktop side
M> I would like them saved to a XML file and on the web side to a
M> database.
M>
M> Is there a way, using the .NET Configuration API, of achieving this?

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
May 14 '06 #2

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

Similar topics

761
by: Neo-LISPer | last post by:
Hey Recently, I researched using C++ for game programming and here is what I found: C++ game developers spend a lot of their time debugging corrupted memory. Few, if any, compilers offer...
0
by: phillip | last post by:
This is interesting, I have attached my web.config file and the exception I have been logging. I created a library which provide data access to a database and a control system. The library is...
2
by: Sara T. | last post by:
Friends, After I installed Windows XP SP2, I often found error when I running ASP.NET Web Application on my desktop. The error is shown as following: Configuration Error Description: An error...
6
by: sameer | last post by:
I started working with vb.NET on my 256 RAM , 2.0 GB machine on windows 2000 pro, service pack 4 . it was really slow and so I upgraded the RAM to 512 MB RAM, which is much better but still not the...
7
by: Mike Livenspargar | last post by:
We have an application converted from v1.1 Framework to v2.0. The executable references a class library which in turn has a web reference. The web reference 'URL Behavior' is set to dynamic. We...
7
by: Tom | last post by:
I have built a VS 2005 C++ application (ported from VC++ 2003). It's a WinForm app. It runs OK on the development system, but when I try to deploy it on any other system, all users gets an error...
1
by: SeeSharp Bint | last post by:
I have written a Windows Service application that does some scheduled small tasks on one or more sql server databases. I've written it so that it can service several databases. I've also written a...
0
by: yairinbal | last post by:
Hello, My application uses XML to store its configuration files. I am looking for a generic customizable XML editor or a form generator that will let my application's end-user to edit and...
2
by: action | last post by:
Hi, I am new to AJAX and need some help. Here is my situation. We moved a project from one directory (website.com/program/) to another (website.com/). When I went to run the project, I am given...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.