matjaz-bravc-ctg/CQRS.MinimalAPI.Demo
38.7
Weak · 8 November 2026
752
lines of production code
C#
primary language
7
measurements over time
What this system is
This system is a .NET 8-based web API that implements the CQRS (Command Query Responsibility Segregation) pattern for managing student records. It utilizes MediatR for command and query handling, Entity Framework Core with SQLite for data access, and exposes a RESTful interface via Minimal APIs. The architecture separates write operations (commands) from read operations (queries) to optimize data schemas and enable independent scaling.
Features
Initial commit: CQRS-based Student management API
The demo application now implements a complete CQRS (Command Query Responsibility Segregation) architecture for managing students. This includes a \DataContext\ for Entity Framework Core with an initial migration, a \DataSeeder\ to populate the database with sample student records, and a set of MediatR commands and queries (Create, Delete, Update, GetAll, GetById, GetByName) with their respective handlers. These are wired to Minimal API endpoints that expose a RESTful interface for student operations, supported by a generic \BaseRepository\ and specific \StudentsRepository\ for data access.
src/CQRS.MinimalAPI.Demo · high confidence
Behavioural changes
Updated project documentation and configuration files
The README.md has been expanded to provide a comprehensive overview of the CQRS pattern implementation, detailing the separation of commands and queries, benefits such as independent scaling and optimized data schemas, and the specific technologies used (Minimal API, MediatR, SQLite, EFCore 8). The LICENSE file was updated to reflect the correct copyright year (2020). Additionally, .gitattributes and .gitignore were added/updated to handle line endings, binary files, and Visual Studio/MSBuild artifacts, while the solution file was regenerated for .NET 8.
(repo-wide) · high confidence
Dependencies
Initial commit adding .NET 8 demo project with MediatR, Entity Framework Core, and Swashbuckle
A new .NET 8 web application project has been added to the solution, establishing the baseline dependencies for the CQRS demo. The project targets .NET 8.0 and includes MediatR (v12.4.1), Microsoft.EntityFrameworkCore.Sqlite and Tools (v8.0.10), MiniValidation (v0.9.1), and Swashbuckle.AspNetCore (v7.2.0) as NuGet package references.
(dependencies) · medium confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.
Score
- CAI 39 → 39 (+0.1)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 93 → 93 (+0.0)
- Architecture 69 → 69 (+0.0)
- Maturity 51 → 54 (+2.8)
- Readiness 21 → 21 (+0.0)
- Security 40 → 39 (-0.9)
- Performance 100 → 100 (+0.0)
Resolved (2)
- Low XML-doc coverage: CQRS.MinimalAPI.Demo (src/CQRS.MinimalAPI.Demo/CQRS.MinimalAPI.Demo.csproj)
- redundant comment (src/CQRS.MinimalAPI.Demo/Program.cs)
New (6)
- Documentation: no build, run or usage example (README.md)
- Medium: security finding (details withheld)
- Medium: security finding (details withheld)
- Medium: security finding (details withheld)
- Medium: security finding (details withheld)
- Medium: security finding (details withheld)
API surface
- Unchanged — 7 HTTP endpoints
Architecture
- Unchanged — 2 containers · 0 contexts · 0 edges
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
matjaz-bravc-ctg/CQRS.MinimalAPI.Demo was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 8 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 6d63d7dab6407be9663a67c68225178fede3c782 — the exact code this score is about.
- Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-45ab2cab63de.