HuLib — Overview

Tools & libraries for quicker, cleaner and more robust software development.

HuLib is a comprehensive C# library to facilitate quicker development and more robust applications. It assists by providing ready to use functionality that is common for custom Sage 300 applications.
But it's not just for Sage 300, HuLib has facilities for common operations like reading/writing to Excel files and SQL data binding.

We use HuLib internally, and now you can too!

Benefits:

  • Quicker development times
  • Shorter code for the same tasks
  • Code robustness (replacing custom implementation code with well used library functionality)
  • Code readability (especially in the case of Sage 300 code)
  • Tools to generate code for you
  • Frequent updates to enhance functionality

Library Coverage

Sage 300
  • Connection managing
  • View management, abstraction
  • Instant opt field mapping -> Dictionary
  • Binding view data to a model or collection of model objects directly
  • Custom WPF finder that works as other WPF controls but looks and acts like the Sage 300 finder

CSV
  • Easy to write / read wrapper, no manual File IO and quick read / write times
  • Ability to map data to a model or collection of models directly via data annotations

Excel
  • Easy to write / read wrappers, no manual File IO and quick read / write times
  • Much more performant when using our BufferedExcelReader / Writer
  • Ability to map data to a model or collection of models directly via data annotations

SQL
  • Simplified connection creation
  • Ability to map query results to a model or collection of models directly via data annotations

WPF
  • File picker
  • Common Relay Command Implementation for MVVM
  • EncryptedTextBox control that allows you to bind to an EncryptedString (from this library)

File Saving
  • EncryptedString class stores a string in an encrypted format until its value is used
  • Multiple mechanisms for saving xml data, support for encrypting/decrypting the data that is being saved via EncryptedString

Tools
  • Convert Sage 300 vb6 macros to C# HuLib compatible code
  • Generate classes for json objects
  • Custom Sage 300 View Info
  • Create model with data annotations based on CSV file

Check out our developer blog for code snippets and the latest functionality, written by the HuLib creator himself!
HuLib Blog