Docs / API Reference
Storage backends
One package per backend. Register exactly one — see Storage backends for how to pick.
AddAxonSqlServerStore
Registers SQL Server-backed job, recurring-job, and instance stores. Run Axon.Store.SqlServer/Schema.sql against the target database first.
AddAxonPostgresStore
Registers PostgreSQL-backed stores. Run Axon.Store.Postgres/Schema.sql first.
AddAxonMySqlStore
Registers MySQL-backed stores. Run Axon.Store.MySql/Schema.sql first.
AddAxonSQLiteStore
Registers SQLite-backed stores. Run Axon.Store.SQLite/Schema.sql first. Single-instance/local-development only — SQLite's single-writer model doesn't support multi-instance dispatch.
AddAxonMongoDbStore
Registers MongoDB-backed stores. connectionString must point at a replica set (even single-node — managed offerings like Atlas already are one). No schema file; collections are created implicitly. Optionally call Axon.MongoDb.Indexes.EnsureIndexesAsync(connectionString, databaseName) once for query performance at scale.