Skip to content

Configuration

Configuration lives in src/ConnectSoft.Saas.ProductsCatalog.Application/appsettings*.json; cross-cutting sections come from the Base Template. Catalog-relevant sections:

Multitenancy

Shared-DB row isolation by default (Multitenancy.DeploymentKind = SharedDb) via the SaasTenantFilter NHibernate filter (tenantId parameter, ProductsCatalogConstants.TenantFilterName/Parameter). docs/multitenancy.md also documents optional DatabasePerTenant and ResidencySilo modes.

Persistence

Connection string name ConnectSoft.Saas.ProductsCatalog; shipped dialect MsSql2012Dialect (MicrosoftDataSqlClientDriver). Keyed repository variants support multi-database hosts. docs/Testing.md uses PostgreSQL for some PersistenceSpecification tests - dialect switching is config-driven, not multiple checked-in dialect files.

Messaging

Publish-only; MassTransit:TransportType/PersistenceType default to in-memory. Configure a transport for real deployments. Topology is in CatalogMassTransitTopology.

See also