OutWit.Common.Forms.MessagePack
1.0.0
dotnet add package OutWit.Common.Forms.MessagePack --version 1.0.0
NuGet\Install-Package OutWit.Common.Forms.MessagePack -Version 1.0.0
<PackageReference Include="OutWit.Common.Forms.MessagePack" Version="1.0.0" />
<PackageVersion Include="OutWit.Common.Forms.MessagePack" Version="1.0.0" />
<PackageReference Include="OutWit.Common.Forms.MessagePack" />
paket add OutWit.Common.Forms.MessagePack --version 1.0.0
#r "nuget: OutWit.Common.Forms.MessagePack, 1.0.0"
#:package OutWit.Common.Forms.MessagePack@1.0.0
#addin nuget:?package=OutWit.Common.Forms.MessagePack&version=1.0.0
#tool nuget:?package=OutWit.Common.Forms.MessagePack&version=1.0.0
OutWit.Common.Forms.MessagePack
Carries OutWit.Common.Forms on a MessagePack wire.
The form model is described once, for MemoryPack, because that is what WitRPC speaks without being asked — and it carries no other serialiser's attributes on purpose. A product standardised on MessagePack adds this package and calls it once:
FormsMessagePack.Register();
After that, FormSchema, FormValues and everything they are made of travel through that product's
own entry points — ToMessagePackBytes, MessagePackClone — with no attribute added to the model.
Why a package and not one line
Registering ContractlessStandardResolver globally does the same job and loosens the whole
application: after it, every unattributed type becomes serialisable, so a model of your own that
has lost its [MessagePackObject] stops failing and quietly starts travelling in a different shape.
This registers a resolver scoped to the form model's assembly. Everything else is serialised exactly as it was, and a foreign unattributed type is still refused.
Why not hand-written formatters
A formatter per type is a second description of the model, kept by hand, which goes out of step the first time a field is added. The resolver delegates to contractless for its own types and is four lines long.
The cost is a slightly larger payload — member names rather than numbers — and a schema is sent once per form.
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- OutWit.Common.Forms (>= 1.2.0)
- OutWit.Common.MessagePack (>= 1.2.5)
-
net8.0
- OutWit.Common.Forms (>= 1.2.0)
- OutWit.Common.MessagePack (>= 1.2.5)
-
net9.0
- OutWit.Common.Forms (>= 1.2.0)
- OutWit.Common.MessagePack (>= 1.2.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 54 | 9/9/2026 |