Table of Contents

Introduction

The CodeBlock DevKit SaaS Template already gives you common SaaS capabilities through pre-built DevKit modules.

This section focuses on the next step: building your own product-specific features on top of that foundation.

To make the process practical, we will use the template's DemoThing feature as a reference implementation and show how the same pattern can be applied to your own feature.

In order, you will find:

  • Domain model — Define your core business entity and rules.
  • Use cases — Implement application-level operations for your feature.
  • Application services — Organize reusable feature logic for your app layer.
  • REST API — Expose your feature through HTTP endpoints.
  • UI — Add Blazor or Razor UI in the admin panel, user panel, or public website.

By the end of this category, you will have a clear, repeatable path for building your own features while keeping DevKit modules as the shared SaaS base.