.NET Core Opinion 10 - Move More Code Out of Startup

added by DotNetKicks
3/7/2019 3:09:22 PM

2 Kicks, 557 Views

We'll look at a variety of solutions to declutter Startup.cs, but let's start with a simple task. Once we agree that the Startup class is only responsible for service configuration and middleware, we should move other code out of Startup and into Program.cs where the Main entry point lives.