/sterling-net-core

This is a port of the Sterling Open Source NoSQL database to .NET Standard 2.0.

Primary LanguageC#MIT LicenseMIT

Sterling Database (Port to .NET Core 2.0)

This is a port of the Sterling Open Source NoSQL Database.

Read the related blog post: .NET Core 20 is Ready and Sterling Proves It!

NOTE: Sterling is not currently intended for production use. It was ported to demonstrate what's new in .NET Core 2.0 and the increased surface area of the .NET Standard 2.0 APIs.

The engine uses the following features that did not exist in .NET Core 1.0:

  • BackgroundWorker to save lists on a separate thread
  • Type methods including:
    • IsAssignableFrom
    • IsEnum
  • Reflection, including properties and fields
  • Binary reader and writer
  • Memory stream

Quickstart (works on any platform)

You must have .NET Core 2.0 installed.

Clone the repository:

https://github.com/JeremyLikness/sterling-net-core.git

Navigate to the test directory:

cd sterling-net-core/sterling-console-test

Build the project:

dotnet build -c Release

There is not a NuGet package for the Sterling .NET Core database as of this writing. Instead, the test project has a relative path reference to the sterling-core source.

Navigate to the build directory:

cd bin/Release/netcoreapp2.0/

Run the test:

dotnet sterling-console-test.dll

You're in business!