关于[Injecting Services to ASP.NET Core Controller Actions]的摘要:
ASP.NET Core comes with a thin but rich and powerful built-in dependency injection mechanism we can use to inject instances to controllers and some other parts of web applications. Although constructor injection is the most famous dependency injection method for controllers, there is also dependency injection to controller actions available. This post introduces controller action injection and shows how to benefit from it.
原文地址: https://dzone.com/articles/injecting-services-to-aspnet-core-controller-actio