Skip to content

Clean Architecture: EventTicketing sample on .NET 10 - #2238

Merged
vladimir-pecanac-main merged 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/109602-dotnet-clean-architecture
Sep 24, 2026
Merged

vladimir-pecanac-main merged 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/109602-dotnet-clean-architecture

Conversation

@vladimir-pecanac-main

Copy link
Copy Markdown
Collaborator

Replaces the ToDoApp sample in csharp-architectural-patterns/CleanArchitecture with the EventTicketing sample used by the rewritten article "Clean Architecture in C# and .NET: A Step-by-Step Guide" (https://code-maze.com/dotnet-clean-architecture/).

  • Domain, Application, Infrastructure and Api projects, net10.0
  • Result pattern mapped to ProblemDetails, plain use-case handlers (no MediatR)
  • EF Core with SQLite
  • Unit tests with hand-written fakes, NetArchTest architecture tests for the Dependency Rule

Local run: dotnet build EventTicketing.sln, 0 warnings; dotnet test, 6 unit and 3 architecture tests passing.

Only this folder changes.

… .NET 10

The article is rewritten around a small ticket-reservation API: Domain, Application,
Infrastructure and Api projects, the Result pattern mapped to ProblemDetails, plain
use-case handlers (no MediatR), EF Core with SQLite, unit tests with fakes, and
NetArchTest architecture tests that enforce the Dependency Rule.

Targets net10.0. Build: 0 warnings. Tests: 6 unit, 3 architecture, all passing.
@vladimir-pecanac-main
vladimir-pecanac-main merged commit 7ea6853 into CodeMazeBlog:main Sep 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant