New
Apps 6,419Makers 6,403This week 7
Promote your app−30%
SQLBI Whiteboard screenshot 1
4views in
the last 30 days

SQLBI Whiteboard

Free, open-source Windows 11 whiteboard for teaching DAX, SQL and data modeling

Built with Claude Code

by sql-bi · Unclaimed · from USUnited States · added Nov 2, 2026
no ratings0 comments

A native Windows 11 whiteboard built with C# and WPF. A retained viewport renders an unbounded world-coordinate document and draws the live pen stroke, which is read directly from the pen's packets. Finger ink uses WPF's dynamic ink renderer.

How the project is developed and shipped is documented separately: CONTRIBUTING.md for the working agreement, docs/release-management.md for the process, and docs/decisions.md for the choices behind it.

Included in the application

  • Low-latency, pressure-aware wet ink, including rear-eraser detection on any pen that reports it
  • A normal cursor for physical mouse input, and a pen-hover indicator that shows what a tap would do: the laser with its halo and speed trail, a dashed square around what the eraser would clear, and a high-contrast dot for everything else. All of them disappear on contact
  • Optional mouse drawing (default when Windows reports neither a pen tablet nor a touchscreen): the left button uses the current tool, Ctrl and the left button move and resize a container, and Eraser and Pan appear on the toolbar. A mouse reports no pressure, so ink is drawn at an even width and Calligraphy is the one tool that still varies, because its width comes from speed. Nothing about the pen changes when it is on. With it off, picking a tool from the toolbar with the mouse offers to turn it on, once a session
  • Touch panning and two-finger pinch zoom
  • Optional finger drawing (default when no pen is detected): one finger uses the current tool, two fingers still pan and pinch-zoom, and Eraser and Pan appear on the toolbar
  • A notice at startup when Windows reports neither a pen tablet nor a touchscreen, saying which pointing device the session is drawing with and what a pen would add. Dismissable from the notice itself or from Preferences, since the tablet list Windows reports can miss a pen that has never been in range
  • Basic palm rejection: touch navigation is suspended when the pen makes contact
  • Mouse-wheel zoom, middle-button or temporary Space-key panning, and H for the Pan tool
  • Whole-stroke erasing
  • PNG, JPEG, BMP, GIF, and SVG import, clipboard bitmap paste, and Explorer drag-and-drop of images, text files, .wimport recipes, PowerPoint decks, and Microsoft Whiteboard exports
  • PowerPoint decks imported as one picture per slide through PowerPoint from Microsoft 365: SVG, or PNG for a slide whose fonts are not installed, placed in one row per section, with an optional frame around each slide. File → Open creates a new board from the deck; File → Import and drag-and-drop add it below the board's content
  • Boards exported from Microsoft Whiteboard as a .zip imported with their ink, pictures, shapes, sticky notes, text, lists, tables, connectors, links, and comments, and the pen's varying width kept. File → Open creates a new board from the export; File → Import and drag-and-drop add it below the board's content. docs/microsoft-whiteboard-import.md lists what is not carried over
  • SVG is stored as its markup and redrawn as vectors at every zoom and resize. Pasting SVG markup that was copied as text — the output of a DAX SVG measure, for instance — creates a picture, and copying an SVG container puts both the markup and a bitmap on the clipboard. Text set in a Microsoft 365 font such as Aptos is drawn in that font when Office has it on the machine
  • Image selection, movement, resizing, and deletion
  • Text containers created by pasting plain text, with display and in-place edit modes
  • Seventeen text-container types: fifteen languages with live syntax highlighting, plus Prompt and Markdown with Mermaid diagrams, and local F6 formatting for DAX, SQL Server, and KQL
  • An Insert tab with nine shapes drawn by dragging, with outline color, fill, line thickness, and text of their own in ten fonts; three connectors that bind wherever an end is dropped on a shape or a container, follow it, and can be drawn from the four arrows on a selected shape; and text labels typed on the board. A shape or a label turns to any angle by its handle, and the pin at the end of the row makes it a palette you can move
  • Selection by area: drag with Select for a rectangle, or hold Select for a freehand outline. Ctrl+A takes everything and Ctrl+Shift+A the ink alone, and the … on the selection offers Delete, Copy, Duplicate, and the four depth commands. Ink is taken too, and everything the area takes moves, resizes, recolors, reorders, and deletes as one
  • An optional background grid, Lines or Dots, whose spacing is fixed in board pixels and coarsens as the zoom goes out. It is drawn on screen only and never appears in an export or a preview
  • Containers automatically carry strokes that touch only that container when moved or resized
  • LiveView containers for GPU-backed capture of an application window or display, with freeze/resume and saved last-frame previews
  • Double-click a container to center it and fit it to the canvas
  • Undo and redo for strokes, erasing, containers, text edits, and transformations
  • Versioned ZIP-based .wboard documents with an embedded preview.png. Explorer shows that picture as the file thumbnail in the released install. The VS Code extension in vscode/sqlbi-whiteboard opens the same picture instead of the ZIP.
  • Markdown .wimport recipes that build image and text containers from headings
  • File → Export to PowerPoint or PDF: the board is cut into areas where it is empty, one slide or page per area, with an overview first. A deck carries the text containers in the speaker notes, or, as Editable slides, puts images and text containers on the slide as objects with the ink over them; a PDF has a bookmark per page, can put the whole board on one page to zoom into, and as Vector pages carries the ink as paths and the text as selectable text. The dialog shows the areas numbered on the board and updates as the settings change. View → Frame draws a slide on the board by hand: whatever sits inside a frame is that slide, and the rest of the board is cut automatically. docs/export.md explains how areas are chosen
  • An intentionally small floating toolbar
  • A File / Edit / View / Insert / Help tab strip. Click a tab for a one-row command strip over the canvas
  • Preferences for the mode — Teaching, Design, or Custom, which says whether the design tools are there at all — the startup monitor, full-screen start, full screen when idle, finger drawing, mouse drawing, the pen button, snippet format order, what an area selects and whether it extends to touching objects, the background grid, laser trail timing and weight, toolbar position and layout, Insert and Lasso on the toolbar, the Insert palette, what happens after inserting an object (Return to Select by default), keeping the Eraser on the toolbar for a pen that has no reverse end, and (except Store installs) a daily new-version check
  • About, with version and channel

Build and run

Requirements:

  • Windows 11
  • .NET 10 SDK
  • Visual Studio 2022 or newer with the Windows application development workload if using the IDE

From PowerShell in the repository root:

powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\build.ps1
powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\run.ps1

Core-only verification does not require WPF:

$env:DOTNET_CLI_HOME = "$PWD\.dotnet"
$env:APPDATA = "$PWD\.appdata"
$env:NUGET_PACKAGES = "$PWD\.packages"
dotnet run --project .\tests\SQLBI.Whiteboard.Core.SmokeTests\SQLBI.Whiteboard.Core.SmokeTests.csproj

Installers

installer/wix contains a single WiX v5 source that produces every installer variant, selected with the Channel and Scope preprocessor variables:

Artifact Installs to
SQLBI.Whiteboard.<version>.x64.msi Program Files\SQLBI\Whiteboard
SQLBI.Whiteboard.<version>.x64-userinstaller.msi %LOCALAPPDATA%\Programs\SQLBI\Whiteboard, no elevation
SQLBI.Whiteboard.<version>.x64-dev.msi Program Files\SQLBI\Whiteboard Dev
SQLBI.Whiteboard.<version>.x64-dev-userinstaller.msi %LOCALAPPDATA%\Programs\SQLBI\Whiteboard Dev, no elevation
SQLBI.Whiteboard.<version>.x64-portable.zip runs without installing
SQLBI.Whiteboard.<version>.x64-dev-portable.zip runs without installing, as the pre-release channel
SQLBI.Whiteboard.<version>.x64.msix unsigned Store package for the released channel. Identity version is <version>.0. The pipeline submits it to Partner Center after a release is promoted; the Store re-signs it.

Channels

The released and pre-release channels are separate products, so a tester can keep both installed. They differ in three ways:

  • The pre-release channel installs under Whiteboard Dev, is named SQLBI Whiteboard (Dev), and carries its own UpgradeCode, so it never upgrades or replaces a released install.
  • Only the released channel registers the .wboard and .wimport file types. Uninstalling a pre-release build therefore cannot leave those associations broken.
  • The pre-release installer places a channel.txt beside the executable, and the pre-release portable ZIP carries the same file. AppChannel reads it at startup to append (Dev) to the window title and to keep settings in %APPDATA%\SQLBI\Whiteboard Dev, so the two copies cannot overwrite each other's settings.

Because the channel is detected at run time rather than compiled in, one build of the application serves both, and a tested binary can be promoted without being rebuilt.

Build all of them locally with:

powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\build-installer.ps1 -Version 1.0.0

Packaging is almost entirely CAB compression, so building every variant is slow. Pass -Variants to restrict it while iterating on the authoring — pull request validation builds the diagonal pair, which still exercises both sides of every conditional in the source:

powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\build-installer.ps1 -Variants stable/perMachine,dev/perUser

The WiX toolset is pinned in .config/dotnet-tools.json. The script restores it and adds the UI and Util extensions, so no manual setup is required.

The application and document icons, the installer artwork, and the site's favicons and social card are all generated from src/SQLBI.Whiteboard/Assets/SQLBI.Whiteboard.svg by .\scripts\build-assets.ps1. The generated files are committed, so that script only needs running when the artwork changes.

.azure/pipelines/build-whiteboard.yaml performs the same build in Azure Pipelines and signs the binaries and both MSI packages with the SQLBI certificate held in Azure Key Vault. What to run for a pre-release, a full release, the VS Code extension, or the site is the opening section of docs/release-management.md.

Landing page

site/ is https://whiteboard.sqlbi.com: the download landing page plus the public guide, shortcuts, FAQ, compare, changelog, privacy, .wimport contract, and contribute/publish page. Styles live in site/styles.css. Pages are hand-authored HTML, not generated from this README.

.github/workflows/publish-site.yml deploys it to GitHub Pages whenever site/ changes on main. site/CNAME carries the custom domain so it survives each deployment. Asset paths are relative, so the page also works from the project-site URL before the domain resolves.

Download links are resolved at load time, because the installer file name carries the version and cannot be hard-coded. The page reads stable.json, a release manifest generated into the same deployment by scripts/build-release-manifests.ps1, so an ordinary visit makes no API call. It falls back to the GitHub releases API when no stable release is published, which is also the only source that can describe a pre-release to a browser: github.com release-asset URLs send no CORS header, so a manifest attached to a release cannot be read from a page. Without scripting, or if both fail, every link stays pointing at the releases page.

stable.json and dev.json are the same manifests the winget submission and the in-app update check read. They are generated per deployment, not committed. The schema is in docs/release-management.md.

Application

SQLBI.Whiteboard is the WPF application project. It uses InkCanvas only for live finger ink, and draws the live pen stroke itself from the pen's packets. Completed pressure strokes are converted into SQLBI.Whiteboard.Core world coordinates and rendered by the retained WPF scene layer.

After building the solution, start the application with:

powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\run.ps1

LiveView

Choose View → LiveView and select an application window or display in the Windows capture picker. A LiveView behaves like an imported-image container: it can be selected, moved, resized while preserving its aspect ratio, framed by double-clicking, deleted with its linked strokes, and manipulated through undo/redo.

Use View > Freeze to stop capture while retaining the last frame. The same command resumes a target that is still available. View > Disconnect releases the target, keeps the last frame, and hides the on-frame freeze/play controls; View > Reconnect is then the only way back to a live feed.

Preferences → Live View → Pause when Whiteboard loses focus stops capture while another application is in the foreground, keeping the last frame visible. Returning to Whiteboard resumes only the LiveViews that were playing; manually paused or disconnected views stay that way. Whiteboard's own dialogs do not interrupt capture.

Saving a board captures the latest LiveView bitmap and stores it with the source label, frame-rate setting, cursor setting, frozen state, and container geometry. Loading a board displays that bitmap immediately. Windows capture permission objects cannot be serialized, so use Reconnect to restore the live feed after loading.

Calligraphy Lab

An isolated calligraphy-tuning prototype is available under prototypes/SQLBI.Whiteboard.CalligraphyPrototype. It exposes the nib geometry, pressure curve, speed response, and smoothing parameters directly on the canvas without changing the main whiteboard. Run it with:

powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\run-calligraphy-prototype.ps1

Use Copy settings after finding a useful combination so the exact values can be transferred into the main application.

Controls

Input Behavior
Pen tip Current tool; Pen is selected at startup
Shift + pen tip Hold Shift before starting a stroke to constrain it to horizontal or vertical at a uniform width. Releasing ends the constraint; a mid-stroke press is ignored
Pen hover Show the small red pointer dot and hide the arrow
Pen contact Hide both the pointer dot and arrow
Physical mouse movement Show the normal arrow
Left mouse With Mouse drawing off, temporarily select/move/resize a container and return to the previous drawing tool on release. With it on, the current tool: ink, erase, select, pan, or the laser
Ctrl + left mouse Select/move/resize a container and return to the previous drawing tool — what the left button does on its own when Mouse drawing is off
Double-click container Center and fit the image, text, or LiveView to the canvas. With Mouse drawing on and an ink or eraser tool selected, hold Ctrl: two plain clicks are two strokes
Double-click empty canvas Center and fit all board content, or reset an empty board
Pen eraser Erase complete strokes. The upper side button erases too, because Windows reports it the same way as a pen turned round. A pen with neither reaches the Eraser through Help → Preferences → Toolbar → Always show the Eraser
Pen barrel Hold for Laser, or hold before starting a stroke for Straight line, as assigned in Preferences. Releasing ends the action; a mid-stroke press cannot start Straight line
One finger Pan. With Finger drawing on, uses the current tool instead
Two fingers Pan and pinch zoom. Cancels an in-progress finger stroke when Finger drawing is on
Mouse wheel Zoom at the pointer. Shift+wheel zooms more slowly
Middle mouse Pan
Right mouse Pan while held on the canvas; return to Pen on release. Right-click the palette to hide or show it
Space Temporarily switch to Pan
H Switch to Pan, or back to the previous tool. With one shape selected, types into it instead
Ctrl+Z / Ctrl+Y Undo / redo
Ctrl+C Copy the selection. Copying a LiveView copies its last frame as a bitmap
Ctrl+V Paste prefers an image (including a file on the clipboard) over text. Otherwise create a text container; Markdown and rich clipboard HTML can retain tables, lists, and headings
F2 Edit the selected text container or label, put words inside the selected shape, or rename the selected frame. Typing a printable character with one shape selected starts its text too
View > Frame Add a frame the size of the screen: a slide drawn on the board, selected by its edge or its tab, which Export takes as it is
View > Show frames Hide the frames and their titles, or show them again. Hidden frames are still slides for Export, and the choice is saved with the board. Letter H while the View strip is open
Language chip Choose a language, Prompt, or Markdown on a selected text container
F6 Format DAX, SQL, or KQL on the selected text container; DAX wraps to the container's columns. In F2, formats in place. On a language that is only highlighted, opens that language's issue on GitHub
Drag right edge, or Shift + drag handle Change a text container's width in columns and reflow it; the handle shows the count. A plain drag of the corner scales it
Ctrl+Enter Commit the F2 edit, including an F6 format done in that session, and return to display mode
Escape Cancel the active text edit, clear the selection, put down an Insert tool, close the command strip, or leave full screen or canvas only
Ctrl+S / Ctrl+O Save / open a board
File > Import Add a PowerPoint deck, a Microsoft Whiteboard export, an image, or a .wimport recipe to the board. Letter I while the File strip is open
Shift+F12 Save As
Ctrl+E Export the board to PowerPoint or PDF
Delete Delete the selected container and its linked strokes
Ctrl+A / Ctrl+Shift+A Select everything an area could take, or the ink strokes only
Edit > Clear strokes Remove every ink stroke on the board, including strokes linked to containers, as one step that Undo restores. Letter S while the Edit strip is open
Ctrl+D Duplicate the selection 24 pixels down and to the right, and select the copy
… on the property bar Delete, Copy, Duplicate, and the four depth commands for whatever is selected
Alt+L Laser pointer
File / Edit / View / Insert / Help Tab strip. Click a tab for a one-row command strip over the canvas. Click the canvas to hide it
Insert tab Alt+I: the nine shapes, the three connectors, and Text. The tool returns to Select after one object unless After inserting an object says to keep it
Insert > Palette Pin the Insert row into a floating palette that drags anywhere in the

Description taken from the repository README.

Ratings

–
0 ratings
5 0
4 0
3 0
2 0
1 0

Rate this app

Sign in to rate

Comments 0

Sign in to comment

No comments yet.

Related apps

#whiteboard · #dax · #teaching