Build Your SaaS in Days, Not Months
Blazor Blueprint is a multi-tenant Blazor Server SaaS starter template on .NET 10 — production-ready code you run and extend.
🔓 Source-available on GitHub • Free under £100k/yr revenue, with a "Powered by" credit • Commercial licence from £499 (excl. VAT) at or above that
What is Blazor Blueprint?
Blazor Blueprint is a starter template you run and extend — not a hosted product. It saves months of development by giving you multi-tenancy, authentication, billing, background processing and the security work around them out of the box, as complete source code you can read and change.
Key Features
Production-ready features that accelerate your SaaS development
Core Platform & Architecture
.NET 10 & Blazor Server
The current .NET platform, with real-time server-rendered UI over SignalR — live updates without page refreshes.
Multi-Tenant Architecture
A database per organisation (a schema per organisation on PostgreSQL), a subdomain for each organisation, custom domains that apps can serve an organisation's public website on, and per-organisation configuration.
.NET Aspire
Orchestrated local development: one command starts the app with its database and cache containers, service discovery wired up.
Clean Architecture
Domain, application, infrastructure and host layers with clear boundaries, so the code stays maintainable as it grows.
Plugin Architecture
Extend functionality with custom plugins without modifying core code. Create modular plugins for navigation, routes, admin pages, and services while keeping core updates seamless and non-invasive.
Background Worker
Queue-based background processing on Redis streams — email, push notifications and AI work — plus scheduled sweeps such as data cleanup. Runs as a separate worker, or inside the web app in two-container Lite mode — one configuration profile, same job handlers either way.
User Interface & Experience
Modern UI & Theming
Fluent UI components with responsive design and the ARIA annotation Fluent UI's own controls carry, plus light/dark mode with a per-browser preference over each organisation's own theme.
Progressive Web App
An installable progressive web app with an app manifest and a native app-like window. One installable app per deployment, named and branded from the operator's settings, which members of every organisation install.
Security & Authentication
ASP.NET Core Identity
Authentication and the full user account lifecycle — registration, profiles, password management, personal-data export and account deletion.
Two-Factor Authentication (2FA)
Enhanced security with TOTP-based two-factor authentication, QR code setup, and backup codes for account protection.
Passkey Authentication
Passwordless sign-in with WebAuthn passkeys — fingerprint, face recognition or PIN. Faster than a password and resistant to phishing.
External Login
Social OAuth integration with Facebook, Google, and Microsoft, so users can sign up in seconds with their preferred provider — no password required.
Enterprise SSO (OIDC)
Per-organisation single sign-on over OpenID Connect against Microsoft Entra ID, Okta, Auth0 or Google Workspace. Each customer connects their own IdP so employees log in with their corporate identity.
Active Sessions & Security Activity
Users see every device signed in to their account and can sign out any one of them, or all the others — plus a personal security log of sign-ins, password and 2FA changes and recovery-code use.
Brute-Force Protection
Configurable account lockout on repeated failures, plus a shared rate-limit store that counts across instances — so scaling out doesn't multiply the attempts an attacker gets.
Role-Based Access Control
Organisation roles (Owner, Admin, Member) and a platform admin role with claims-based authorization, plus per-plugin admin roles.
Privacy & Legal Policies
Cookie consent with granular categories, and configurable legal policies that users accept at sign-up.
Communication & Integrations
Multi-provider email system supporting SendGrid, SMTP, MailerSend, and Mailgun with templates.
Push Notifications
Browser push notifications with service worker integration, user permission management, and real-time delivery.
AI Integrations
Built-in support for OpenAI, OpenRouter, Ollama, and n8n workflows, managed centrally with configurable models. OpenRouter and Ollama are OpenAI-compatible, and Ollama runs against a server you host yourself, so AI chat completions can run on your own model without calling an external API (moderation is OpenAI-only).
SMS
Outbound SMS through Twilio from the platform's sender, with STOP-keyword opt-out handling scoped per sender, and delivery-status callbacks routed back to the sending tenant.
Inbound Email
Each organisation gets an unguessable sub-address on the platform's Mailgun mailbox, and a resolver that maps it back to the organisation rather than trusting the To: header, which a sender can forge. Your own handler decides what happens to the mail.
Webhooks, In & Out
Signature-verified, rate-limited inbound endpoints with per-provider handlers, plus outbound subscriptions with HMAC-signed deliveries, retries and a recovery sweep. Thirteen event types fire out of the box — payments, membership changes and subscription billing — and your own code adds its own alongside them.
Payments & Billing
Take Payments
Stripe Checkout and PayPal Orders, behind one payment abstraction. Credentials are per-tenant, so each organisation's money lands in its own merchant account — the arrangement regulators expect.
SaaS Subscription Billing
Charge your own tenants for access — monthly, yearly, or a one-off year. Plan catalogue, trials, proration, dunning with retries, and entitlement gating on features, seats and premium apps. Wired and visible out of the box, with a separate runtime switch that holds back actual charging until you're ready to sell.
PDF Rendering
Build PDFs in code with QuestPDF, or stamp values onto existing PDFs — wired into every host process, so it's available anywhere without per-host setup.
Administration & SEO
Two Admin Consoles
An organisation console for members, roles, branding, billing and per-org settings — and a separate platform console for the operator: every organisation, platform-wide users, integrations, plugin policy, storage and an infrastructure monitor with health checks.
SEO & Sitemaps
When an app publishes an organisation's website on its own domain, the site gets its own sitemap.xml, robots.txt, canonical URLs and page metadata, while the members-only app tells search engines to stay out.
Data & Storage
Database Support
Pluggable data layer — MongoDB (default), PostgreSQL, or SQL Server — behind a single repository abstraction, with retry policies and paged query support.
Conflict-Safe Saves
Edits never silently overwrite each other. A save writes only the fields you changed and merges with anyone else's changes; if two people change the same field, the second is asked to reload instead of losing the first. Background jobs claim work atomically, so nothing is processed twice. The same on all three databases.
Data Retention
Automated cleanup and retention policies for notifications, email messages, webhook deliveries, sessions, push subscriptions, audit and security logs and deleted accounts, on configurable schedules.
File Storage
Per-organisation uploads in your database's own blob store (GridFS, PostgreSQL or SQL Server), or in Azure Blob or S3, behind one interface. The default follows your database, so nothing extra to deploy. Files are encrypted by the app before they reach storage, unless you choose to have a cloud bucket serve them directly, and each records where and how it was written, so switching storage provider or settings never orphans old uploads.
Encryption at Rest
Tag a property and it is encrypted on every write and decrypted on read — API keys, secrets and personal data — and uploaded files are encrypted too (except any you choose to serve straight from a cloud bucket). Keys rotate every 90 days and are wrapped by a separate key-encrypting key: a recovery key, your configuration or Azure Key Vault.
Performance & Monitoring
Resilience
Outbound HTTP calls for email, SMS, push, AI, PayPal, webhooks and Cloudflare go through one policy stack — timeouts, circuit breakers, per-provider rate limits, and retries only where a retry can't send something twice — configured rather than hand-rolled.
Caching
Redis-backed caching, ready-made output-cache policies for your pages, and a SignalR backplane, so the Full shape can scale out across instances.
Monitoring & Observability
OpenTelemetry traces, metrics and logs from every service, sent to Grafana, Datadog or any OpenTelemetry tool by setting one endpoint. Optional bundled Grafana with thirteen dashboards and 27 alert rules, and API usage metered per organisation in the platform console.
DevOps & Deployment
Container Ready
Docker images for every service, with pinned base images, health checks, and Compose files for each shape and database.
Full or Lite
Full gives the web app, worker and API their own containers with Redis, and scales out. Lite runs every feature in just two containers: the web app and its database.
Automated Deployment
Azure DevOps or GitHub Actions, pushing to the container registry of your choice (Docker Hub, Azure Container Registry, or GHCR) — one multi-stage pipeline that tests, builds and deploys — migrations run first, and the app starts only if they succeed.
Internal API Service
A separate API service with JWT client-credentials authentication and organisation-scoped endpoints — ready for work you want off the web front end.
Licensing
One product, every feature — free until you pass £100k a year
💼 Free — the complete source and every feature, free to use (including commercially) while your business is under £100k/year revenue. Free deployments keep a small "Powered by Blazor Blueprint" credit.
🏢 Paid — once you reach £100k/year, a one-time commercial licence keeps you going. Same full product — no features are gated — and you may remove the credit. See plans and pricing →
Ready to Build Your SaaS?
Start building immediately — no credit card required