This project contains a sample ASP.NET Core app. This app is an example of the article I produced for the Telerik Blog (telerik.com/blogs)
Domain Validations is a sample .NET project that demonstrates how domain validations are extremely useful for:
- ✅ Creating only valid states
- 🚧 Preventing invalid entities from reaching the database
- 🚀 Validations are not scattered throughout the code
- .NET 10
- ASP.NET Core
- C#
- Web API
- FluentValidation
- Domain Driven Design DDD
- Domain Exceptions
Feel free to open issues, suggest improvements add more validation scenarios. PRs are welcome!