SimpleInjectorAddOptionsAspNetCoreExtensions Methods

Simple Injector

The SimpleInjectorAddOptionsAspNetCoreExtensions type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAddAspNetCore
Adds basic Simple Injector integration for ASP.NET Core and returns a builder object that allow additional integration options to be applied. These basic integrations includes wrapping each web request in an AsyncScopedLifestyle scope and making the nessesary changes that make it possible for enabling the injection of framework components in Simple Injector-constructed components when UseSimpleInjector(IServiceProvider, Container, ActionSimpleInjectorUseOptions) is called.
Top
See Also

Reference