ClassFromConfig is code generation utility that creates a static class from your Web.config or App.config. It privides an easy access to appSettings and connectionStrings, as well as Custom Configuration Sections.


http://wiki.webgear.co.nz/ClassFromConfig.ashx





Separate each tag with a space.

Features:

  • Creates wrapper for AppSettings
  • Creates wrapper for ConnectionStrings
  • Generates Custom Section classes from XML

Release Date:

2009-03-28

Topic:

Operating System:

License:

Translations:

Intended Audience:

User Interface:

Programming Language:

Registered:

2008-05-15

Ratings and Reviews

  • Thumbs up:

    2
  • Thumbs down:

    0
100% of 2 users recommend this project
  • Thumbs up

    It'll save you time when working with large appSettings section and when creating custom config sections

    posted by WebGear Ltd 109 days ago
    If you'd like to rate this review, please log in.
  • Thumbs down

    There is no documentation. Trying to get this, results in one around and around sourceforge in circles. I tried /? for help and when I used the /cs for custom sections there was nothing extra generated. Could be a great asset, but if you cannot find out how to use it and as the examples cannot be accessed its usefulness is greatly diminished. I got s simple class generated but nothing that good that I could not simply handle myself. Its the custom sections that I am particulary interested in and have been giving me grief.

    posted by anonymous 48 days ago
    If you'd like to rate this review, please log in.

View all reviews

Project Feed

  • Project Information Updated

    posted by mikhail-webgear 122 days ago

  • Tracker comment added

    mikhail-webgear commented on the XML Comment not recognised artifact

    posted by mikhail-webgear 128 days ago

  • Code committed

    mikhail-webgear committed revision 35 to the Class From Config for C#.NET SVN repository, changing 3 files

    posted by mikhail-webgear 128 days ago

  • ClassFromConfig v1.4.0 released!

    Finally a new version is ready! A lot of improvements have been made: - Rewritten the code generator engine to be more managable. - Added lost of tests. - Added "options file" support which enables to store ConfigFromClass settings in project .config. - Added ability to update config and register custom sections. - Added support for default collections - Added ability to exclude certain sections from being generated. - Added option to disable connectionString wrapper - Added option to disable appSettings wrapper - Added ability to load comments from config file as comments to the generated properties. - Generated properties will now have info in the comments about which key it corresponds to. It's recommended to upgrade any earlier versions to this version.

    posted by mikhail-webgear 284 days ago

  • ClassFromConfig v1.4.0 file released: ClassFromConfig_v1.4.0.zip

    - Rewritten the code generator engine to be more managable. - Added lost of tests. - Added "options file" support which enables to store ConfigFromClass settings in project .config. - Added ability to update config and register custom sections. - Added support for default collections - Added ability to exclude certain sections from being generated. - Added option to disable connectionString wrapper - Added option to disable appSettings wrapper - Added ability to load comments from config file as comments to the generated properties. - Generated properties will now have info in the comments about which key it corresponds to. - Misc bug fixes.

    posted 284 days ago

  • File released: /ClassFromConfig/v1.4.0/ClassFromConfig_v1.4.0.zip

    posted 284 days ago

  • Update

    Happy New Year! I will be releasing a new version very soon - with lots of improvmentes. Check "Tracker > Feature Requests" and "Tracker > Bugs" for details of what's to come.

    posted by mikhail-webgear 368 days ago

  • ClassFromConfig on DotNetPerls

    ClassFromConfig is now featured on DotNetPerls (http://dotnetperls.com/Content/Cache-Settings-ASPNET.aspx) Thanks, Sam!

    posted by mikhail-webgear 526 days ago

  • ClassFromConfig v1.3.1 file released: ClassFromConfig_v1.3.1.zip

    Release v1.3.1: - Added ability to load linked config files (via configSource attribute). - Node collection can now be any tag (not limited to "<add ...", can use "<item ...", etc.) - must be at least 2 in the config to recognise it as a collection. - Documentation and Source Code links changed to sourceforge.net

    posted 596 days ago

  • ClassFromConfig v1.3.1 Released!

    What's new: - Added ability to load linked config files (via configSource attribute). - Node collection can now be any tag (not limited to &quot;&lt;add ...&quot;, can use &quot;&lt;item ...&quot;, etc.) - must be at least 2 in the config to recognise it as a collection. Download it from http://sourceforge.net/project/showfiles.php?group_id=228115&amp;package_id=276238&amp;release_id=600756

    posted by mikhail-webgear 596 days ago

Rate and Review

Would you recommend this project?






<

Related Projects

Class From Config for C#.NET Actions

Thanks for your rating!

Would you also like to write a review?





Skip Review

Thanks for your review!

Get credit for your review by logging in via OpenID. Click your account provider:

No Thanks