C# App Config


Author: Dave
Date: 01.17.13 - 4:44am



Here is a quick code sample on an easy way to save and load application config settings using C# structure serialization. This is the same technique I used for VB6 and it strikes me as way better than the built in MS ConfigurationManager and xml app.config bullshit MS would have you use.

Couple nice things is that its trivial to include encryption (included in sample), and when you expand your config object structure, it does not wack previously saved config files (unless you were to try to reorder your structure which there is no reason for)

You can download sample code here




Comments: (0)

 
Leave Comment:
Name:
Email: (not shown)
Message: (Required)
Math Question: 19 + 43 = ? followed by the letter: R 



About Me
More Blogs
Main Site
Posts: (All)
2020 ( 2 )
2019 ( 5 )
2018 ( 6 )
2017 ( 6 )
2016 ( 22 )
2015 ( 16 )
2014 ( 25 )
2013 (4)
     MS GLEE Graphing
     printf for VB6
     C# App Config
     Tero DES C# Test
2012 (10)
     VC 2008 Bit Fields
     Speed trap
     C# Db Class Generator
     VB6 vrs .NET (again)
     FireFox Whois Extension
     git and vb6
     Code Additions
     Compiled date to string
     C# ListView Sorter
     VB6 Wish List
2011 ( 7 )
2010 ( 11 )
2009 ( 3 )