Why is ASP.NET Core’s Startup class not an interface or abstract class?
There are several reasons why its done the way its done. One of the more obvious reasons is, because you can inject services into Configure method, such as public void Configure(IAppBuilder app, IMyService myService) { myService.DoSomething(); } Obviously, you can’t do that with interfaces, abstract classes or inheritence. The second reason why its done by … Read more