O'Reilly logo

Pro ASP.NET Web API: HTTP Web Services in ASP.NET by Ali Kheyrollahi, Alexander Zeitler, Tugberk Ugurlu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 13

image

Input Validation

Regardless of the application type, input validation is a very important topic if the application accepts user inputs. As developers, we tend to assume that every user input is evil and they should be validated before being processed. Checking whether an input field is empty or not, validating the length of an input value, and comparing two inputs against each other according to a specific logic—these are just some of the common validation checks.

This chapter will explain how ASP.NET Web API simplifies this process by offering out-of-the-box solutions and how its built-in implementations can be extended to customize ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required