Cuemon.Xml 6.2.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Cuemon.Xml --version 6.2.0                
NuGet\Install-Package Cuemon.Xml -Version 6.2.0                
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="Cuemon.Xml" Version="6.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cuemon.Xml --version 6.2.0                
#r "nuget: Cuemon.Xml, 6.2.0"                
#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 Cuemon.Xml as a Cake Addin
#addin nuget:?package=Cuemon.Xml&version=6.2.0

// Install Cuemon.Xml as a Cake Tool
#tool nuget:?package=Cuemon.Xml&version=6.2.0                

The Cuemon.Xml namespace contains types related to encoding, converting and serialization. The included lightweight XML serializer framework offers same flexibility as the one provided by the JSON equivalent from Newtonsoft. The namespace is an addition to both System.Xml- and System.Xml.Serialization namespaces.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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. 
.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 (2)

Showing the top 2 NuGet packages that depend on Cuemon.Xml:

Package Downloads
Cuemon.Extensions.Xml

The Cuemon.Extensions.Xml namespace contains extension methods that complements the Cuemon.Xml namespace while being an addition to the System.Xml namespace.

Cuemon.Core.App

Provides a convenient set of default API additions for building a .NET application.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
9.0.0 120 11/13/2024
9.0.0-rc.1 69 11/11/2024
9.0.0-preview.12 43 10/17/2024
9.0.0-preview.11 78 10/9/2024
9.0.0-preview.10 49 10/5/2024
9.0.0-preview.9 104 9/26/2024
9.0.0-preview.8 49 9/23/2024
9.0.0-preview.7 49 9/21/2024
9.0.0-preview.6 64 9/18/2024
9.0.0-preview.5 54 9/13/2024
9.0.0-preview.4 47 9/6/2024
9.0.0-preview.3 47 8/31/2024
9.0.0-preview.2 67 8/23/2024
9.0.0-preview.1 65 8/17/2024
8.3.2 227 8/4/2024
8.3.1 238 6/2/2024
8.3.0 348 4/9/2024
8.2.0 479 3/3/2024
8.1.0 568 2/10/2024
8.1.0-rc1 543 2/8/2024
8.1.0-preview.52 63 2/5/2024
8.1.0-preview.20 68 1/22/2024
8.1.0-preview 645 1/16/2024
8.0.1 727 1/11/2024
8.0.0 989 11/14/2023
8.0.0-rc2 836 11/13/2023
8.0.0-rc1 848 11/7/2023
8.0.0-preview.183 69 11/13/2023
8.0.0-preview.176 68 11/12/2023
8.0.0-preview.158 73 11/9/2023
7.1.0 2,407 12/11/2022
7.0.0 2,294 11/9/2022
7.0.0-rc.2 109 11/3/2022
7.0.0-rc.1 110 10/26/2022
7.0.0-alpha.2 98 10/16/2022
7.0.0-alpha.1 120 9/23/2022
7.0.0-alpha 1,445 7/12/2022
6.4.1 3,456 5/8/2022
6.4.0 3,034 1/24/2022
6.4.0-rc 1,697 1/23/2022
6.3.0 3,089 11/28/2021
6.2.0 3,151 5/30/2021
6.1.0 2,232 5/16/2021
6.0.1 2,183 5/3/2021
6.0.1-rc 1,662 5/3/2021
6.0.0 2,305 4/18/2021
6.0.0-rc.23 163 4/18/2021
6.0.0-rc.21 139 4/12/2021
6.0.0-rc.20 151 4/1/2021
6.0.0-rc.18 235 3/22/2021
6.0.0-rc.17 143 3/14/2021
6.0.0-rc.16 171 3/7/2021
6.0.0-rc.15 162 3/4/2021
6.0.0-rc.14 182 3/4/2021
6.0.0-rc.12 211 3/3/2021
6.0.0-rc.6 163 2/28/2021
6.0.0-rc.2 184 2/28/2021
5.0.2019.40 3,458 2/10/2019
5.0.2019.30 1,510 1/28/2019
5.0.2018.251 6,210 9/10/2018
5.0.2018.250 1,712 9/9/2018
4.3.2018.2200 1,852 8/8/2018
4.3.2018.2070 1,747 7/27/2018
4.2.2018.840 1,990 2/10/2018

Version: 6.0.0
Availability: NET Standard 2.0, NET 5.0
 
# Upgrade Steps
- The Cuemon.Serialization.Xml assembly and namespace was removed with this version
- Any XML serialization found in the Cuemon.Serialization.Xml namespace was merged into the Cuemon.Xml.Serialization namespace
- Any former extension methods of the Cuemon.Xml namespace was merged into the Cuemon.Extensions.Xml namespace
- The extent of refactoring applied to this project resulted in so many breaking changes that a git diff is advisable
 
# Breaking Changes
- REMOVED XElementExtensions class from the Cuemon.Xml.Serialization.Linq namespace
- REMOVED SerializableOrder class from the Cuemon.Xml.Serialization namespace
- REMOVED XmlJsonInstance class from the Cuemon.Xml.Serialization namespace
- RENAMED XPathNavigableConverter class in the Cuemon.Xml.XPath namespace to XPathDocumentFactory (including rename of remaining members)
- REMOVED JsonStreamConverter class from the Cuemon.Xml namespace
- REMOVED SecureXmlObfuscator class from the Cuemon.Xml namespace
- REMOVED XmlConvertExtensions class from the Cuemon.Xml namespace
- REMOVED XmlCopyOptions class from the Cuemon.Xml namespace
- RENAMED XmlDocumentConverter class in the Cuemon.Xml namespace to XmlDocumentFactory (including rename of remaining members)
- REMOVED XmlEncodingUtility class from the Cuemon.Xml namespace
- REMOVED XmlObfuscator class from the Cuemon.Xml namespace
- REMOVED XmlReaderConverter class from the Cuemon.Xml namespace
- REMOVED XmlReaderUtility class from the Cuemon.Xml namespace
- REMOVED XmlReaderUtilityExtensions class from the Cuemon.Xml namespace
- RENAMED XmlStreamConverter class in the Cuemon.Xml namespace to XmlStreamFactory (including rename of remaining members)
- REMOVED XmlUtility class from the Cuemon.Xml namespace
- REMOVED XmlUtilityExtensions class from the Cuemon.Xml namespace
- REMOVED XmlWriterUtility class from Cuemon.Xml namespace
- REMOVED XmlWriterUtilityExtensions class from the Cuemon.Xml namespace
 
# New Features
- MERGED DefaultXmlConverter class into Cuemon.Xml.Serialization.Converters namespace that provides a default way to convert objects to and from XML
- MERGED XmlConverter class into Cuemon.Xml.Serialization.Converters namespace that converts an object to and from XML
- MERGED XmlFormatter class into Cuemon.Xml.Serialization.Formatters namespace that serializes and deserializes an object in XML format
- MERGED XmlFormatterOptions class into Cuemon.Xml.Serialization.Formatters namespace that specifies configuration options for XmlFormatter
- MERGED DynamicXmlConverter class into Cuemon.Xml.Serialization namespace that provides a factory based way to create and wrap an XmlConverter implementation
- MERGED DynamicXmlSerializable class into Cuemon.Xml.Serialization namespace that provides a factory based way to create and wrap an IXmlSerializable implementation
- MERGED XmlConvert class into Cuemon.Xml.Serialization namespace that provides methods for converting between .NET types and XML types
- MERGED XmlSerializer class into Cuemon.Xml.Serialization namespace that serializes and deserializes objects into and from the XML format
- MERGED XmlSerializerSettings class into Cuemon.Xml.Serialization namespace that specifies configuration options for XmlSerializer
 
# Improvements
- EXTENDED XmlSerializer class in the Cuemon.Xml.Serialization namespace with a new overloaded method: Serialize
- RENAMED XmlSerializerSettings class in the Cuemon.Xml.Serialization namespace to XmlSerializerOptions
- CHANGED XmlConverterDecoratorExtensions class in the Cuemon.Xml.Serialization.Converters namespace to always express a DateTime value as an ISO8601 string with roundtrip to UTC
 
# Bug Fixes
- FIXED bug that in some cases could throw a SerializationException when serializable type consisted of only a default contructor (Cuemon.Xml.Serialization.Converters.DefaultXmlConverter.ParseReadXmlDefault)
- FIXED bug that would trigger a redundant entry of InnerException on AggregateException when serializing exceptions (Cuemon.Xml.Serialization.Converters.XmlConverterDecoratorExtensions.WriteInnerExceptions)
- FIXED bug that could trigger a NullReferenceException when serializing namespace information on an Exception class (Cuemon.Xml.Serialization.Converters.XmlConverterDecoratorExtensions.WriteException)
- FIXED assignment of default converters with multicast delegate (Cuemon.Xml.Serialization.Formatters.XmlFormatterOptions.ctor)
 
# Quality Analysis Actions
- CHANGED DefaultXmlConverter class in the Cuemon.Xml.Serialization.Converters namespace to be compliant with https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1822
- CHANGED XmlReaderDecoratorExtensions class in the Cuemon.Xml namespace to have 0 duplicated blocks of lines of code