Understanding Startup.CS in .Net Core

.Net Core
One file that has always gotten to me in a .Net Core project is the Startup.CS file. It seems like a simple class but when it came to knowing which method to update I would get confused... Is it the ConigureServices method or Configure method. I have decided to help demystify the startup file and explain what it does, how the methods are used, and which method to update when. In The Beginning A long long time ago there was something called OWIN which introduced me to the Startup.CS file. It was simple, it had one method called Configuration and it took in an IAppBuilder that allowed you to configure your application by injecting middleware into the OWIN pipeline. With the introduction to .Net Core dependency injection configuration was brought…
Read More