SaaS · Multi-Tenant · .NET 10 · Blazor Server · VSA

Blazor HRM Multi-Tenant

SaaS HRM with Multi-Tenancy — Complete Source Code

A production-ready multi-tenant SaaS HRM application to manage workforce across multiple organizations from a single deployment. Built with .NET 10, ASP.NET Core, Blazor Server, MudBlazor, and Vertical Slice Architecture. Complete tenant isolation with EF Core global query filters.

$21 $49
Instant Download
Blazor HRM Multi-Tenant Dashboard — SaaS HRM .NET 10 Blazor Server
The Problem

Business Problems Solved by Blazor HRM Multi-Tenant

HRM Multitenant: The Next-Gen People Engine: Built for Scale, Engineered for Excellence.

Managing Multiple Client Workforces

Running separate HRM instances for each client is costly. Blazor HRM Multi-Tenant allows multiple organizations to share one deployment with complete workforce data isolation via TenantId global query filters. Add new client organizations in seconds.

Confidential Employee Data Leakage

Employee data is highly confidential. Without proper isolation, one client's workforce data could leak to another. EF Core global query filters automatically scope every query. Tenant A's employees, salaries, and leave records are invisible to Tenant B.

Disconnected Leave & Attendance Per Tenant

Each tenant needs their own leave policies and attendance tracking. Blazor HRM Multi-Tenant provides tenant-scoped leave management with approval workflows, attendance logging, and calendar views — all isolated per organization.

No Tenant-Aware Workforce Analytics

HR service providers need per-tenant dashboards and reports. Blazor HRM Multi-Tenant includes tenant-aware workforce dashboards with headcount, department distribution, leave balances, and attendance metrics — all scoped per organization.

Business Features

What's Included in Blazor HRM Multi-Tenant

Complete end-to-end business features with multi-tenant isolation — every module is a complete vertical slice with endpoint, handler, validator, and EF Core queries.

Profile

Personal Info, Password, Avatar, Session

Leave Management

Leave Request, Leave Categories, Leave Balance

Performance

Evaluation, Appraisal, Promotion, Transfer

Organization

Branches, Departments, Designations, Employees

Payroll Process

Salary Grades, Income, Deduction

System Logs

Database log, File log

App Settings

Users, Currencies, Auto Number

System Settings

full inspection mode for appsettings.json

Technology

Technologies Used

.NET 10 ASP.NET Core 10 Blazor Server MudBlazor ASP.NET Core Minimal APIs Entity Framework Core 10 MediatR + CQRS FluentValidation Swagger / OpenAPI SignalR
LayerTechnology
Framework.NET 10
Web FrameworkASP.NET Core 10
UI RenderingBlazor Server (SignalR-based real-time UI)
UI LibraryMudBlazor (Material Design for Blazor)
ArchitectureVertical Slice Architecture (VSA) + CQRS via MediatR
Multi-TenancyEF Core Global Query Filters with TenantId isolation
API StyleASP.NET Core Minimal APIs with Swagger/OpenAPI
Data AccessEntity Framework Core 10 (Code-First, Migrations, Compiled Queries)
DatabaseSQL Server (fully tested) / PostgreSQL (scaffolded)
ValidationFluentValidation
AuthenticationASP.NET Core Identity + JWT Bearer Token
AuthorizationRole-Based (RBAC) + Policy-Based Authorization
Real-TimeSignalR (built into Blazor Server)
Architecture

Application Architecture

Blazor HRM Multi-Tenant uses Vertical Slice Architecture (VSA) with CQRS via MediatR and EF Core global query filters for complete tenant isolation across all workforce features.

Vertical Slice Architecture

Each feature (Create Employee, Approve Leave, etc.) lives in its own folder with endpoint, MediatR handler, validator, and EF Core queries — all in one place. Every handler automatically applies tenant filtering.

Multi-Tenant Isolation

Tenant isolation via EF Core global query filters. Every entity has TenantId; EF Core auto-applies .Where(e => e.TenantId == currentTenantId) to all queries. Zero data leakage by design.

Single-Project Monolith

The entire multi-tenant HRM application lives in one .NET 10 project. No distributed complexity. Single F5 to run. Deploy as one unit. Perfect for SaaS HR service providers.

Project Structure Overview

BlazorHRMMultiTenant/
├── Features/
│   ├── Tenants/
│   ├── Employees/
│   ├── Departments/
│   ├── Designations/
│   ├── LeaveManagement/
│   ├── Attendance/
│   ├── Payroll/
│   └── Dashboard/
├── Infrastructure/              # Auth, Audit, Tenant Resolution, EF Core
├── Migrations/
├── SeedData/                    # Demo tenants, users, employee sample data
├── Components/
└── Program.cs
Security

Security & Authorization

Blazor HRM Multi-Tenant ships with tenant-aware security. ASP.NET Core Identity manages users per tenant. JWT protects REST API, cookies protect Blazor UI. Both are tenant-scoped.

Role-based access control is fully tenant-scoped — each tenant has their own Admin, Manager, and User roles. EF Core global query filters guarantee employee data never leaks between tenants.

With Blazor Server, all employee data, source code, and database credentials never leave the server.

Security Features

  • Tenant Isolation — EF Core global query filters prevent data leakage
  • ASP.NET Core Identity — Per-tenant user management
  • JWT + Cookie Dual Auth — Tenant-scoped authentication
  • RBAC — Tenant-scoped Admin, Manager, User roles
  • Policy-Based Authorization — Fine-grained HR access control
  • Audit Trail — Every HR action logged with tenant + user ID
  • Server-Side Code — Employee data never leaves the server
Integration

REST API & Integration

API Endpoints (Tenant-Aware)

GET/api/employees— List employees (tenant-scoped)
GET/api/employees/{id}— Get employee (tenant-scoped)
POST/api/employees— Create employee (auto-assigned to tenant)
PUT/api/employees/{id}— Update employee
DELETE/api/employees/{id}— Delete employee

Same pattern for: Departments, Designations, Leave Requests, Attendance, Payroll.

API Features

  • Swagger/OpenAPI — Interactive docs at /swagger
  • JWT Authentication — Bearer token with tenant claim
  • Auto Tenant Scoping — Only tenant-owned data returned
  • FluentValidation — Input validation on all endpoints
  • Pagination & Filtering — Built-in query parameters
  • Mobile-Ready — Build mobile HR apps with this API
Database & Deployment

Database & Deployment

Database

  • SQL Server — Fully tested with EF Core migrations and seed data
  • PostgreSQL — Scaffolded (provider ready, not fully tested)
  • EF Core Migrations — Code-first with full migration history
  • Seed Data — Demo tenants, employees, departments, leave types
  • Compiled Queries — Optimized EF Core queries with tenant filtering

Deployment Options

  • Azure App Service — Deploy from Visual Studio or CI/CD
  • IIS — Standard ASP.NET Core publish
  • Docker — Containerize for any platform
  • Windows / Linux / macOS
  • Setup: Clone → connection string → F5 → multi-tenant running in 60s

Application Screenshots

Blazor HRM Multi-Tenant Dashboard Blazor HRM Multi-Tenant Employee Management Blazor HRM Multi-Tenant Tenant Management Blazor HRM Multi-Tenant Leave Management Blazor HRM Multi-Tenant Attendance Tracking Blazor HRM Multi-Tenant Payroll Reports Blazor HRM Multi-Tenant Analytics

Try the Live Demo

URL: https://blazor-saas-hrm.csharpasp.net/

Email: admin@root.com

Password: 123456

Get Blazor HRM Multi-Tenant Source Code

Complete, unrestricted C# source code. Single .NET 10 project. Clone, F5, serve multiple organizations.

$21 $49
Instant Download
Buy Now — $21 via Lemon Squeezy

Secure checkout via Lemon Squeezy. Lifetime access. No subscription.

FAQ

Frequently Asked Questions

Complete, unrestricted C# source code of the entire multi-tenant HRM application. Single .NET 10 project with VSA, EF Core global query filters, migrations, seed data with demo tenants. Clone, F5, serve multiple organizations immediately.
EF Core global query filters with TenantId on every entity. Each tenant sees only their employees, departments, and leave data. Zero data leakage — enforced at the database level.
Absolutely! Rebrand, add custom HR features, modify leave policies, integrate payroll systems. Deploy as your own SaaS platform. Each license covers one end product per client project. License details.
SQL Server fully tested. PostgreSQL scaffolded in codebase (provider + connection string ready, not fully tested).
Yes! Study real multi-tenant SaaS patterns, EF Core global query filters, VSA feature organization, and HRM domain design.
No refund due to digital nature. Test the fully functional live demo before buying. Full policy.