© Fanie Reynders 2018
Fanie ReyndersModern API Design with ASP.NET Core 2https://doi.org/10.1007/978-1-4842-3519-5_5

5. MVC

Fanie Reynders1 
(1)
Odijk, The Netherlands
 

This chapter will focus on the implementation of the MVC pattern within ASP.NET Core, specifically from an API perspective as a fully functional web framework. We will explore how data are mapped from HTTP requests and bound to action parameters and strongly typed models, as well as how these models are validated before any data processing happens.

At the end of this chapter, we will also have a broader understanding of how controllers work and grasp the importance of action methods to handle incoming requests. We will learn all about filters and how they can help by executing code before ...

Get Modern API Design with ASP.NET Core 2: Building Cross-Platform Back-End Systems 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.