common configuration for several applications
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngarchitecture' list.


Ivan Belov
Hi,

Here is the story.

We've got several different database applications interconnected with each
other and multiple role-based WebIU's for those applications.

Database applications and UIs are hosted on multiple SQL and Web servers on
our
LAN.

I am looking for solution to store common configuration settings for this
system. Obvious solution is to put a config file somewhere in public place
and
let all the apps access it. It will require writing a small component to
read,
parse, and provide configurational information, not a problem.

But I wonder: is there any built-in solution in .NET for such case? Don't
want
to re-invent the wheel.

Looked through System.Configuration namespace but found nothing appropriate.
Any hints on this?

TIA

/Ivan Belov/

Reply to this message...
 
    
Brian Espey
did you see the IConfigurationSectionHandler interface
in the System.Configuration namespace? The duwamish
application has a good example of how to write your
own custom configuration objects to read from a
web.config or application config file, by creating
your own objects that implement the
IConfigurationSectionHandler interface.

Brian

--- Ivan Belov <Click here to reveal e-mail address> wrote:
[Original message clipped]

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

Reply to this message...
 
 
System.Configuration.IConfigurationSectionHandler




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com