Skip to content

FacilityApi/FacilityCSharp

Repository files navigation

Facility C# Support

C# support for the Facility API Framework.

Build

Name Description NuGet
Facility.Core A library for consuming/implementing Facility APIs. NuGet
Facility.Core.Assertions FluentAssertions extensions for Facility unit tests. NuGet
Facility.Core.MessagePack MesssagePack support for Facility. NuGet
fsdgencsharp A tool that generates C# for a Facility Service Definition. NuGet
Facility.CodeGen.CSharp A library that generates C# for a Facility Service Definition. NuGet
FacilityConformance A tool that checks Facility conformance. NuGet
Facility.ConformanceApi A .NET client for the standard Facility test server. NuGet

Documentation | Release Notes | Contributing

Conformance

To run conformance tests, first start the conformance server:

dotnet run --project .\src\FacilityConformance --framework net6.0 -- host

Then run the conformance tool against the running service.

dotnet run --project .\src\FacilityConformance --framework net6.0 -- test

The System.Text.Json serializer is used by default. To use Json.NET or MessagePack, run with --serializer newtonsoftjson or --serializer messagepack.