SaaS platform template selection workflow¶
This workflow supports Backend Developer Agent and Frontend Developer Agent when implementing SaaS products that use the SaaS platform template program. It is design-time guidance; it does not create repositories.
When to use¶
- The architecture blueprint names a bounded context in Tenants, Product catalog, Entitlements, Billing, or Metering.
- The UI is a portal composed of Blazor MFEs with a shared shell.
Selection rules¶
| Need | Template / artifact |
|---|---|
| New backend microservice for an in-scope context | ConnectSoft.Saas.<Context>Template (e.g. ConnectSoft.Saas.ProductsCatalogTemplate) — includes ConnectSoft.BaseTemplate submodule |
| Portal host (navigation, MFE registry, tenant/edition) | ConnectSoft.Blazor.Shell.Saas |
| Feature UI for a context | Blazor MFE template (same patterns as Identity / Authorization Server MFEs); consumes ServiceModel NuGet packages only |
| Cross-cutting tenant resolution, options, ASP.NET middleware, NHibernate helpers, transports, Billing/Metering primitives, tests | ConnectSoft.Extensions.Saas.* packages — mandatory Layer 1 for new SaaS work; consume published NuGets (see Docs/decisions/adr/adr-0100-connectsoft-saas-multitenancy-resolution.md in ConnectSoft.Documentation) |
Out of scope¶
Do not select ConnectSoft.Saas.*Template for Audit, Notifications, or Configuration platforms as part of this program—they belong to separate initiatives unless the backlog explicitly expands scope.
References (ConnectSoft.Documentation)¶
- SaaS platform — solution plan (
Docs/starters/saas-platform-solution-plan.md) - SaaS bounded contexts and template matrix (
Docs/starters/saas-bounded-contexts-and-templates.md) ConnectSoft.Extensions.Saas.*libraries (Docs/starters/saas-extensions-saas-libraries.md)- Epics and Azure DevOps mapping (
Docs/starters/saas-extensions-and-templates-epics.md) - SaaS multitenant architecture — ADR (
Docs/decisions/adr/adr-0100-connectsoft-saas-multitenancy-resolution.md) - Company backlog EPIC-SAAS-EXT — Features SAAS-EXT-F07–F14, Tasks SAAS-EXT-T09+ (
ConnectSoft.CompanyDocumentation—docs/product-portfolio/platforms/saas-solution-platform/backlog-plan.md)
Company framework¶
- Implementation mapping: ConnectSoft Company documentation —
docs/saas/framework/saas-platform-template-program-implementation-mapping.md