.NET Standard 2.0 Client Library for CNAB
Branch: master
Clone or download
radu-matei Merge pull request #11 from radu-matei/param-validation
Add initial parameter validation
Latest commit 59b06f5 Feb 6, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
src
test Add more context for failing validation errors Feb 5, 2019
.gitignore Add examples program Jan 31, 2019
Cnab.sln Add test for Bundle.LoadUnsigned Feb 1, 2019
LICENSE Create LICENSE Jan 31, 2019
Makefile Add Makefile Jan 31, 2019
brigade.js Add brigade.js file for CI Feb 1, 2019
readme.md Fix async main and JSON indentation in sample Feb 1, 2019

readme.md

.NET Standard 2.0 Client Library for CNAB

Work in Progress library for working with Cloud Native Application Bundles in C#.

Usage

static async Task Main(string[] args)
{
    var bundle = await Bundle.LoadUnsignedAsync("bundles/thin-bundle.json");

    Console.WriteLine(
        JsonConvert.SerializeObject(bundle, Formatting.Indented));
}

Contributing

In order to contribute to this project, you need .NET Core SDK 2.2:

$ dotnet --version
2.2.103

$ dotnet build

$ cd examples && dotnet run
An example 'thin' helloworld Cloud-Native Application Bundle

If you want to contribute, any of the following is a great starting point:

  • adding unit tests
  • building invocation images
  • installing bundles
  • adding support for claims and signing.

The CNAB Specification and Duffle, the reference implementation are a great starting point. Also make sure to check Porter and Docker App.