© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
I. DominteWeb API Development for the Absolute Beginnerhttps://doi.org/10.1007/978-1-4842-9348-5_10

10. Model Binding

Irina Dominte1  
(1)
Iasi, Romania
 

In this chapter, we will learn about different ways we can customize default behavior to obtain values for the parameters bound to our actions. We will learn how to create our own model binder, modify the place from which a parameter value is bound, and exclude parameters from the binding process.

What Is Model Binding?

Model binding in Web API is the process of mapping data received in an HTTP request to a model or a parameter in a controller action. It allows the framework to automatically populate objects ...

Get Web API Development for the Absolute Beginner: A Step-by-step Approach to Learning the Fundamentals of Web API Development with .NET 7 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.