The .NET SaaS boilerplate

The .NET 10 source code for tenants, Stripe billing, sign-in and an admin backoffice, in five web UIs. From $149, paid once.

The backoffice comes built. Each customer runs their own organization.

Platform admins see every tenant, its members and its plan. Organization owners manage their own users, billing, API keys and audit logs.

Open the live demo

Runs on .NET 10 and PostgreSQL

One API in five layers: Domain, Application, Contracts, Infrastructure and API. EF Core talks to PostgreSQL, Redis caches, and Hangfire runs email and push jobs.

  • One Docker image serves your front end and the API
  • A migration image runs before each release
  • 300+ unit tests and a Playwright suite across the UIs

Read the architecture docs

Features that work on the first run. Billing, sign-in, tenants and the admin.

Bills each organization through Stripe

Checkout, the customer portal and webhooks keep every plan in sync, with a searchable payment history.

  • Payment succeededACME Company, Starter, $9.00View
  • SIStark Industries changed planStarter to Pro, prorated today
  • Webhook handledinvoice.paid, subscription renewed

Signs people in with Google, 2FA and API keys

Or with email and password. The refresh token lives in an httpOnly cookie, out of reach of script.

Platform settings
3 of 4 on
  • Allow registrationNew users can sign up
  • Google sign-inShow Continue with Google
  • Email notificationsSet per organization
  • Beta featuresSet per organization

Scopes every API query to one tenant

The organization in the request decides what data comes back, and access fails closed. Roles are set per organization.

Shows admins the whole SaaS

MRR, subscriptions and churn, system health, every user, and impersonation for support calls.

MRR Last 12 months
$396 8 active subscriptions

Five web UIs and a mobile app. All of them call one API.

Starter includes the web UI you pick. Pro and Enterprise include all five and the iOS and Android app.

The same pages in every web UI: Dashboard, Organizations, Users, Billing, API keys, Permissions, Notifications, Analytics, Audit logs, Health checks, Cache, Email previews and Products.

Plans and prices

Pay once. Every plan has the full source code, every backend feature and lifetime updates.

Starter

For solo developers

Was $199$149USD

  • One web UI
  • Unlimited personal projects, no client work
  • Email support

Pick your web UI

Enterprise

For teams that need guidance

$599USD

  • Everything in Pro
  • 5 hours of consulting and training

Questions

Anything else goes to the same inbox as support.

Email hi@dotnetsaas.dev

What stack does the boilerplate use?

.NET 10, ASP.NET Core, EF Core and PostgreSQL, with Redis, Hangfire and S3-compatible storage.

Does the boilerplate include all source code?

Yes, complete and unobfuscated.

How do I deploy the API?

Run the migration image, then the production image. The README covers Docker Compose, Coolify, Dokploy, Fly.io, Render and Kubernetes.

Do all five web UIs have every feature?

Nearly. The demo page lists each gap.

How does support work?

By email; Pro and Enterprise are answered first. Read how support works.

Jose Barbosa

Jose Barbosa, the maker

Ten years of .NET at Thoughtworks, Seven Peaks and Lambda3, and organizer of .NET Conf Thailand. Support email comes to me.