PC Review


Reply
Thread Tools Rate Thread

ConfigFile - read an write - How?

 
 
Joan Bos
Guest
Posts: n/a
 
      28th Feb 2005
Hi,

Is there somewhere on the Internet a description of what a .NET
application config file should contain?

For our application, I have to write passwords encrypted in a config
file. The Enterprise Library does have an encryption method, but that
method doesn't just return a value - no - it wants to write the value
immediately to a config file. Except, it always gives an error, because
no config file contents are ever good enough for it.
The same goes for the ConfigurationManager.WriteConfiguration function;
whatever the config file contents, it always seems to give an error. Its
2nd parameter is described as "configValue: The configuration value to
store", so whatever object you insert there; it always gives an error.

In the book "Professional C#" Robinson, Cornes, Glynn, etc. describe a
certain config tool, but (1) that tool is completely different in my XP
and (2) it doesn't do what they say it should do.

If Microsoft wants us to use their XML config file concept, then, why,
why, why, don't they properly describe what the contents of such a file
should be and what it should look like.

The whole Developer Environment is stuffed with wizzards, so why isn't
there a "new-configuration-file-with-valid-contents-wizzard"?

Can anyone provide any help?

Joan

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write/read a ntw folder from a clickonce C# application where the user does not have permission to write/read on/from it jpf.wk@uol.com.br Microsoft Dot NET 1 26th Jul 2007 04:01 PM
Harddisks: Seek, Read, Write, Read, Write, Slow ? Skybuck Flying Windows XP Hardware 40 18th Jul 2004 05:38 PM
Harddisks: Seek, Read, Write, Read, Write, Slow ? Skybuck Flying Storage Devices 47 18th Jul 2004 05:38 PM
Re: Harddisks: Seek, Read, Write, Read, Write, Slow ? Folkert Rienstra Storage Devices 18 17th Jul 2004 10:35 AM
Re: Harddisks: Seek, Read, Write, Read, Write, Slow ? Folkert Rienstra Windows XP Hardware 16 17th Jul 2004 10:35 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:35 AM.