KristofferStrube.ActivityStreams 0.2.2

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
dotnet add package KristofferStrube.ActivityStreams --version 0.2.2
NuGet\Install-Package KristofferStrube.ActivityStreams -Version 0.2.2
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="KristofferStrube.ActivityStreams" Version="0.2.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KristofferStrube.ActivityStreams --version 0.2.2
#r "nuget: KristofferStrube.ActivityStreams, 0.2.2"
#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 KristofferStrube.ActivityStreams as a Cake Addin
#addin nuget:?package=KristofferStrube.ActivityStreams&version=0.2.2

// Install KristofferStrube.ActivityStreams as a Cake Tool
#tool nuget:?package=KristofferStrube.ActivityStreams&version=0.2.2

License: MIT GitHub issues GitHub forks GitHub stars NuGet Downloads (official NuGet)


A .NET implementation of the Activity Streams vocabulary in the form of classes that can be serialized/deserialized using System.Text.Json

The specifications can be seen here:

These types are famously used in the ActivityPub specification which is used in the Fediverse including Mastodon.

We have chosen that it should also implement the properties that are specific to ActivityPub as these don't change any of the existing properties and because they are very few.


  • Classes for Core Types.
    • Class for Object
    • Class for Link
    • Class for Activity
    • Class for IntransitiveActivity
    • Class for Collection
    • Class for OrderedCollection
    • Class for CollectionPage
    • Class for OrderedCollectionPage
  • Extended classes for Activity Types.
  • Extended classes for Actor Types.
  • Extended classes for Object and Link Types.
  • Properties specific to ActivityPub
  • Support for retrieving @context JSON-LD defintions.
  • Support for serializing

This is used in the following repositories.

Product Compatible and additional computed target framework versions.
.NET 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0

    • No dependencies.

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
0.2.2 80 4/8/2024
0.2.1 269 8/13/2023
0.2.0 160 5/1/2023
0.1.0 376 1/10/2023
0.1.0-alpha.6 87 1/7/2023
0.1.0-alpha.5 129 11/30/2022
0.1.0-alpha.4 83 11/30/2022
0.1.0-alpha.3 87 11/30/2022
0.1.0-alpha.2 81 11/29/2022
0.1.0-alpha.1 80 11/28/2022
0.1.0-alpha.0 81 11/28/2022