Re: Application configuration

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Andrew de la Harpe (andrew_dela_at_hotmail.com)
Date: 03/21/04


Date: Sun, 21 Mar 2004 12:12:41 +1100

How about a XML file ?
A

"Stefano Mostarda" <stefano.mostarda@fastwebnet.it> wrote in message
news:%232$gOfrDEHA.3152@TK2MSFTNGP10.phx.gbl...
> Hi there,
>
> I have a question.
>
> I've developed an application and now I'm facing with the problem of how
> to make final user configure the parameters.
>
> Now all parameters are stored in web.config file and I have developed a
> simple program to edit them.
>
> The problem is that each time the user change a parameter the
> application restart. Now, it's acceptable for important params (db
> settings for instance) but for others it's not. what should I do:
>
> 1. implement another configuration mode(file, registry, etc)
> 2. leave everything on web.config
> 3. ?????
>
> Any suggestions?
>
> Thanks in advance,
> Stefano Mostarda MCP
> Rome Italy



Relevant Pages

  • Re: Ini File vs Registry
    ... impossible to "incrementally" update an XML file. ... I'd rather see an abstract Registry API with application ... Any component accesses methods of the parser to update the DOM. ... The Registry is a transacted database and has an implicit backup hive. ...
    (microsoft.public.vc.mfc)
  • Re: Different Approaches to Saving settings: Which is better?
    ... Everything that affects the computer and belongs to that Registry, ... Everything that belongs to the application would in my opinion be set in the ... I need to have the properties of these windows to stay when the ... up so that it reads and writes from an xml file to handle all this. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Ini File vs Registry
    ... impossible to "incrementally" update an XML file. ... For component A of your app to reliably update its ... I'd rather see an abstract Registry API with application ... In the past, I did this, but Microsoft has made databases ...
    (microsoft.public.vc.mfc)
  • Re: An REG_SZ value contains binary (garbage?) in W2k3 Server registry
    ... "David F" wrote: ... I saved the HKLM as an XML file and extract the relevant item and saved ... the MSDTC (part of the problematic key) ... when I look into the registry with regedt32 I see the same gibberish. ...
    (microsoft.public.win2000.registry)
  • Re: Ini File vs Registry
    ... impossible to "incrementally" update an XML file. ... I'd rather see an abstract Registry API with application hives than have to ... It also means there is a fair amount of complexity to deal with the state you *don't* ... Given a choice, I'd use a database, but I'm not given that as a practical choice. ...
    (microsoft.public.vc.mfc)