Sunday, October 02, 2005 11:43 AM
DmitryR
SCDL - Simple Tool to Generate Config Sections for ASP.NET 2.0
SCDL is a simple tool to generate source code of the classes for config sections' definitions for ASP.NET v2.0.
SCDL stands for Simple Config Definition Language
A config section defined in SCDL is just a fragement of a config file containing the section with all attributes set to their default values. SCDL auto recognizes string, boolean, integer, timespan attributes, [one-level deep] collections (assuming the first attribute in the collection element is the key) and [one-level deep] sub-elements. The tool generates all the config classes needed to define the section. It uses CodeDom and thus it can generate sources in any CodeDom langauge including C# and VB.NET.
The tool can be extended to support more complex config constructs and more explicit attribute definitions (with type declararions, validation, etc.).
The package contains the tool, its source, sample files and instructions. SCDL version 1.1 is now available.