PulseTrade.Comm.Spa 0.1.0-preview2

This is a prerelease version of PulseTrade.Comm.Spa.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package PulseTrade.Comm.Spa --version 0.1.0-preview2
                    
NuGet\Install-Package PulseTrade.Comm.Spa -Version 0.1.0-preview2
                    
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="PulseTrade.Comm.Spa" Version="0.1.0-preview2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PulseTrade.Comm.Spa" Version="0.1.0-preview2" />
                    
Directory.Packages.props
<PackageReference Include="PulseTrade.Comm.Spa" />
                    
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 PulseTrade.Comm.Spa --version 0.1.0-preview2
                    
#r "nuget: PulseTrade.Comm.Spa, 0.1.0-preview2"
                    
#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 PulseTrade.Comm.Spa@0.1.0-preview2
                    
#: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=PulseTrade.Comm.Spa&version=0.1.0-preview2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=PulseTrade.Comm.Spa&version=0.1.0-preview2&prerelease
                    
Install as a Cake Tool

PulseTrade.Comm.Spa

POC extraction of the current PTC.Comm browser surfaces into a small Suave + WebSharper SPA package.

Kept routes:

  • /chat
  • /sets
  • /actors

OAuth:

  • GitHub browser OAuth is retained through /chat/login, /chat/oauth/callback, and /chat/logout.
  • Client secret is read only from ClientSecretPath; this POC does not read secrets from environment variables.

Run from source:

dotnet run --project .\PulseTrade.Comm.Spa.fsproj -c Release -- --port 8897

FSI shape after packing/publishing:

#r "nuget: PulseTrade.Comm.Spa, 0.1.0-preview2"

open PulseTrade.Comm.Spa

let app = Server.startDefault ()
printfn "%s/chat" app.Url

app.Hub.RegisterParticipant
  { ParticipantId = "agent.demo"
    DisplayName = Some "Demo Agent"
    Kind = Some "agent"
    Labels = Some [ "demo" ] }

app.Hub.AppendSet
  { Keys = [ "user.github.alice"; "agent.demo" ]
    SetName = "chat"
    Value = "hello"
    Tags = Some [ "fsi" ] }

// app.Dispose() stops Suave.
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
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 PulseTrade.Comm.Spa:

Package Downloads
PulseTrade.Comm.GW.PTCS

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.4-beta8 0 6/21/2026
0.2.4-beta7 38 6/21/2026
0.2.4-beta6 34 6/21/2026
0.2.3-beta5 40 6/20/2026
0.1.0-preview6 46 6/20/2026
0.1.0-preview4 49 6/5/2026
0.1.0-preview3 47 6/5/2026
0.1.0-preview2 45 6/5/2026
0.1.0-preview1 53 6/4/2026