Bloqs Solution Structure
The Bloqs Start Template contains a Visual Studio solution (.sln) with multiple projects. Each project has a dedicated purpose and together they form the foundation of a Bloqs application.
Projects overview
📂 Api
The Bloqs Web API project.
Provides endpoints for interacting with data and services.
Acts as the backend entry point for external clients.
This is the place to implement command handlers that respond to (CRUD) operations performed in the API.

📂 AppHost
The .NET Aspire host project.
Coordinates the application and its dependencies.
This is the startup project — set this as the default when running the solution.

📂 Models
Contains the Bloqs models used throughout the solution.
Includes the application declaration and shared data contracts.
Provides a central place to define and manage domain models.

📂 ServiceDefaults
Provides Aspire extensions for the solution.
📂 UserInterface
The Blazor UI project.
Provides the main user interface.
This is the place to implement command handlers that respond to user actions (CRUD, operations) in the UI.

📂 UserInterface.Components
A Blazor component library project.
Enables you to add your own custom components for the UI.
Keeps UI code modular and reusable across the solution.

Last updated