Nano ASP.NET SaaS Boilerplate

A clean architecture ASP.NET multi-tenant API with Vue, React and Razor Pages UI for building SaaS applications.

Overview

The minimal ASP.NET boilerplate for individual developers and small teams

A simpler alternative to the ABP framework. Unopinionated and easy to adapt. A full-stack SaaS boilerplate that doesn't force you to relearn everything.

Essential SaaS MVP Features

  • Authorization / Authentication: Pre-configured authentication with ASP Identity, JWT and cookie-based authentication, refresh tokens, mailing infrastructure
  • Users / Roles: User management, role-based access control, password reset flows
  • Profiles / Preferences: Profile management, theme settings, avatar uploads
  • Multi-Tenancy: Support for single database & per-tenant database models, tenant isolation control
  • CRUD Operations: Sample entity with services, generic repository pattern, automated DTO mappings
  • Clean Architecture: Domain, Application, Infrastructure and Presentation layers
  • Multiple UI Options: Vue 3, React, and MVC Razor UI versions included

Technical Highlights

  • Latest ASP.NET 9 framework
  • Entity Framework Core
  • 22+ API endpoints
  • Extensive documentation
  • Bootstrap 5 styling
  • Light/dark mode
  • Complete API testing with Postman collection
Ryan Lewis's profile picture

Ryan Lewis

Related Boilerplates

Visit website for LaunchFast

LaunchFast

Production-Ready SaaS Starter Kits in Astro, Next.js, and SvelteKit

JavaScript
TypeScript
HTML
React
Tailwind CSS
DynamoDB
Firestore
MongoDB
PostgreSQL
Redis
SQLite
Lemon Squeezy
Stripe
Astro
Next.js
Preact
React
SolidJS
Svelte
SvelteKit
Vue.js

Features:

AI
Analytics
Auth
Blog
ContentLayer
Docs
Emails
+4 more
Visit website for Supastarter

Supastarter

Scalable and production-ready SaaS starter kit for Next.js, Nuxt, and SvelteKit.

JavaScript
TypeScript
Radix UI
Radix Vue
shadcn/ui
Tailwind CSS
Prisma
Chargebee
Creem
Lemon Squeezy
Polar
Stripe
Next.js
Nuxt
React
Svelte
SvelteKit
Vue.js

Features:

Access Control
AI
Analytics
API
Auth
Blog
Contact
+10 more
Visit website for Volca

Volca

SaaS Boilerplate and Starter Kit with Node.js and React

JavaScript
TypeScript
React
PostgreSQL
Stripe
AWS CDK
Node.js
React

Features:

Auth
AWS
CI/CD
IaC
Logging
Multi-Tenancy
Serverless
+2 more
Visit website for SaaSBold

SaaSBold

Full-stack, production ready Next.js SaaS boilerplate and starter kit

JavaScript
TypeScript
Tailwind CSS
PostgreSQL
Lemon Squeezy
Paddle
Stripe
Next.js
React

Features:

Admin
AI
Analytics
API
Auth
CRUD
i18n
+6 more
Visit website for DirectoryFast

DirectoryFast

Launch trending directories in minutes with this ready-to-use template

JavaScript
TypeScript
AutoAnimate
shadcn/ui
Tailwind CSS
PostgreSQL
Prisma
Lemon Squeezy
Next.js
React
TanStack

Features:

Admin
Auth
Dashboard
Emails
Monetization
SEO
Visit website for Shipped

Shipped

The Next.js SaaS Boilerplate for busy developers

JavaScript
TypeScript
ChakraUI
shadcn/ui
Tailwind CSS
MongoDB
MySQL
PostgreSQL
Prisma
Lemon Squeezy
Stripe
Next.js
React

Features:

AI
Auth
Blog
Charts
Dashboard
Emails
Landing Page
+6 more

Frequently Asked Questions

C#

What makes C# ideal for SaaS development?

C# excels in SaaS development due to its robust ecosystem, strong typing capabilities, and excellent library support. C# boilerplates leverage language-specific features to provide type-safe database queries, efficient API routing, and optimized runtime performance. The language's maturity means you get battle-tested packages for authentication, payment processing, and background jobs that integrate seamlessly.

JavaScript

What makes JavaScript ideal for SaaS development?

JavaScript excels in SaaS development due to its robust ecosystem, strong typing capabilities, and excellent library support. JavaScript boilerplates leverage language-specific features to provide type-safe database queries, efficient API routing, and optimized runtime performance. The language's maturity means you get battle-tested packages for authentication, payment processing, and background jobs that integrate seamlessly.

TypeScript

What makes TypeScript ideal for SaaS development?

TypeScript excels in SaaS development due to its robust ecosystem, strong typing capabilities, and excellent library support. TypeScript boilerplates leverage language-specific features to provide type-safe database queries, efficient API routing, and optimized runtime performance. The language's maturity means you get battle-tested packages for authentication, payment processing, and background jobs that integrate seamlessly.

ASP.NET

What ASP.NET-specific architecture patterns are implemented?

ASP.NET boilerplates leverage the framework's native architecture patterns including its routing system, middleware pipeline, and controller/handler structure. They implement ASP.NET's conventions for separating concerns, dependency injection, and service layer patterns. The codebase follows ASP.NET's best practices for organizing models, views/components, and business logic to ensure maintainability as your application grows.

Entity Framework

What Entity Framework-specific architecture patterns are implemented?

Entity Framework boilerplates leverage the framework's native architecture patterns including its routing system, middleware pipeline, and controller/handler structure. They implement Entity Framework's conventions for separating concerns, dependency injection, and service layer patterns. The codebase follows Entity Framework's best practices for organizing models, views/components, and business logic to ensure maintainability as your application grows.

MVC Razor

What MVC Razor-specific architecture patterns are implemented?

MVC Razor boilerplates leverage the framework's native architecture patterns including its routing system, middleware pipeline, and controller/handler structure. They implement MVC Razor's conventions for separating concerns, dependency injection, and service layer patterns. The codebase follows MVC Razor's best practices for organizing models, views/components, and business logic to ensure maintainability as your application grows.

React

What React-specific architecture patterns are implemented?

React boilerplates leverage the framework's native architecture patterns including its routing system, middleware pipeline, and controller/handler structure. They implement React's conventions for separating concerns, dependency injection, and service layer patterns. The codebase follows React's best practices for organizing models, views/components, and business logic to ensure maintainability as your application grows.

Vue.js

What Vue.js-specific architecture patterns are implemented?

Vue.js boilerplates leverage the framework's native architecture patterns including its routing system, middleware pipeline, and controller/handler structure. They implement Vue.js's conventions for separating concerns, dependency injection, and service layer patterns. The codebase follows Vue.js's best practices for organizing models, views/components, and business logic to ensure maintainability as your application grows.

Bootstrap

What Bootstrap-specific component architecture is used?

Bootstrap boilerplates follow the framework's component composition patterns with reusable, atomic design components. They implement Bootstrap's best practices for component structure, props handling, event management, and lifecycle methods. The component library includes authentication flows, dashboards, data tables, forms with validation, and navigation—all built with Bootstrap's native features like hooks (React), composition API (Vue), or directives (Angular).

PostgreSQL

What PostgreSQL-specific features are leveraged in these boilerplates?

PostgreSQL boilerplates utilize the database's native capabilities including its transaction model (ACID for SQL, eventual consistency for NoSQL), indexing strategies (B-tree, GiST, full-text search), and advanced features like JSON columns, array types, window functions, or document queries. The schema design takes advantage of PostgreSQL's strengths—whether that's PostgreSQL's JSONB, MySQL's full-text search, MongoDB's aggregation pipeline, or Redis's data structures.

C#

What C#-specific tools and libraries are included?

C# boilerplates include the language's most popular and production-proven tools. This typically includes testing frameworks, linters, formatters, build tools, and package managers specific to C#. You'll get pre-configured toolchains that enforce best practices, automated testing pipelines, and development environments optimized for C# development workflows.

JavaScript

What JavaScript-specific tools and libraries are included?

JavaScript boilerplates include the language's most popular and production-proven tools. This typically includes testing frameworks, linters, formatters, build tools, and package managers specific to JavaScript. You'll get pre-configured toolchains that enforce best practices, automated testing pipelines, and development environments optimized for JavaScript development workflows.

TypeScript

What TypeScript-specific tools and libraries are included?

TypeScript boilerplates include the language's most popular and production-proven tools. This typically includes testing frameworks, linters, formatters, build tools, and package managers specific to TypeScript. You'll get pre-configured toolchains that enforce best practices, automated testing pipelines, and development environments optimized for TypeScript development workflows.

ASP.NET

How does ASP.NET's ORM/database layer work in these boilerplates?

ASP.NET boilerplates use the framework's native ORM or query builder (Prisma, Eloquent, Active Record, SQLAlchemy, etc.) with pre-configured models for users, subscriptions, teams, and common SaaS entities. They include optimized queries, relationships, migrations, seeders, and database connection pooling. The implementation leverages ASP.NET's specific features like eager loading, query scopes, and transaction handling for performance.

Entity Framework

How does Entity Framework's ORM/database layer work in these boilerplates?

Entity Framework boilerplates use the framework's native ORM or query builder (Prisma, Eloquent, Active Record, SQLAlchemy, etc.) with pre-configured models for users, subscriptions, teams, and common SaaS entities. They include optimized queries, relationships, migrations, seeders, and database connection pooling. The implementation leverages Entity Framework's specific features like eager loading, query scopes, and transaction handling for performance.