BeeAppie.Desktop 1.0.1

Prefix Reserved
dotnet add package BeeAppie.Desktop --version 1.0.1
                    
NuGet\Install-Package BeeAppie.Desktop -Version 1.0.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="BeeAppie.Desktop" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BeeAppie.Desktop" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="BeeAppie.Desktop" />
                    
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 BeeAppie.Desktop --version 1.0.1
                    
#r "nuget: BeeAppie.Desktop, 1.0.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 BeeAppie.Desktop@1.0.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=BeeAppie.Desktop&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=BeeAppie.Desktop&version=1.0.1
                    
Install as a Cake Tool

BeeAppie for .NET desktop apps

User identity, sign-in, analytics, sessions, crash reports, leaderboards, polls, announcements, feedback and support chat for .NET 10 desktop apps: WPF, WinForms and WinUI 3 on Windows, and Avalonia, Uno and console apps on Windows, macOS and Linux. Same API and behaviour as BeeAppie.Maui: both are built on BeeAppie.Core.

Setup

dotnet add package BeeAppie.Desktop

Call Start once when the app starts, on the UI thread so BeeAppie's events arrive there:

using BeeAppie.Core;
using BeeAppie.Desktop;

// WPF: App.OnStartup · WinForms: Main · WinUI 3: App.OnLaunched · Avalonia: OnFrameworkInitializationCompleted
var beeAppie = BeeAppieDesktop.Start("your-app-key"); // the same as BeeAppieSdk.Instance from then on

That is all: BeeAppie restores this device's user (or creates one), opens a session while the app runs, and captures crashes. If the app starts offline, BeeAppie starts when the network comes back. Start returns at once; calls that need the server (beeAppie.Client…, SetConsentAsync) start BeeAppie themselves or wait for it.

Options: BeeAppieDesktop.Start("key", o => { o.Logger = loggerFactory.CreateLogger("BeeAppie"); o.CaptureCrashes = false; }).

Where things are kept

  • The device's identity is a file in LocalApplicationData/BeeAppie/<app name>/. On Windows it is encrypted for the signed-in Windows user (DPAPI): another account on the PC, or a copy of the file on another PC, cannot use it. On macOS and Linux only the user can read it.
  • Queued events and reports are in the same folder, so nothing is lost offline or when the app crashes.

Sessions

A desktop app has no foreground and background like a phone app: a session lasts while the app runs. It closes when the app quits and, on Windows, while the PC sleeps or the screen is locked. If your app keeps running out of sight (e.g. in the tray), call await beeAppie.PauseSessionAsync() when it is hidden and ResumeSessionAsync() when it is shown.

Crashes

Unhandled exceptions are stored as they happen and sent on the next launch, with the activity trail and the app version. Each report also carries how long the app had run, the machine's memory (and what is free, on Windows and Linux), free disk space, and on a Mac whether it came from the Mac App Store. Desktops have no build number BeeAppie can read: set yours with o.AppBuild = "57" to see "1.4.2 (57)" on the issue page. This covers WPF (its unhandled exceptions reach .NET's handler), console apps and Avalonia. Two frameworks need one line:

// WinUI 3: App constructor
UnhandledException += (_, e) => BeeAppieSdk.Instance.ReportCrash(e.Exception);

// WinForms, only if the app handles Application.ThreadException itself (BeeAppie does not, so the default dialog stays):
Application.ThreadException += (_, e) => { BeeAppieSdk.Instance.ReportException(e.Exception); /* your handling */ };

Line numbers in release crashes

Release builds don't ship your .pdb files, so their crashes name methods without files or lines. After every Release build or publish of the app, this package uploads your own assemblies' .dll and .pdb (only what BeeAppie doesn't have yet), and crashes show in CartPage.cs:line 42 again, those of the last 30 days included. Set the app's upload key (bu_…, dashboard → Crash reports → Readable crashes) as BEEAPPIE_UPLOAD_KEY on the build machine or in your CI's secrets, or add a line <bundle id> = bu_… to ~/.beeappie/upload-keys in your home folder, which every BeeAppie build tool reads (also Xcode opened from the Dock, which never sees ~/.zshrc) (desktop apps: their assembly name instead of a bundle id). Never in the project: it would end up in git. Uploads come with paid plans. A build never fails because of BeeAppie: without a key, or offline, it warns, and what wasn't sent goes with the next Release build. Only line numbers are kept, never your code. Libraries of your own from NuGet: <BeeAppieSymbolAssemblies>Shop.Core;Shop.Data</BeeAppieSymbolAssemblies>; to turn it off: <BeeAppieUploadSymbols>false</BeeAppieUploadSymbols>.

Everything else

The same as BeeAppie.Maui: TrackEvent, ReportException, AddBreadcrumb, Screen, SetConsentAsync, SignInAsync, SetUserPropertiesAsync, ExportUserDataAsync, DeleteUserAsync, GetChatAsync, HasEntitlement, UserData, and Client for leaderboards, polls, announcements, feedback and support chat. Push notifications are not available on desktop yet.

Code shared with other platforms (e.g. an Avalonia or Uno app's common project) needs only BeeAppie.Core: BeeAppieSdk.Instance is the same whichever package started it, e.g. BeeAppieSdk.Instance.TrackEvent("level_completed"). Before a package starts it (e.g. in a designer or previewer) Instance throws; BeeAppieSdk.IsSetUp tells.

Documentation · Dashboard · All SDKs · SDK license

License

Copyright © 2026 HighTouch Innovation Ltd. All rights reserved. This package is not open source: it is licensed under the BeeAppie SDK License (LICENSE.md in the package), and may be used only with the BeeAppie service.

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

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
1.0.1 44 11/25/2026
1.0.0 52 11/25/2026

1.0.1: the ready-made Leaderboards list works offline. It used to say "No leaderboards yet" without a connection; it now shows the list kept on the device, and each leaderboard opens with its own copy and the player's waiting best. New: Leaderboards.ListAsync, which keeps the list for offline the way LoadAsync keeps each leaderboard. Fixed: leaderboards and news kept on the device did not show when the app was opened without a connection. Seasons: a leaderboard page now offers every past season the leaderboard keeps (it used to offer only the last one), named the way your team set in the dashboard (e.g. "Today", "Round 12", in each language added), or Today / Yesterday, This week / Last week, This month / Last month and dates when no name is set; "Season ends" now reads "Ends". New: Leaderboards.SeasonsAsync and CachedSeasons, and GetLeaderboardPage(key, season) to open one at a past season. See https://beeappie.com/changelog for what changes in each version.