Backend Modules
Backend modules for building secure, tenant-aware SaaS applications.
Overview
Primus Backend Modules provide reusable server-side functionality for .NET applications. The safest way to adopt them is through a validated release snapshot, not by assuming every documented module is equally mature.
Key Features
- Release-Snapshot Driven: Existing client-safe baselines stay frozen while
currentevolves - Secure by Default: Built with security best practices
- Highly Configurable: Flexible provider system
- Honest Adoption Surface: Public baseline docs list only the modules we can stand behind for adoption
- Type Safe: Full .NET type safety
Start Here
- Core SaaS Release Baseline - exact package versions and known gaps for the current adoption line
- Modules Overview - adopter-facing module list only
Core Modules
Essential infrastructure for any SaaS application:
- Identity Broker - Browser login and session bootstrap
- Identity Validator - Multi-provider bearer-token validation
- Memberships - Tenant membership lifecycle
- RBAC - Role-based access control
- Multi-Tenancy - Tenant context and isolation
- Feature Flags - Rollouts and tenant-aware gating
- Notifications - Email, SMS, and delivery outcomes
- Observability - Tracing, metrics, and correlation
- Security - Scanning, reporting, and quality gates
AI & Intelligence
Optional add-ons with real package surfaces:
- AI Quick Start - AI core integration
- Storage - Tenant-isolated storage abstraction
- Document Renderer - Document output and rendering
- Payments - Payment webhook validation
Payments & Billing
Industry-specific suites:
- Banking Suite - Complete banking functionality
- Insurance Suite - Insurance management
Getting Started
- Start with the release baseline page
- Choose only the modules you need
- Install the exact package versions from the selected docs line
- Configure in
Program.cs - Upgrade only when you intentionally move to a newer baseline
Each module follows a consistent pattern:
- Overview: What it does and why use it
- Installation: NuGet package installation
- Providers: Provider-specific guides
- Advanced: Customization and optimization