Lesson 17 of Procure-to-Pay: Enterprise Blazor with Clean Architecture.
Covers §5.1 — The Domain Layer.
Chapters
0:00 A Bare decimal Is a Defect Waiting for a Deployment
0:41 A readonly record struct
1:30 The Operators Enforce the Rule
2:10 One Helper the Match Engine Will Need
2:53 Why Currency Mismatch Throws Instead of Returning a Result
3:34 The Test Worth Internalising
Built with Visual Studio 2026, .NET 10, C# 14, Blazor Web App (Auto),
EF Core 10, SQL Server and Radzen Blazor Components.
Get the book — "Procure-to-Pay" by Benjamin Fadina:
Procure-to-Pay : Building an Enterprise Blazor Application with Clean Architecture, CQRS, Entity Framework Core and Radzen Blazor Components
Source code:
GitHub - benjaminsqlserver/P2P · GitHub
More .NET and Blazor tutorials: https://www.youtube.com/@benjaminfadina3338
#Blazor #Radzen #dotnet #CleanArchitecture #CQRS #EFCore #CSharp