How can I validate my config file on startup? RRS feed

  • Question

  • Say I have some assemblies that each define some custom configuration sections. From within those assemblies, do I have any option of ensuring that those sections are present and valid in the current configuration when an app or website starts up? The apps and sites consuming my libraries shouldn't have to know how to validate them, they should be self-sufficient (and I would like to know immediately rather than at runtime...)

    - Derek

    • Edited by tuespetre Friday, April 25, 2014 7:44 PM
    Friday, April 25, 2014 7:44 PM