Skip to content

me-viper/OpaDotNet

Repository files navigation

CI Coverage Status

Open Policy Agent (OPA) dotnet core SDK

This is SDK for using WebAssembly (wasm) compiled Open Policy Agent policies with dotnet core.

For more information check out the guide.

Key Features

NuGet Packages

Official Preview
OpaDotNet.Wasm NuGet Nuget
OpaDotNet.Extensions.AspNetCore NuGet Nuget
OpaDotNet.Compilation.Cli NuGet NuGet
OpaDotNet.Compilation.Interop NuGet Nuget

Getting started

3rd Party Libraries and Contributions

  • OPA - An open source, general-purpose policy engine that unifies policy enforcement across the stack.
  • Moq - The most popular and friendly mocking library for .NET.
  • xUnit.net - Free, open source, community-focused unit testing tool for the .NET Framework.
  • wasmtime-dotnet - .NET embedding of Wasmtime.
  • IPNetwork2 - Utility classes take care of complex network, IPv4, IPv6, CIDR calculation for .NET developers.
  • BenchmarkDotNet - Powerful .NET library for benchmarking.
  • Semver - Implementation in .Net based on the v2.0.0 of the spec.
  • json-everything - Set of libraries that ensure that common JSON functionality has good support in the System.Text.Json space.
  • YamlDotNet - YamlDotNet is a YAML library for netstandard and other .NET runtimes.
  • OPA SDK - High-level API for embedding OPA inside of Go programs.
  • .NEXT - Powerful libraries aimed to improve development productivity and extend .NET API with unique features.