Skip to content
CAI
Software that uses CAICheck a score

mizrael/EFCoreCommerceDemo

56.2

Weak · 21 September 2026

762

lines of production code

C#

primary language

4

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 watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 56 → 56 (-0.0)
  • Rubric changed (rubric-2026.08.18 → rubric-2026.09.15) — scores are not directly comparable.

Lenses

  • Code Health 76 → 76 (-0.1)
  • Architecture 69 → 69 (+0.0)
  • Maturity 61 → 61 (+0.0)
  • Readiness 44 → 44 (+0.0)
  • Security 77 → 77 (-0.5)

Resolved (10)

  • Medium CVE: Azure.Identity 1.6.0
  • Medium CVE: Azure.Identity 1.6.0
  • Monorepo: only 1 of 2 solutions was scored
  • No exposed public API
  • early-stage repository — too few commits for a meaningful bus factor
  • early-stage repository — too little history to judge knowledge freshness
  • git history depth insufficient
  • git history depth insufficient
  • redundant comment (EFCoreCommerceDemo.Example2/EFCoreCommerceDemo.Example2/Startup.cs)
  • redundant comment (EFCoreCommerceDemo.Example2/EFCoreCommerceDemo.Example2/Startup.cs)

New (6)

  • Documentation: no installation or build instructions (README.md)
  • Documentation: no usage examples (README.md)
  • Duplicated block (12 lines × 2) (EFCoreCommerceDemo.Example2/EFCoreCommerceDemo.Example2/Infrastructure/EntityConfigurations/OrderLineEntityTypeConfiguration.cs)
  • End-of-life runtime: .NET net7.0
  • redundant comment (EFCoreCommerceDemo.Example2/EFCoreCommerceDemo.Example2/Startup.cs)
  • redundant comment (EFCoreCommerceDemo.Example2/EFCoreCommerceDemo.Example2/Startup.cs)

API surface

  • Unchanged — 7 HTTP endpoints

Architecture

  • Unchanged — 2 containers · 0 contexts · 0 edges

Written by watchdog.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 21 September 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.09.15 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-28e75b8e3254.