본문 바로가기
Programming

CommonLibrary.NET

반응형
  • A collection of very reusable code and components in C# 4.0 ranging from ActiveRecord, Csv, Command Line Parsing, Configuration, Validation, Logging, Collections, Authentication, and much more.
    This is ideal for C# developer looking for a Utility library, Java developers looking for a C# version of Java Commons.

    Target Framework : .NET C# 4.0 for current version. 3.5 for prior versions
  • http://commonlibrarynet.codeplex.com/

0.9.4 - Improved API, Examples

  • Powering ASP.NET MVC CommonLibrary CMS
  • Improved ActiveRecord, Entities, Repository<T>
  • Bug fixes ( for several components including CSV Parser )
  • Documentation & More Examples ( Check the documentation tab above and also the downloadable .chm. )

0.9.3 - Namespace changes, simpler API

  • Args.Parse( "-env:QA -log:qa.log -sendEmail 100" )
  • Csv.Load( "stockdata.csv", true)
  • Config.Load( "prod.config,dev.config" )
  • Crypto.Decrypt("asdy720sj=")
  • Account - - Account Service for Users/Groups/Roles. (Differs from Asp.net Membership) .
  • ActiveRecord - Thin and simple ActiveRecord base class supporting CRUD/Find methods, no relationship support currently.
  • Application - Application base classes providing PROD, QA, DEV environment, config, logging, emailing, error handling support.
  • Arguments - Parses command line arguments e.g. ( -config:Prod -date:${today} DefaultSetting01 ) etc.
  • Authentication - An easy Authentication API for web & windows, wrapper on HttpContext.Current.User & Windows Prinicial.
  • BootStrapper - Run multiple tasks on startup and shutdown, and enable which ones can / can not fail, and/or run only a few
  • Build Scripts - NAnt scripts for ( clean, compile, version, labelingSourceControl, unittest, codecoverage, backup, deploy, config ).
  • Cache - Cache w/ default implementation using HttpRuntime. Can prefix keys &inspect/describe elements in cache.
  • Captcha - Service for generating Captcha images.
  • Calendar - Holidays/Calendar to get holidays or business days for different calendars ( U.S / England/ France ).
  • Category - Node based category/sub-category service
  • CodeGenerator - Auto-generate commonlibrary.net Entities, Validation, and Repositories. ( This is not a generic code generator ).
  • Collections - Contains all sorts of Dictionaries ( MultiValue, Bi-Directional, Ordered, DictionarySet ), Hybrid Enumerator and more
  • Config - Load & store config settings in database,ini and easily transfer to and from typed objects . Supports inheritance
  • Criteria - Create dynamic queries and supply to Find methods in your components. e.g. Criteria<Person>.Where( Name ).Is("kishore")
  • Crypto - Cryptographic services for encrypting, decrypting, hashing.
  • CSV - Service to parse Csv files. This a lexical parser which can handle un-quoted and quoteds lists.
  • Database - Database related helper classes ( DbQuery, DbExecute, DbHelper, RowMapping, etc )
  • Diagnostics - Service to extract all the files associated w/ your app, environment variables, processes etc.
  • EntityModel - Excellent support DDD, Persistant/Domain Entity / Model, Service, Validation, Repository, Settings
  • Email - Provides overloaded convenience methods for sending emails.
  • EntityManager - A generic management class for performing CRUD operations on ANY DomainEntity in the DomainModel above.
  • Environments - Service to provide selection of various environments ( Dev, Qa, Uat, Prod ) etc. Can specifies inheritance of configurations.
  • Feeds - Service to support RSS, Atom, Xml Serialization - Coming in 0.9.5
  • Exceptions - Exception / Error handler class.
  • ImportExport - Class implementation for making import / export functionality consistant across any entity.
  • IO - Supports for parsing an INI files ( with key values where the value can be multiple lines using double quotes.
  • IocContainer - Generic wrapper around any Inversion Of Control container to avoid hard references to SpringIoC, Unity, CastleWindsor.
  • Localization
  • Location - City, State, Country, search e.g. "Bronx, Ny" is parsed as city="Bronx", state="NY", country="USA"
  • Logging - Wrapper on top of Log4Net with some slightly different functionality.
  • Maps - Service to build urls for google/yahoo maps.
  • ModelManager - Create Domain Models for code generation.
  • Modules - Support for developing plugin
  • NamedQuery - Save and name sql queries for easy re-use. e.g. "Top 10 Recent Posts" = "select top 10 * from ..".
  • Notifications - Service related to generating / sending "New user welcome", "Remind Password", "Feedback" etc emails.
  • ORMLite - Very light weight ORM mapper - Coming in 0.9.5
  • Paging - Completely independent pager from DataGrids etc.
  • Persistence - Interface/base classes to support persistent objects. EntityPersistant, IEntityAuditable. etc.
  • Queue - Service for processing a queue. Currently supports InMemory non-persistent queues.
  • Reflection - Reflection helper methods.
  • Repository - Classes to persist entities to a data-store whether it's a database, or in-memory(for unit tests).
  • Security - Security related utility classes for Web based projects.
  • StatusUpdates - Used to update the status of tasks e.g. "DataLoad"-"Completed".
  • String - String utilities
  • Substitutions - Service to interpret values like ${today} ${username} ${tomorrrow} etc.
  • Scheduler - Schedule various task to run at periodic intervals. Supply callbacks on execute and on completion.
  • Tags - Service to tag items for easy searches. e.g. Just like in Blogs. - Coming in 0.9.5
  • Types - Parsers for various datatypes.
  • Utilities - Guard class, BoolMessage, and other small convenience methods.
  • Validation - A validation library similar to Enterprise library but with some key differences.
  • Web - Web based helper classes
  • Xml
반응형