XmppSharp 3.1.6

dotnet add package XmppSharp --version 3.1.6
NuGet\Install-Package XmppSharp -Version 3.1.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="XmppSharp" Version="3.1.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XmppSharp --version 3.1.6
#r "nuget: XmppSharp, 3.1.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 XmppSharp as a Cake Addin
#addin nuget:?package=XmppSharp&version=3.1.6

// Install XmppSharp as a Cake Tool
#tool nuget:?package=XmppSharp&version=3.1.6

XMPP#

github

A manipulation library and utility with the main objective to reduce the level of unnecessary verbosity for constructing XML tags for XMPP protocol, supporting net6.0, net7.0 and net8.0.

Version History

3.0.0

  • Most big change! Bring back own XML implementation supporting nodes:
    • Element
    • Text
    • Comment
    • Cdata

3.1.0

  • Add enhanced utilities & helper methods to interact with element and nodes.

3.1.1

  • Minor fixes.
  • Fixed wrong sub classing around some elements.
  • Added full control about XML formatting.
  • In .Net6 use TryParseHelper helper methods to parse attribute values. While in .Net7 or higher use IParsable<T> abstract static interfaces feature, for parsing attribute values.

3.1.2

  • Added missing StartTag and EndTag in elements. Both strings will contains well-formed XML string.
  • Ability to make a shallow copy of element instead a full copy with Element.Clone(deep) overload.
  • More formatting options in XmlFormatting structure.

3.1.3

  • Enhance XMPP parser with different ctors provide an Stream or an factory function to create an stream. XmppParser::Reset() no longer needs an stream as argument.
  • Renamed XmppParser::Advance to XmppParser::AdvanceAsync for async version and leave XmppParser::Advance for sync method version.
  • Added GetAwaiter in XMPP parser for simple calling await myParser; have same behaviour and return same result as calling await myParser.AdvanceAsync()

3.1.4

  • Minor fixes around XmppParser and added helper method to advance and get next element.

3.1.5

  • Rename XmppParser to DefaultXmppParser to indicade this uses regular .NET XmlReader to parse xmpp packets.
  • Add basic abstraction layer to implement your own xmpp parser. Also i'm releasing a separated package XmppSharp.Expat to provide expat XMPP parser implementation. (Note: You must install native libraries to use expat.
  • Added AsyncHelper (from AspNetCore repo) to calling async functions in sync methods.

In XMPP# repository i did an github actions to automatically build expat using vcpkg with most common systems: ubuntu, macos, windows but only x64 is working at this moment). Consider using XmppShap.Expat package too if you need a fast and stable parser.


3.1.6

  • Minor improvements.
  • Fixed wrong indent chars & side for default formatting options.
  • Fixed Element.Value returning entire inner text from all descendant nodes.
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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 is compatible.  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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on XmppSharp:

Package Downloads
XmppSharp.Expat

XMPP# expat parser implementation.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.1.6 0 5/7/2024
3.1.5 38 5/7/2024
3.1.4 42 5/6/2024
3.1.1 83 4/28/2024
3.1.0 105 4/17/2024
3.0.0 91 4/16/2024
2.0.1 114 4/12/2024
1.4.2 97 4/2/2024