Skip to content
CAI
Software that uses CAICheck a score

mizrael/EFCoreCommerceDemo

55.4

Weak · 8 November 2026

1.1k

lines of production code

C#

primary language

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a .NET-based commerce demonstration application that implements a web API for managing products, quotes, and orders. It utilizes Entity Framework Core to handle data persistence and includes supporting infrastructure such as DTOs, value objects, and exception handling middleware. The codebase has been modernized to target .NET 7.0.

Features

Added new web API example for commerce domain

A new example application, EFCoreCommerceDemo.Example2, has been added to demonstrate a complete web API for managing products, quotes, and orders. This includes RESTful controllers for each domain entity, Entity Framework Core context and entity configurations, value objects for money and currency, and DTOs for API requests and responses. The example also features a custom exception handling middleware and a fake currency converter service.

EFCoreCommerceDemo.Example2 · high confidence

Behavioural changes

Renamed project and namespaces to EFCoreCommerceDemo.Example1

The project has been renamed from 'EFCoreCommerceDemo' to 'EFCoreCommerceDemo.Example1', including all associated namespaces (e.g., 'EFCoreCommerceDemo.Models' becomes 'EFCoreCommerceDemo.Example1.Models'). This change updates the solution file, all model classes (Order, Product, Quote, etc.), repository classes, and the database connection string to reflect the new project structure.

EFCoreCommerceDemo.Example1 · high confidence

Dependencies

Upgrade .NET and EF Core to version 7.0

The project files have been updated to target .NET 7.0 (previously .NET Core 3.0). Additionally, the Microsoft.EntityFrameworkCore.Relational and Microsoft.EntityFrameworkCore.SqlServer packages have been upgraded from version 3.0.0 to 7.0.1.

(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

Score

  • CAI 55 → 55 (+0.6)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 60 → 60 (+0.0)
  • Architecture 88 → 88 (+0.0)
  • Maturity 61 → 61 (+0.0)
  • Readiness 42 → 42 (+0.0)
  • Security 73 → 74 (+0.7)
  • Domain Modelling 100 (new)
  • Performance 100 → 100 (+0.0)

Resolved (6)

  • Documentation: no installation or build instructions (README.md)
  • XML-doc coverage: EFCoreCommerceDemo.Example1 (EFCoreCommerceDemo.Example1/EFCoreCommerceDemo.Example1/EFCoreCommerceDemo.Example1.csproj)
  • XML-doc coverage: EFCoreCommerceDemo.Example2 (EFCoreCommerceDemo.Example2/EFCoreCommerceDemo.Example2/EFCoreCommerceDemo.Example2.csproj)
  • misleading comment (EFCoreCommerceDemo.Example1/EFCoreCommerceDemo.Example1/Program.cs)
  • misleading comment (EFCoreCommerceDemo.Example1/EFCoreCommerceDemo.Example1/Program.cs)
  • redundant comment (EFCoreCommerceDemo.Example2/EFCoreCommerceDemo.Example2/Services/FakeCurrencyConverter.cs)

New (1)

  • End-of-life runtime: .NET net7.0 (EFCoreCommerceDemo.Example1/EFCoreCommerceDemo.Example1/EFCoreCommerceDemo.Example1.csproj)

API surface

  • Unchanged — 7 HTTP endpoints

Architecture

  • Containers 0 added · 0 removed · contexts 2 added · 0 removed · edges 0 added · 0 removed

Added bounded contexts (2)

  • EFCoreCommerceDemo.Example1
  • EFCoreCommerceDemo.Example2

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

mizrael/EFCoreCommerceDemo 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 09f53de3f8c1c8bae68bff50e6702fa99bb59b2c — 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.