Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in dependency-injection

Unity in attached properties

Should (and if so how should) a database context be dependency injected into a controller?

Create new DbContext dynamically when using ASP.Net Core dependency injection

How can I have an AngularJS module routes use its own controllers?

Inject new set of dependencies when new item is loaded from view

IOC and Silverlight

How do I convert Money based on FX rates in a domain object without Service Location

Objective-C Alternative to using ApplicationDelegate or singleton to pass data

Proper way to create a singleton service in ASP.NET Core - does it have to use the static keyword, or not?

Why do we use @Injectable() decorator , when we can actually inject services without using the decorator as well?

Static repository... can't use DI, what to do?

In the next major version, Nest will not allow classes annotated with @Injectable(), @Catch(), and @Controller() decorators

Get Value from appsetting.json in class

WebApi Filter Unity

What is best way to inject configured options instance into a scoped service?