TECHIS.Cloud.ActivityMetrics.Reactions 2.0.0

.NET Standard 2.1
dotnet add package TECHIS.Cloud.ActivityMetrics.Reactions --version 2.0.0
NuGet\Install-Package TECHIS.Cloud.ActivityMetrics.Reactions -Version 2.0.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="TECHIS.Cloud.ActivityMetrics.Reactions" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TECHIS.Cloud.ActivityMetrics.Reactions --version 2.0.0
#r "nuget: TECHIS.Cloud.ActivityMetrics.Reactions, 2.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install TECHIS.Cloud.ActivityMetrics.Reactions as a Cake Addin
#addin nuget:?package=TECHIS.Cloud.ActivityMetrics.Reactions&version=2.0.0

// Install TECHIS.Cloud.ActivityMetrics.Reactions as a Cake Tool
#tool nuget:?package=TECHIS.Cloud.ActivityMetrics.Reactions&version=2.0.0

Track user reactions and generate metrics against those reactions.
A reaction, being a specialized form of an occurance, this package is suitable for occurances that has the following properties;
Subject Id (Integer)
Subject Type Id (String)
Value (String)
ValueType (String)
Actor (String)

Restricting SubjectId to integer allows us to perform range queries against SubjectId with predictable results.

Given the above restrictions, we can state that this package tracks occurances and generates metrics against those occurances.

To Add an occurance, call:
Activity.AddAsync([parameters])

To generate the Count Metric, call:
MetricsCountWriter.Write()

To read the Count Metric, call;
MetricsReader.QueryAsync([parameters])
OR
MetricsReader.QueryPointsAsync([parameters])
The Count Metric is the only metric generator that is included in this package. Let us know which other metrics you would like.

This package depends on TECHIS.Cloud.ActivityMetrics.AzureTable which uses the Microsoft.Azure.CosmosDB.Table. This is the new Azure Table API which can target either CosmosDB or Azure Storage Tables.
This package will create 3 tables:
A) An occurances table
B) A Metrics table
C) A Metrics history table

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.1
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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
2.0.0 303 7/15/2022
1.0.3 536 6/20/2021
1.0.1 388 6/16/2021
1.0.0 1,021 7/12/2019
0.1.0.6-preview 677 7/3/2018
0.1.0.5-preview 670 6/11/2018
0.1.0.4-preview 700 6/7/2018
0.1.0.3-preview 660 6/7/2018
0.1.0.2-preview 656 6/4/2018
0.1.0.1-preview 684 5/31/2018
0.1.0-preview 710 5/30/2018

Upgraded to net standard 2.1