To view parent comment, click here.
To read all comments associated with this story, please click here.
Look at *anything* in all of system.configuration. There are a few hundred classes, all of which have to do with app.config and user.config, not the registry
http://msdn.microsoft.com/en-us/library/system.configuration.aspx
a google of "configuration .net" would have led you to about 37 million pages all talking about it, again, nothing to do with the registry
http://www.google.ca/search?hl=en&rlz=1C1GGLS_enCA309CA309&sa=X&oi=...
If you don't want to wade through millions of blog posts, here is a pretty good tutorial on codeproject, complete with examples on how to use the configuration api. Again, nothing to do with the registry
http://www.codeproject.com/KB/cs/SystemConfiguration.aspx
These links do not state that app.config and user.config are meant replace storage of configuration that is handled by the registry in .Net applications.
I have posted in this thread about those APIs and are nothing new to me. What you still haven't proven is that MS expects .Net developers to use these classes and not the registry! Get it?
-Ad
This is null and void on a few levels:
Great, except this has absolutely nothing to do with configuration of the application. It is about persistable settings and data that needs to be read and written by the application in a reasonably fluid way (short of using a database). App.config does not fit this use case and Microsoft will disown you if you try. If you'd read any of those pages you would have found that out.
You keep writing 'nothing to do with the registry' as if that will somehow magicallymake every .Net application ported to Mono Ok, but it doesn't as has been consistently pointed out in this thread, explain why Mono has had to engineer registry support in if .Net applications have 'nothing to do with the registry'. The above use case that I have described, I would hazard a very good guess, is exactly why.





Member since:
2005-07-07
Then both of you noobs are welcome to point out to segedunum and me with links from MS documentation, that what you claim is the new way of doing things.
-Ad