Click here to Skip to main content
Licence CPOL
First Posted 22 Oct 2005
Views 77,406
Downloads 1,388
Bookmarked 139 times

Zeta .NET Base Libraries

By | 30 Mar 2007 | Article
A small set of general-purpose classes for using in .NET applications

Image: Folder structure of the library.

(For the latest changes, see the history section below.)

Introduction

In my zeta HelpDesk article, I've used a library I developed for our internal projects and customer projects to use as a slim thin base library. This article quickly introduces that library.

Originally I did not intend to provide the source or to provide an article at all about this library, but since nice people asked me to do so, here it is.

The library exists and is constantly enhanced since approximately 3 years. Therefore you can expect it to be rather stable and hopefully rather bug-free. But because of the fact that I never planned to release the library and that the library is mostly used by myself only (few exceptions), probably the design and documentation (through comments, only) isn't as good as it could be.

Goals of this Article and the Library

Probably you don't find any usage for all of the functions of the library. But maybe the one or the other class is something you looked for in the past. If this is true for you, you could either use the whole library with the DLL files, or you could extract the source code and compile it with your own projects.

Background

The library requires the .NET Framework 1.1 to be installed. It also runs on the .NET Framework 2.0 (any beta/RC versions) on my test systems.

The library consists of three parts:

  • "Core": Classes and functions that can be used from within Windows Forms applications, console applications and Web applications.
  • "Windows": Classes and functions that are intended to be used from within Windows Forms applications. This library uses the "Core" library.
  • "Web": Classes and functions that are intended to be used from within Web applications. This library uses the "Core" library.

The library uses the following third party libraries which are included as binaries (DLLs):

The Code

In this first article, please excuse that I don't provide any deep information about the library. I wrote this first version of the article mainly to respond to the requests in the zeta HelpDesk article.

Therefore, for now please see the following three screenshots from Lutz Roeder's Reflector for the classes of the library.

Image: "Core" library classes.

Image: "Web" library classes.

Image: "Windows" library classes.

Annotation for the "Core" library: When .NET 2.0 is released, I plan to rewrite the classes inside the "ZetaLib.Core.Data" namespace by using Generics in order to dramatically reduce the amount of duplicated code (e.g. the AdoNetOleDBHelper class and the AdoNetSqlHelper class have lot of duplicate code which could be reduced by the use of Generics).

Using the Code

To get working examples of how to use the library, for now please refer to the zeta HelpDesk article. The zeta HelpDesk applications makes heavy use of the ZetaLibNet libraries.

History

  • 2007-03-30
    • Added several minor features/classes/functions
    • Did some minor refactoring
    • Started commenting using GhostDoc
    • Started optimizing using FxCop
  • 2006-10-26
    • Maintenance release
  • 2006-07-07
    • The most notable additions are two Windows Forms controls that allow for tree views and list views with tri-state check boxes ("checked", "unchecked" and "indeterminate") beside the items:

      Image: Tree view control with checkboxes with three states.

      Image: List view control with checkboxes with three states.
  • 2006-03-31
    • Some minor enhancements and fixes
    • Nothing special, just the newest version
  • 2005-10-22
    • First release of the article

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Uwe Keim

Chief Technology Officer
Zeta Producer Desktop CMS
Germany Germany

Member

Uwe does programming since 1989 with experiences in Assembler, C++, MFC and lots of web- and database stuff and now uses ASP.NET and C# extensively, too. He is also teached programming to students at the local university.
 
In his free time, he does climbing, running and mountain biking. You can watch him most of the day (and probably night) programming.
 
Some cool, free software from us:
 
Free Test Management Software - Intuitive, competitive, Test Plans. Download now!  
Homepage erstellen - Intuitive, very easy to use. Download now!  
Send large Files online for free by Email
Some random fun stuff in German


Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralAbout to host on Google Code and CodePlex PinsitebuilderUwe Keim9:28 19 Jul '09  
GeneralHost It Somewhere Please! Pinmemberlextm22:55 22 Feb '08  
GeneralRe: Host It Somewhere Please! PinsitebuilderUwe Keim23:38 22 Feb '08  
GeneralRe: Host It Somewhere Please! Pinmemberlextm0:56 23 Feb '08  
GeneralRe: Host It Somewhere Please! PinsitebuilderUwe Keim9:23 19 Jul '09  
GeneralGreat! Pinmemberadrianmarinescu4:30 16 Sep '07  
GeneralRe: Great! PinsitebuilderUwe Keim5:31 16 Sep '07  
GeneralRe: Great! Pinmemberadrianmarinescu5:42 16 Sep '07  
GeneralRe: Great! PinsitebuilderUwe Keim5:45 16 Sep '07  
GeneralRe: Great! Pinmemberadrianmarinescu16:07 20 Mar '08  
GeneralRe: Great! PinsitebuilderUwe Keim21:01 20 Mar '08  
GeneralThanks Pinmembertranbagu16:32 1 Aug '07  
GeneralGreat Code Pinmembercoolboyx9:34 10 Jul '07  
GeneralRe: Great Code PinsitebuilderUwe Keim9:39 10 Jul '07  
GeneralProblem building zeta library core PinmemberRichard Guion18:06 31 Mar '07  
GeneralRe: Problem building zeta library core PinsitebuilderUwe Keim20:07 31 Mar '07  
GeneralRe: Problem building zeta library core PinmemberRichard Guion6:50 4 Apr '07  
GeneralNice PinmemberFZelle1:15 31 Mar '07  
JokeRe: Nice PinsitebuilderUwe Keim1:35 31 Mar '07  
GeneralToo good Pinmemberbhaskar_priya22:46 30 Mar '07  
GeneralRe: Too good PinsitebuilderUwe Keim22:51 30 Mar '07  
GeneralExcellent - wish I could give a 5 again. PinmemberGrav-Vt13:50 30 Mar '07  
GeneralRe: Excellent - wish I could give a 5 again. PinsitebuilderUwe Keim21:23 30 Mar '07  
GeneralIndeterminate state to checked state PinmemberLaurent Muller22:44 30 Oct '06  
GeneralRe: Indeterminate state to checked state PinsitebuilderUwe Keim23:58 7 Nov '06  
Thanks, I've included this now, I will upload it with the next release.
 
--
Try our Windows-based CMS: www.zeta-producer.com
Try our ticket helpdesk system: www.zeta-helpdesk.com
See me working: www.magerquark.com

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web04 | 2.5.120529.1 | Last Updated 30 Mar 2007
Article Copyright 2005 by Uwe Keim
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid