Injecting services to ASP.NET Core controller actions

added by DotNetKicks
6/25/2018 1:02:09 PM

175 Views

ASP.NET Core comes with 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.


0 comments