All Articles

Startup Overview

Let’s begin our coverage of Startup.cs with something that is essential to the Startup class. This is the concept of services. Services are reusable components that provide app functionality.

The Startup class is where we: • register services required by our application • define the request handling pipeline • manage dependency injection

Different Startup classes can be created for different environments.

The Startup class is specified to the app when the app’s host is built