ConfigureServices is used to add services to the application.
ConfigureServices method always execute before Configure method.
ConfigureServices is an optional method. It’s not necessary that all its methods will be execute.
Tags:
.NET Core Basic