Skip to Content
Programming ASP.NET Core, First edition
book

Programming ASP.NET Core, First edition

by Dino Esposito
May 2018
Intermediate to advanced content levelIntermediate to advanced
416 pages
13h 51m
English
Microsoft Press
Content preview from Programming ASP.NET Core, First edition

CHAPTER 4

ASP.NET MVC Controllers

Well, everybody does it that way, Huck.“

Tom, I am not everybody.“

Mark Twain, “The Adventures of Tom Sawyer”

Despite the explicit reference to the Model-View-Controller pattern in the name, the ASP.NET MVC application model is essentially centered on one pillar—the controller. The controller governs the entire processing of a request. It captures input data, orchestrates the activity of business and data layers, and finally wraps up raw data computed for the request into a valid response for the caller.

Any request that passes the URL routing filter is mapped to a controller class and served by executing a given method on the class. Therefore, the controller class is the place where developers write the actual ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Modern Web Development with ASP.NET Core 3 - Second Edition

Modern Web Development with ASP.NET Core 3 - Second Edition

Ricardo Peres
Hands-On Full-Stack Web Development with ASP.NET Core

Hands-On Full-Stack Web Development with ASP.NET Core

Tamir Dresher, Amir Zuker, Shay Friedman

Publisher Resources

ISBN: 9781509304448