Skip to content
CAI
Software that uses CAICheck a score

aspnetrun/run-aspnetcore-microservices

28.2

Weak · 8 November 2026

2.8k

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 8-based e-commerce microservices architecture designed for local development and containerized deployment. It comprises distinct services for catalog management, shopping cart operations, and order processing, all orchestrated via Docker Compose. The application provides a web interface for shopping and checkout, while backend services handle data persistence and business logic through gRPC and message-based communication.

Features

Add .NET 8-based Dockerfiles and shopping web application pages

The YarpApiGateway and Shopping.Web applications now include Dockerfiles that build against the .NET 8.0 SDK and runtime images, enabling containerized deployment for these services. Additionally, the Shopping.Web web app introduces new Razor Pages for the shopping experience, including a cart, checkout, order history, and product listing pages, along with the corresponding C\# code-behind files and data models.

src/ApiGateways, src/BuildingBlocks, src/WebApps · high confidence

Add basket and catalog services with .NET 8 and gRPC discount integration

The Basket and Catalog services are introduced, each built on .NET 8 and containerized via new Dockerfiles. The Basket service exposes endpoints to store, retrieve, and delete shopping carts, and to process checkouts by publishing events via MassTransit. The Catalog service provides endpoints to create, update, delete, and query products, with initial seed data. The Basket service integrates with a gRPC-based Discount service to calculate final prices before persisting cart data.

src/Services · high confidence

Added Docker Compose configuration and Postman collection for local development

Developers can now run the entire eShop microservices architecture locally using Docker Compose, with all services (Catalog, Basket, Discount, Ordering, YARP API Gateway, and Shopping Web) defined in new \docker-compose.yml\ and \docker-compose.override.yml\ files. A \.dockerignore\ file has been added to optimize the build context, and a \launchSettings.json\ file configures Visual Studio to launch all services via Docker Compose. Additionally, a Postman collection (\EShopMicroservices.postman\_collection.json\) is provided to test the Catalog and Basket APIs.

src · high confidence

Dependencies

Upgrade to .NET 8 across all services

All .NET project files in the repository have been updated to target .NET 8.0 (net8.0). This upgrade brings the application to the latest long-term support version of the .NET platform, which may include performance improvements, new language features, and updated base class libraries. Developers and operators should ensure their build environments support .NET 8.

(dependencies) · high 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 28 → 28 (+0.3)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 75 → 76 (+0.9)
  • Architecture 82 → 82 (+0.0)
  • Maturity 44 → 44 (+0.0)
  • Readiness 13 → 13 (+0.0)
  • Security 26 → 27 (+0.9)
  • Domain Modelling 84 → 84 (-0.3)
  • Event-Driven 100 → 100 (+0.0)
  • Accessibility 42 → 42 (+0.2)
  • Performance 70 → 70 (+0.0)

Resolved (11)

  • The type name DatabaseExtentions contains a typo. It should be DatabaseExtensions. This typo is carried through to the method SeedProductAsync which is defined on this type. While the method name itself is consistent with its role, the type name is misspelled.
  • XML-doc coverage: Basket.API (src/Services/Basket/Basket.API/Basket.API.csproj)
  • XML-doc coverage: BuildingBlocks (src/BuildingBlocks/BuildingBlocks/BuildingBlocks.csproj)
  • XML-doc coverage: BuildingBlocks.Messaging (src/BuildingBlocks/BuildingBlocks.Messaging/BuildingBlocks.Messaging.csproj)
  • XML-doc coverage: Catalog.API (src/Services/Catalog/Catalog.API/Catalog.API.csproj)
  • XML-doc coverage: Discount.Grpc (src/Services/Discount/Discount.Grpc/Discount.Grpc.csproj)
  • XML-doc coverage: Ordering.API (src/Services/Ordering/Ordering.API/Ordering.API.csproj)
  • XML-doc coverage: Ordering.Application (src/Services/Ordering/Ordering.Application/Ordering.Application.csproj)
  • XML-doc coverage: Ordering.Domain (src/Services/Ordering/Ordering.Domain/Ordering.Domain.csproj)
  • XML-doc coverage: Ordering.Infrastructure (src/Services/Ordering/Ordering.Infrastructure/Ordering.Infrastructure.csproj)
  • XML-doc coverage: Shopping.Web (src/WebApps/Shopping.Web/Shopping.Web.csproj)

New (14)

  • Duplicated block (5 lines × 2) (src/Services/Basket/Basket.API/Program.cs)
  • redundant comment (src/ApiGateways/YarpApiGateway/Program.cs)
  • redundant comment (src/ApiGateways/YarpApiGateway/Program.cs)
  • redundant comment (src/Services/Basket/Basket.API/Program.cs)
  • redundant comment (src/Services/Basket/Basket.API/Program.cs)
  • redundant comment (src/Services/Catalog/Catalog.API/Program.cs)
  • redundant comment (src/Services/Catalog/Catalog.API/Program.cs)
  • redundant comment (src/Services/Discount/Discount.Grpc/Program.cs)
  • redundant comment (src/Services/Discount/Discount.Grpc/Program.cs)
  • redundant comment (src/Services/Ordering/Ordering.API/Program.cs)
  • redundant comment (src/Services/Ordering/Ordering.API/Program.cs)
  • redundant comment (src/Services/Ordering/Ordering.Infrastructure/DependencyInjection.cs)
  • redundant comment (src/WebApps/Shopping.Web/Program.cs)
  • redundant comment (src/WebApps/Shopping.Web/Program.cs)

API surface

  • Unchanged — 17 HTTP endpoints

Architecture

  • Unchanged — 9 containers · 1 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

aspnetrun/run-aspnetcore-microservices 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 e3549abf009c71e8c2550f292f3a8edf110550a1 — 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.