ZBRA.MessageTrace.Contracts 1.6.3

Prefix Reserved
dotnet add package ZBRA.MessageTrace.Contracts --version 1.6.3
                    
NuGet\Install-Package ZBRA.MessageTrace.Contracts -Version 1.6.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ZBRA.MessageTrace.Contracts" Version="1.6.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ZBRA.MessageTrace.Contracts" Version="1.6.3" />
                    
Directory.Packages.props
<PackageReference Include="ZBRA.MessageTrace.Contracts" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ZBRA.MessageTrace.Contracts --version 1.6.3
                    
#r "nuget: ZBRA.MessageTrace.Contracts, 1.6.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ZBRA.MessageTrace.Contracts@1.6.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ZBRA.MessageTrace.Contracts&version=1.6.3
                    
Install as a Cake Addin
#tool nuget:?package=ZBRA.MessageTrace.Contracts&version=1.6.3
                    
Install as a Cake Tool

ZBRA.MessageTrace.Contracts

The wire contract shared by the ZBRA MessageTrace client libraries and collector: MessageEvent, MetricEvent, ProfilingEvent and the JSON settings that define how they are serialized.

You normally do not install this package directly — ZBRA.MessageTrace.Client.AspNetCore brings it in. Reference it on its own when you write your own producer or consumer of the MessageTrace ingest API.

using ZBRA.MessageTrace.Contracts;

using var http = new HttpClient { BaseAddress = new Uri("https://trace.example.com/") };
http.DefaultRequestHeaders.Add("x-apikey", apiKey);

var json = JsonSerializer.Serialize(events, MessageTraceJson.Options);
await http.PostAsync("api/v1/messages/batch", new StringContent(json, Encoding.UTF8, "application/json"));

A batch holds at most 1 000 entries by default; a larger one is refused with 400. A key bound to a service is refused with 403 for events in any other ServiceName.

Targets netstandard2.0, so it works on .NET Framework 4.6.2+, .NET Core 2.1+, .NET 5+ and Mono. It references System.Text.Json 8.0.6; on net6 that replaces the in-box 6.0.

Licensed under the Apache License 2.0. The Developer Integration Guide delivered with MessageTrace covers the client end to end. Support: message-trace@zbra.dev (best effort, no SLA).

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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 was computed.  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 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on ZBRA.MessageTrace.Contracts:

Package Downloads
ZBRA.MessageTrace.Client.AspNetCore

ASP.NET Core instrumentation for ZBRA MessageTrace: traces inbound requests, outbound HttpClient and SOAP calls, and method-level profiling, then batches them to a MessageTrace collector.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.6.3 99 10/8/2026