Tutorials
Hands-on, step-by-step guides for building change-driven applications with the Drasi .NET library.
Work through these tutorials to learn Drasi by building complete, runnable
applications. Each tutorial lives in
tutorials/
and embeds the Drasi continuous-query engine directly in a .NET app — real data
sources, continuous queries, and reactions, with no separate server to run.
Your first steps with Drasi — embed the Drasi engine in a .NET console app, connect it to a live PostgreSQL message feed, and build five continuous queries (change detection, a filter, an aggregation, a time-based query, and a cross-source join) that print every change to your terminal.
Monitor a smart building’s comfort in real time with PostgreSQL CDC, six continuous queries with synthetic joins, and a C# reaction that streams Server-Sent Events to drive a live web UI.
Build a real-time view over two different databases — a PostgreSQL orders store and a MySQL vehicles store — joined by license plate, with an embedded Drasi engine, a C# reaction that streams Server-Sent Events, and one integrated web UI that both drives the changes and shows them live.