© John Ciliberti 2017

John Ciliberti, ASP.NET Core Recipes, https://doi.org/10.1007/978-1-4842-0427-6_9

9. Data Validation Using ASP.NET Core MVC

John Ciliberti

(1)Sparta, New Jersey, USA

Almost all applications require some sort of validation. For web applications, validation may appear in several tiers, including within an HTML form, in controllers on the server, and even at the data tier implemented as constraints. One of the challenges you will face in designing your application is deciding on where validation should occur and how to reduce the duplication of efforts when you need to perform validation on multiple tiers. This chapter focuses on the different options for performing data validation with ASP.NET Core MVC. I will begin by covering ...

Get ASP.NET Core Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.