Re: Best format for configuration file?
From: Joe Mayo [C# MVP] (jmayo_at_nospamAtCSharpDashStation.com)
Date: 02/06/04
- Next message: Antenna: "Re: Best format for configuration file?"
- Previous message: discussion_at_discussion.microsoft.com: "Re: MS C# standards strategy"
- In reply to: Jimbo: "Best format for configuration file?"
- Next in thread: Antenna: "Re: Best format for configuration file?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 6 Feb 2004 06:47:52 -0700
"Jimbo" <None> wrote in message
news:OhO0%23YL7DHA.1852@TK2MSFTNGP10.phx.gbl...
> What's the best format to save a configuration file?
> I'm currently using an INI extension and I write it like a normal ascii
> file. Is this the best way? I've heard of using XML to create a config
file.
> What would be the best format?
Hi Jimbo,
I recommend XML. Look for configuration file information in the docs. In
VS.NET, you can add a file named "app.config" to your application and work
with it in the IDE. When you compile, this file will be copied to your
output directory, where your dll is, and be renamed to <put your application
name here>.exe.config.
Joe
-- http://www.csharp-station.com
- Next message: Antenna: "Re: Best format for configuration file?"
- Previous message: discussion_at_discussion.microsoft.com: "Re: MS C# standards strategy"
- In reply to: Jimbo: "Best format for configuration file?"
- Next in thread: Antenna: "Re: Best format for configuration file?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|