Shuttle.Core.Serialization 10.0.6

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
.NET Standard 2.0
There is a newer version of this package available.
See the version list below for details.
dotnet add package Shuttle.Core.Serialization --version 10.0.6
NuGet\Install-Package Shuttle.Core.Serialization -Version 10.0.6
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="Shuttle.Core.Serialization" Version="10.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Shuttle.Core.Serialization --version 10.0.6
#r "nuget: Shuttle.Core.Serialization, 10.0.6"
#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.
// Install Shuttle.Core.Serialization as a Cake Addin
#addin nuget:?package=Shuttle.Core.Serialization&version=10.0.6

// Install Shuttle.Core.Serialization as a Cake Tool
#tool nuget:?package=Shuttle.Core.Serialization&version=10.0.6


PM> Install-Package Shuttle.Core.Serialization

An implementation of the ISerializer interface is used to serialize objects into a Stream.

The DefaultSerializer makes use of the standard .NET xml serialization functionality.



Stream Serialize(object message);

Returns the message object as a Stream.


object Deserialize(Type type, Stream stream);

Deserializes the Stream into an obejct of the given type.


The ISerializerRootType interface is an optional interface that serializer implementations can use that allows the developer to specify explicit object types contained within a root type.

The DefaultSerializer implements this interface and it is recommended that you explicitly register types with the same name, but in different namespaes, that will be serialized within the same root type to avoid any conflicts later down the line.

For instance, the following two types will cause issues when used in the root Complex type as they both serialize to the same name and the .Net serializer cannot seem to distinguish the difference:

namespace Serializer.v1
	public class MovedEvent
		public string Where { get; set; } 

namespace Serializer.v2
	public class MovedEvent
		public string Where { get; set; } 

namespace Serializer
	public class Complex
		public v1.MovedEvent { get; set; }
		public v2.MovedEvent { get; set; }

By explicitly specifying the types the DefaultSerializer will add a namespace that will cause the types to be correctly identified.


void AddSerializerType(Type root, Type contained);

Specify the contained tpe that is used within te root type somewhere.

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. 
.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 is compatible. 
.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)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Shuttle.Core.Serialization:

Package Downloads
Shuttle.Esb The ID prefix of this package has been reserved for one of the owners of this package by

Contains the core Shuttle.Esb assembly that should always be referenced when building Shuttle.Esb solutions.

Shuttle.Recall The ID prefix of this package has been reserved for one of the owners of this package by

Event sourcing mechanism.

Shuttle.Core.Json The ID prefix of this package has been reserved for one of the owners of this package by

Json.Net implementation of the `ISerializer` interface.

Shuttle.Core.Mediator.OpenTelemetry The ID prefix of this package has been reserved for one of the owners of this package by

OpenTelemetry instrumentation for Shuttle.Core.Mediator implementations.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
10.0.7 5,480 12/1/2022
10.0.6 565 9/4/2022
10.0.5 43,481 11/27/2020
10.0.4 42,964 10/15/2018
10.0.3 24,177 10/13/2018
10.0.2 10,749 7/3/2018
10.0.1 1,650 4/8/2018
10.0.0 9,930 1/2/2018