Ali Hamza Ansari

Ali Hamza Ansari

Meet Ali, a talented .NET developer from Pakistan. Besides blogging, Ali works for a range of international customers doing everything from C# to Azure.

19 posts
Custom model validation attributes in ASP.NET Core

While working on ASP.NET Core Web API, we have some customized business requirements for the user input. To implement those requirements, .NET provides a set of attributes to restrict users to input only validated data or return an error if the data inserted is invalid. In this blog, I ...