Class From Config for C#.NET

Table of Contents [Hide/Show]


Edit

About



ClassFromConfig is code generation utility that creates a static class from your Web.config or App.config.

It generates a static C# class with static properties initialised from appSettings and connectionStrings configuration sections. It also generates Custom Configuration Sections from your config.

It's a console application written in C#.NET 2.0.

Edit

Features

  • Generates C# class
  • Custom namespace and class name
  • Type recognition (boolean, integer, decimal, date/time, array)
  • Generates Custom Configuration Section classes from config data.
  • Works with any non-alphanumeric key names (e.g. "Prefix:Key")
  • Integrates into Visual Studio
  • Open-source (LGPL), written in C#/.NET 2.0

Edit

Project Home

As of 13 of March 2010 the project is hosted on http://code.google.com/p/classfromconfig.

New releases, source code, documentation, issue tracker etc. are available there.

Edit

Download

Lastest releases can be downloaded from http://code.google.com/p/classfromconfig/downloads/list

Edit

Documentation

Documentation can be found here