DNSAgent
DNSAgent copied to clipboard
Test and validate configuration files at startup
Like some Unix software, it would be nice to have some preventive "checks" on configuration files at startup or before restarting DNSAgent when running as a service to prevent errors...
you could patch in https://github.com/JamesNK/Newtonsoft.Json and do something like http://stackoverflow.com/questions/14977848/how-to-make-sure-that-string-is-valid-json-using-json-net or use the 4.5 stuff that is also listed in that answer. Another alternative would be to have a rough cascade of regexp that could catch obvious mismatched pairs et cetera.