Skip to content

Multitenancy and tenant foundations libraries

Generated from the architecture model

This page is rendered from model/**/*.yaml by tools/docs_model during mkdocs build. Edit the YAML, not this page; hand-written design lives on the linked service, platform and plane pages.

10 libraries. Status is read from the repository (shipping = source projects, CI and commits; stub = fewer than five source files; empty = no project). Layer L1 is a foundation library, L2 a platform building block, L3 product-specific.

Library Package Layer Status Last commit
ConnectSoft.Extensions.Saas.Abstractions ConnectSoft.Extensions.Saas.Abstractions L1 shipping 2026-09-13
ConnectSoft.Extensions.Saas.AspNetCore ConnectSoft.Extensions.Saas.AspNetCore L1 shipping 2026-09-14
ConnectSoft.Extensions.Saas.AspNetCore.Grpc ConnectSoft.Extensions.Saas.AspNetCore.Grpc L1 shipping 2026-09-14
ConnectSoft.Extensions.Saas.AspNetCore.SignalR ConnectSoft.Extensions.Saas.AspNetCore.SignalR L1 shipping 2026-09-14
ConnectSoft.Extensions.Saas.Billing ConnectSoft.Extensions.Saas.Billing L1 shipping 2026-09-14
ConnectSoft.Extensions.Saas.Metering ConnectSoft.Extensions.Saas.Metering L1 shipping 2026-09-13
ConnectSoft.Extensions.Saas.NHibernate ConnectSoft.Extensions.Saas.NHibernate L1 shipping 2026-09-13
ConnectSoft.Extensions.Saas.Options ConnectSoft.Extensions.Saas.Options L1 shipping 2026-09-13
ConnectSoft.Extensions.Saas.Orleans ConnectSoft.Extensions.Saas.Orleans L1 shipping 2026-09-13
ConnectSoft.Extensions.Saas.Testing ConnectSoft.Extensions.Saas.Testing L1 shipping 2026-09-13

ConnectSoft.Extensions.Saas.Abstractions

Shared multitenant abstractions (ITenantContext, ITenantResolver, tenant catalog / connection / options-cache contracts, TenantResolutionInput) and transport constants used across ConnectSoft SaaS libraries — no ASP.NET Core types.

Package ConnectSoft.Extensions.Saas.Abstractions
Repository ConnectSoft.Extensions.Saas.Abstractions
Layer and kind L1 · library
Status shipping
Last commit 2026-09-13
Targets net10.0, net8.0, net9.0
Notable dependencies —
Depends on ConnectSoft libraries —
Documentation in repo README 55 lines, MkDocs site, docs folder
CI Azure Pipelines
Used by Factory services AgentRuntimeWorker, AgentCardService, AgentRegistryService, ControlPlaneApi, CostUsageService, EnvironmentService, FactoryCommercialService, ProjectService, RunControlService, DataEventFoundations, EnvelopeRegistryService, RetentionResidencyService, StoreProfileService, DeliveryHost, EnvironmentPromotionService, PipelineExecutionService, ReleaseService, StudioBff, StudioNotificationService, StudioRealtimeGateway, FleetIncidentService, FleetInventoryService, FleetOperationsHost, FleetRolloutService, GeneratedProductHost, GeneratedSaasFoundations, ApprovalPolicyService, AuditService, GovernanceHost, PolicyEngineService, SecretBrokerService, ConnectorRegistryService, IntegrationHost, IntegrationService, WebhookGatewayService, ArtifactService, ContextBuilderService, KnowledgeHost, KnowledgeIngestionService, MemoryPromotionService, RepositoryIntelligenceService, VectorMemoryService, LicenseService, MarketplaceCatalogService, MarketplaceHost, ComputePoolService, ModelGatewayHost, ModelRouterService, AlertRuleService, DashboardService, FeedbackService, ObservabilityHost, QualityScoreService, SloService, ExecutionCapacityService, IaCProvisioningService, RuntimeCloudHost, RuntimeEnvironmentService, BlueprintService, GenerationRecipeService, TemplateCatalogHost, TemplateRegistryService, McpServerRegistryService, ToolAdapterService, ToolExecutorHost

ConnectSoft.Extensions.Saas.AspNetCore

ASP.NET Core tenancy registration plus middleware that resolves tenants after authentication — including ordered ITenantHttpResolutionContributor hints (host subdomain, HTTP header), JwtTenantClaimType propagation into TenantResolutionInput, and companion …

Package ConnectSoft.Extensions.Saas.AspNetCore
Repository ConnectSoft.Extensions.Saas.AspNetCore
Layer and kind L1 · library
Status shipping
Last commit 2026-09-14
Targets net10.0, net8.0, net9.0
Notable dependencies —
Depends on ConnectSoft libraries ConnectSoft.Extensions.Saas.Abstractions, ConnectSoft.Extensions.Saas.Options
Documentation in repo README 50 lines, MkDocs site, docs folder
CI Azure Pipelines
Used by Factory services AgentRuntimeWorker, AgentCardService, AgentRegistryService, ControlPlaneApi, CostUsageService, EnvironmentService, FactoryCommercialService, ProjectService, RunControlService, DataEventFoundations, DeliveryHost, StudioBff, FleetOperationsHost, GeneratedProductHost, GeneratedSaasFoundations, GovernanceHost, IntegrationHost, KnowledgeHost, MarketplaceHost, ModelGatewayHost, ObservabilityHost, RuntimeCloudHost, TemplateCatalogHost, ToolExecutorHost

ConnectSoft.Extensions.Saas.AspNetCore.Grpc

Unary TenantGrpcServerInterceptor applies tenant-id metadata to MutableTenantContext; messaging brokers honor the same default key (MultitenancyOptions.MessagingTenantHeaderName).

Package ConnectSoft.Extensions.Saas.AspNetCore.Grpc
Repository ConnectSoft.Extensions.Saas.AspNetCore.Grpc
Layer and kind L1 · library
Status shipping
Last commit 2026-09-14
Targets net10.0, net8.0, net9.0
Notable dependencies —
Depends on ConnectSoft libraries ConnectSoft.Extensions.Saas.Abstractions, ConnectSoft.Extensions.Saas.AspNetCore
Documentation in repo README 49 lines, MkDocs site, docs folder
CI Azure Pipelines
Used by Factory services —

ConnectSoft.Extensions.Saas.AspNetCore.SignalR

SaasTenantHubFilter applies the same tenant resolution flow as Saas.AspNetCore HTTP middleware to SignalR connections and hub invocations, updating scoped MutableTenantContext.

Package ConnectSoft.Extensions.Saas.AspNetCore.SignalR
Repository ConnectSoft.Extensions.Saas.AspNetCore.SignalR
Layer and kind L1 · library
Status shipping
Last commit 2026-09-14
Targets net10.0, net8.0, net9.0
Notable dependencies —
Depends on ConnectSoft libraries ConnectSoft.Extensions.Saas.Abstractions, ConnectSoft.Extensions.Saas.AspNetCore
Documentation in repo README 51 lines, MkDocs site, docs folder
CI Azure Pipelines
Used by Factory services —

ConnectSoft.Extensions.Saas.Billing

Marker interfaces outlining Billing bounded-context tenant scopes.

Package ConnectSoft.Extensions.Saas.Billing
Repository ConnectSoft.Extensions.Saas.Billing
Layer and kind L1 · library
Status shipping
Last commit 2026-09-14
Targets net10.0, net8.0, net9.0
Notable dependencies —
Depends on ConnectSoft libraries ConnectSoft.Extensions.Saas.Abstractions
Documentation in repo README 47 lines, MkDocs site, docs folder
CI Azure Pipelines
Used by Factory services FactoryCommercialService

ConnectSoft.Extensions.Saas.Metering

Marker interfaces outlining Metering tenant-scope surfaces.

Package ConnectSoft.Extensions.Saas.Metering
Repository ConnectSoft.Extensions.Saas.Metering
Layer and kind L1 · library
Status shipping
Last commit 2026-09-13
Targets net10.0, net8.0, net9.0
Notable dependencies —
Depends on ConnectSoft libraries ConnectSoft.Extensions.Saas.Abstractions
Documentation in repo README 47 lines, MkDocs site, docs folder
CI Azure Pipelines
Used by Factory services CostUsageService, FactoryCommercialService

ConnectSoft.Extensions.Saas.NHibernate

NHibernate session extensions that enable tenant filters from ITenantContext.

Package ConnectSoft.Extensions.Saas.NHibernate
Repository ConnectSoft.Extensions.Saas.NHibernate
Layer and kind L1 · library
Status shipping
Last commit 2026-09-13
Targets net10.0
Notable dependencies NHibernate
Depends on ConnectSoft libraries ConnectSoft.Extensions.PersistenceModel, ConnectSoft.Extensions.PersistenceModel.NHibernate, ConnectSoft.Extensions.Saas.Abstractions, ConnectSoft.Extensions.Saas.Options
Documentation in repo README 51 lines, MkDocs site, docs folder
CI Azure Pipelines
Used by Factory services —

ConnectSoft.Extensions.Saas.Options

Validated MultitenancyOptions, DI registration, and ConnectSoft.Extensions.Options-aligned validation (AddOptionsWithValidation) for multitenant SaaS applications.

Package ConnectSoft.Extensions.Saas.Options
Repository ConnectSoft.Extensions.Saas.Options
Layer and kind L1 · library
Status shipping
Last commit 2026-09-13
Targets net10.0, net8.0, net9.0
Notable dependencies —
Depends on ConnectSoft libraries ConnectSoft.Extensions.Options, ConnectSoft.Extensions.Saas.Abstractions
Documentation in repo README 55 lines, MkDocs site, docs folder
CI Azure Pipelines
Used by Factory services —

ConnectSoft.Extensions.Saas.Orleans

Orleans-oriented helpers compatible with multitenant grain identity formatting.

Package ConnectSoft.Extensions.Saas.Orleans
Repository ConnectSoft.Extensions.Saas.Orleans
Layer and kind L1 · library
Status shipping
Last commit 2026-09-13
Targets net10.0, net8.0, net9.0
Notable dependencies Microsoft.Orleans.Core.Abstractions, Microsoft.Orleans.Sdk
Depends on ConnectSoft libraries ConnectSoft.Extensions.Saas.Abstractions
Documentation in repo README 49 lines, MkDocs site, docs folder
CI Azure Pipelines
Used by Factory services —

ConnectSoft.Extensions.Saas.Testing

Deterministic tenant context helpers for multitenant isolation tests (FixedTenantContext) — complement MutableTenantContext integration scenarios when exercising messaging filters.

Package ConnectSoft.Extensions.Saas.Testing
Repository ConnectSoft.Extensions.Saas.Testing
Layer and kind L1 · library
Status shipping
Last commit 2026-09-13
Targets net10.0, net8.0, net9.0
Notable dependencies —
Depends on ConnectSoft libraries ConnectSoft.Extensions.Saas.Abstractions
Documentation in repo README 45 lines, MkDocs site, docs folder
CI Azure Pipelines
Used by Factory services —