TicketFlow.Surveys 0.1.0-alpha.4.1

This is a prerelease version of TicketFlow.Surveys.
dotnet add package TicketFlow.Surveys --version 0.1.0-alpha.4.1
                    
NuGet\Install-Package TicketFlow.Surveys -Version 0.1.0-alpha.4.1
                    
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="TicketFlow.Surveys" Version="0.1.0-alpha.4.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TicketFlow.Surveys" Version="0.1.0-alpha.4.1" />
                    
Directory.Packages.props
<PackageReference Include="TicketFlow.Surveys" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TicketFlow.Surveys --version 0.1.0-alpha.4.1
                    
#r "nuget: TicketFlow.Surveys, 0.1.0-alpha.4.1"
                    
#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.
#:package TicketFlow.Surveys@0.1.0-alpha.4.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TicketFlow.Surveys&version=0.1.0-alpha.4.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=TicketFlow.Surveys&version=0.1.0-alpha.4.1&prerelease
                    
Install as a Cake Tool

TicketFlow.Surveys

CSAT and NPS survey behavior for TicketFlow.

  • SurveyScheduler (ISurveyScheduler): consumes ConversationResolvedNotification (trusted, internal input that the E5 conversation outbox will feed) and creates pending invitations — inbox survey before workspace survey per kind, delay applied, idempotent per (survey, conversation), per-contact cooldown enforced atomically by the store.
  • SurveyDispatcher (ISurveyDispatcher): claims due invitations atomically with a lease (SurveyOptions.SendLease; concurrent dispatchers never claim the same invitation), derives each invitation's token with HMAC-SHA256 from SurveyOptions.TokenKey (the same token on every retry; only its SHA-256 hash is stored), then calls ISurveyInvitationSender with the stable DeliveryKey. Failures retry with exponential backoff up to SurveyOptions.MaximumSendAttempts, then fail; a dispatcher that stops mid-send leaves the lease to expire and the invitation becomes due again; invitations of disabled surveys are cancelled.
  • SurveyResponder (ISurveyResponder): anonymous token path — strict parsing, scope-confined hash lookup, expiry, score range and bounded comment checks, single response with idempotent replay.
  • SurveyService (ISurveyService): definitions (survey:read / survey:manage on the survey's inbox or workspace), invitation and response reads (survey:read, survey.comment field masking), response lists and aggregates through IAccessQueryPlanner filters (survey:read, report:view).
  • InMemorySurveyStore: bounded, process-local development store.
using TicketFlow.Surveys;

services.AddSingleton<ISurveyInvitationSender, MyEnvelopeFlowSender>();
services.AddTicketFlow()
    .AddAccessControl().AddInMemoryAccessStores()
    .AddSurveys(options => options.TokenKey = stableSecret) // ≥ 32 bytes, shared by all dispatcher hosts
    .AddInMemorySurveyStores(); // development only
Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on TicketFlow.Surveys:

Package Downloads
TicketFlow

Catch-all meta-package for the TicketFlow stack: core primitives, support domains, in-memory and PostgreSQL stores, ASP.NET Core hosting, SignalR realtime, background workers, Blazor management UI, and MCP server toolsets.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-alpha.4.1 41 11/23/2026
0.1.0-alpha.3.1 40 11/23/2026
0.1.0-alpha.2.1 46 11/22/2026