DEV Community


Discussion on: Error handling and validation architecture in .NET Core

silverferrum profile image
Nik S

Validation exceptions are what Microsoft does not recommend to do.

Thread Thread
boriszn profile image
Boris Zaikin Author


Well, this document is outdated (since 11/04/2016) moreover it is for .NET Framework. In the Dot Net Core things work slightly different ;)
Here is some example:

Thread Thread
silverferrum profile image
Nik S • Edited

Below on that page "Validation failure error response",

In addition "Model validation in ASP.NET Core MVC and Razor Pages",

"ASP.NET Core Performance Best Practices: Minimize exceptions"