ASP.NET Core applications are configured using the Configure and optionally, the ConfigureServices methods of the startup class (typically Startup). ConfigureServices is used to set up the dependency injection container that ships with ASP.NET Core. The method signature looks like this: public void ConfigureServices(IServiceCollection services); That IServiceCollection instance is the developer’s surface area for configuring dependencies. Mvc can be configured like this: public class Startu...