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 7

Design Considerations

It takes two to make an accident.

—Francis Scott Fitzgerald, “The Great Gatsby”

This chapter covers a few cross-cutting concerns of all web applications such as global configuration data, patterns for dealing with errors and exceptions, the design of the controller classes, and modern features like dependency injection to pass data across layers of code. In the design of core components of an ASP.NET Core application, the native Dependency Injection (DI) infrastructure plays a fundamental role.

Without further ado, let’s start taking a deeper look under the hood of the native DI infrastructure of the ASP.NET Core framework.

The Dependency Injection Infrastructure

DI is a development pattern widely used to make ...

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