Building a SaaS Task Tracker with C# and Claude Code
Build a complete multi-tenant SaaS app (TeamTrackr) with C# and Claude Code. Covers auth, RBAC, SignalR, Stripe billing, blob storage, search, testing, Docker, and CI/CD — from empty project to launch-ready product.
View badge details
About This Course
Course Curriculum
28 Lessons
SaaS Architecture & Multi-Tenancy
Multi-tenancy strategies, EF Core global query filters, tenant resolution middleware, data isolation.
SaaS Architecture & Multi-Tenancy - Lab Exercises
Set up the TeamTrackr solution, implement tenant model with TenantId, add global query filters.
Authentication with ASP.NET Identity
ASP.NET Identity setup, JWT token generation, refresh tokens, registration and login flows.
Authentication with ASP.NET Identity - Lab Exercises
Add Identity to the project, implement auth endpoints, secure existing endpoints with JWT.
Authorization & Role-Based Access
Role-based auth, authorization policies, resource-based authorization, tenant-scoped roles.
Authorization & Role-Based Access - Lab Exercises
Implement role system, add authorization policies, build tenant invitation flow.
Building the Core API
Domain modeling for task trackers, CRUD with authorization, DTOs, pagination, API conventions.
Building the Core API - Lab Exercises
Build Projects, Tasks, Comments, Labels CRUD with proper authorization checks.
Real-Time Updates with SignalR
SignalR hubs, connection management, groups, broadcasting events, reconnection handling.
Real-Time Updates with SignalR - Lab Exercises
Add TaskHub for live updates, implement notification feed, add presence indicators.
Background Jobs & Email
.NET BackgroundService, hosted services, email notifications, scheduled reminders.
Background Jobs & Email - Lab Exercises
Build task reminder service, daily digest emails, overdue task escalation.
Stripe Integration & Billing
Subscription model, Checkout Sessions, webhooks, feature gating by plan.
Stripe Integration & Billing - Lab Exercises
Implement 3 subscription plans, checkout flow, webhook handler, feature limits.
File Storage & Attachments
File storage concepts, presigned URLs, file validation, storage quotas, upload/download.
File Storage & Attachments - Lab Exercises
Add file attachments to tasks, implement upload/download, add storage quotas per plan.
Search & Filtering
Full-text search, EF Core query building, specification pattern, saved filters, cursor pagination.
Search & Filtering - Lab Exercises
Implement global search, advanced filter builder, saved views per user.
API Versioning & External Integration
API versioning strategies, API key authentication, rate limiting middleware.
API Versioning & External Integration - Lab Exercises
Add API key auth, implement rate limiting, generate API keys per tenant.
Testing a SaaS Application
Integration testing with WebApplicationFactory, tenant isolation tests, mocking external services, test data builders.
Testing a SaaS Application - Lab Exercises
Write 30+ integration tests covering auth, CRUD, tenant isolation, billing webhooks.
Monitoring, Logging & Health Checks
Structured logging, correlation IDs, health checks, metrics, request logging middleware.
Monitoring, Logging & Health Checks - Lab Exercises
Add structured logging, health check endpoints, correlation IDs, request timing.
Docker & Deployment
Dockerfile, docker-compose, environment configuration, CI/CD with GitHub Actions.
Docker & Deployment - Lab Exercises
Create Dockerfile, docker-compose, set up GitHub Actions CI pipeline.
Capstone Briefing — Launch Your SaaS
Review all systems, onboarding UX, seed data strategy, production checklist, grading criteria.
Capstone: Launch Your SaaS
Polish TeamTrackr — add onboarding flow, seed demo data, write CLAUDE.md, final code review.