Skip to content

Dependency Injection

Johelvis Guzman edited this page May 28, 2019 · 9 revisions

The DotNetToolkit.Repository provides dependency injection packages which will register all repositories, interceptors and services automatically. The dependency injection packages contain an extension method for its specified container which will scan for all IRepository, IService, IReadOnlyRepository, IReadOnlyService, and IRepositoryInterceptor implementations in all the executing assemblies, and will register them so that you don't have to. Additional services will also be registered depending on the IOC container that is being used. For more information, please refer to projects bellow.

Currently, the following container extensions are supported by the DotNetToolkit.Repository:

Clone this wiki locally