Click here to Skip to main content
6,634,665 members and growing! (16,719 online)
Email Password   helpLost your password?
Languages » C# » General     Intermediate License: The Code Project Open License (CPOL)

Zeta .NET Base Libraries

By Uwe Keim

A small set of general-purpose classes for using in .NET applications
C#, VC7.1.NET 1.1, .NET 2.0, Win2K, WinXP, Win2003, VistaVS.NET2003, Dev
Posted:22 Oct 2005
Updated:30 Mar 2007
Views:54,803
Bookmarked:123 times
Announcements
Loading...
 
Search    
Advanced Search
Add to IE Search
printPrint   add Share
      Discuss Discuss   Broken Article?Report  
39 votes for this article.
Popularity: 6.98 Rating: 4.39 out of 5
5 votes, 12.8%
1

2

3
5 votes, 12.8%
4
29 votes, 74.4%
5

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


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:

Zeta Test - Integrated test management environment.
Zeta Producer - Intuitive Content Management System (CMS) for Windows.
Zeta Uploader - Easily send large files by e-mail.

Occupation: Software Developer
Company: zeta software GmbH
Location: Germany Germany

Other popular C# articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 25 of 34 (Total in Forum: 34) (Refresh)FirstPrevNext
GeneralAbout to host on Google Code and CodePlex PinsitebuilderUwe Keim10:28 19 Jul '09  
GeneralHost It Somewhere Please! Pinmemberlextm23:55 22 Feb '08  
GeneralRe: Host It Somewhere Please! PinsitebuilderUwe Keim0:38 23 Feb '08  
GeneralRe: Host It Somewhere Please! Pinmemberlextm1:56 23 Feb '08  
GeneralRe: Host It Somewhere Please! PinsitebuilderUwe Keim10:23 19 Jul '09  
GeneralGreat! Pinmemberadrianmarinescu5:30 16 Sep '07  
GeneralRe: Great! PinsitebuilderUwe Keim6:31 16 Sep '07  
GeneralRe: Great! Pinmemberadrianmarinescu6:42 16 Sep '07  
GeneralRe: Great! PinsitebuilderUwe Keim6:45 16 Sep '07  
GeneralRe: Great! Pinmemberadrianmarinescu17:07 20 Mar '08  
GeneralRe: Great! PinsitebuilderUwe Keim22:01 20 Mar '08  
GeneralThanks Pinmembertranbagu17:32 1 Aug '07  
GeneralGreat Code Pinmembercoolboyx10:34 10 Jul '07  
GeneralRe: Great Code PinsitebuilderUwe Keim10:39 10 Jul '07  
GeneralProblem building zeta library core PinmemberRichard Guion19:06 31 Mar '07  
GeneralRe: Problem building zeta library core PinsitebuilderUwe Keim21:07 31 Mar '07  
GeneralRe: Problem building zeta library core PinmemberRichard Guion7:50 4 Apr '07  
GeneralNice PinmemberFZelle2:15 31 Mar '07  
JokeRe: Nice PinsitebuilderUwe Keim2:35 31 Mar '07  
GeneralToo good Pinmemberbhaskar_priya23:46 30 Mar '07  
GeneralRe: Too good PinsitebuilderUwe Keim23:51 30 Mar '07  
GeneralExcellent - wish I could give a 5 again. PinmemberGrav-Vt14:50 30 Mar '07  
GeneralRe: Excellent - wish I could give a 5 again. PinsitebuilderUwe Keim22:23 30 Mar '07  
GeneralIndeterminate state to checked state PinmemberLaurent Muller23:44 30 Oct '06  
GeneralRe: Indeterminate state to checked state PinsitebuilderUwe Keim0:58 8 Nov '06  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 30 Mar 2007
Editor: Deeksha Shenoy
Copyright 2005 by Uwe Keim
Everything else Copyright © CodeProject, 1999-2009
Web22 | Advertise on the Code Project