SimpleInjectorAddOptionsAspNetCoreExtensions Class

Simple Injector
Extensions for configuring Simple Injector with ASP.NET Core using SimpleInjectorAddOptions.
Inheritance Hierarchy

SystemObject
  SimpleInjectorSimpleInjectorAddOptionsAspNetCoreExtensions

Namespace:  SimpleInjector
Assembly:  SimpleInjector.Integration.AspNetCore (in SimpleInjector.Integration.AspNetCore.dll) Version: 5.0.0
Syntax

public static class SimpleInjectorAddOptionsAspNetCoreExtensions

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) is called.
Top
See Also

Reference