Use the generic host
Register Engine with AddDrasi so the generic host starts, configures, and stops it.
less than a minute
These guides cover the patterns you reach for when you build a real
application with Drasi.
New here? Start with Getting started and Concepts first, then come back for the deeper dives below.
Register Engine with AddDrasi so the generic host starts, configures, and stops it.
Drive an in-process source with PushChangeAsync and handle query diffs in C#.
Discover, install, and load native Drasi source and reaction plugins from ghcr.io.
Subscribe to query diffs, lifecycle events, and logs as IAsyncEnumerable sequences.
Build and start an engine from JSON or IConfiguration.
Catch DrasiException and branch on stable error codes.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.