Wednesday, April 13, 2011

C# Common Library.

Hello and thanks for any assistance.

I'm hoping to find an open source .net common library, but I'm having a hard time finding one.

What I'm looking for a is something that contains : Logging, Caching, String Manipulation, Config Reading, ext?!?.

Do you know if anything like this exists or is this more likely something that I will need to create myself?

Thanks.

From stackoverflow
  • Use Microsoft Enterprise Application Blocks

    Get it from here

    http://msdn.microsoft.com/en-us/library/cc467894.aspx

    Source code here

    http://www.codeplex.com/entlib

    casperOne : String manipilation is in the Regex classes, and the String class, but all the rest is definitely in the application blocks.
  • All that is built into the framework, so all you really need is mono.

    davogones : Logging and caching are not built into the framework. And what does mono have to do with the question?
    Joel Coehoorn : Take a look at the Trace class as the support for writing to the windows event log. For caching, there are classes available to persist dictionary values. You asked about open source, hence mono: the open source .Net implementation.
  • Kev:

    Just a bit more elaboration, I've spent quite a bit of time trying to reuse code from other frameworks: Here is a breakdown based on feature sets:

    Infrastructures frameworks( config, logging, caching, etc)

    1. SpringFramework.NET - ( Port of the popular Java SpringFramework )

    2. Microsoft Enterprise Library - Microsoft "answer" to SpringFramework.

    Frameworks providing ActiveRecord or Ioc(Inversion Of Control) or Code generation:

    1. Castle Project http://www.castleproject.org/index.html

    2. SubSonic http://subsonicproject.com/

    3. NetTiers http://nettiers.com

    Finally, you may find many other smaller libraries, frameworks on CodePlex.com Some that are of note:

    1. CommonLibrary.NET http://commonlibrarynet.codeplex.com/

    2. DotNet Commons http://dotnetcommons.codeplex.com/

  • Logging - have a look at Log4net

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.