HmxLabs.Core 0.1.0

dotnet add package HmxLabs.Core --version 0.1.0
NuGet\Install-Package HmxLabs.Core -Version 0.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="HmxLabs.Core" Version="0.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HmxLabs.Core --version 0.1.0
#r "nuget: HmxLabs.Core, 0.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install HmxLabs.Core as a Cake Addin
#addin nuget:?package=HmxLabs.Core&version=0.1.0

// Install HmxLabs.Core as a Cake Tool
#tool nuget:?package=HmxLabs.Core&version=0.1.0

HMx Core

HMx Core consists of a range of utility code that we have found to be useful in the past across a number of different internal projects or client engagements. Although only open sourced in 2018 much of the code is considerably older. As such there are things in here that have been superseded by either updates to the .NET framework itself (such as much of the threading code since the advent of the TPL) or common adoption of other open source libraries.

Having said all that, we still find it useful. Broadly it consists of the following:

  • Config
    • Config utilities. This is particularly useful if targeting .NET Core or Mono to run on Linux and wanting to use linux style (Key=value) configuration files to keep things consistent with other parts of your system on Linux
  • DateTime
    • Date/Time utility functions and a common interface for providing the time (necessary for making any kind of time based code testable).
  • HTML
    • A parser for Dreamweaver template markup
  • IO
    • Some utility file and directory functions
    • A parser for the Dropbox info file to locate the Dropbox folder on a user’s machine
  • Log
    • A common logging façade and some very simple implementations. We use this however because its written with a mind to be able to write tests that also check for the presence or absence of certain types of logging. Yes, we’re that OCD about our tests sometimes. As such there is “in memory” logger implementation which makes little sense from a production use perspective but is handy for testing. For real production use you’d likely want a log4Net implementation.
  • Net
    • Some email code which is largely just wrappers and standardised config and utility methods over the .NET framework
    • Socket/TCP code that handles things like framing the data over the wire (length prefix protocol provided, other protocols can be used), keep alive messages and dropped connection detection.
  • Serialization
    • Serialization code to help provide standardised serialization interfaces. Again, this is also written with a view to make code more testable too.
  • Threading
    • Mostly just implementations of the IAsyncResult interface that also deal with processing the work on another thread. As mentioned above though this is largely superseded by the TPL at this point and probably shouldn’t be used.


Much of the code is documented inline and the XML documentation files are included as part of the downloads. We are looking into hosting MSDN style documentation online but this is not yet available.

There is a decent amount of test coverage which in some regards can also serve as example code too.


All versions are available either packaged as a NuGet package from NuGet or as a zip artefact from the HMx Labs website


HMx Labs Core is Open Source software and is licensed under an MIT style license. This allows use in both free and commercial applications without restriction. The complete licence text is available on the HMx Labs website or here

Contributing, Bug Reports and Support

If you’ve found a bug or thought of a new feature that would be useful feel free to either implement it and raise a pull request for us or if you’d like us to take a look then just get in touch.

Support is provided very much on a best effort only basis and by electronic means (emails, pull requests, bug reports etc) only.

Unless you’re a client of HMx Labs of course, in which case just give us a call!

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on HmxLabs.Core:

Package Downloads

Testing extensions used by test code for multiple HMx Labs projects

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.0 962 9/12/2018 983 7/4/2017
0.0.1 1,048 7/4/2017