The SimpleInjector.Integration.Web namespace is part of the SimpleInjector.Integration.Web.dll and contains functionality for integrating Simple Injector with ASP.NET web appliactions. Core type is the WebRequestLifestyle class that allows caching registered services during the execution of a single HTTP request.
Classes
Class | Description | |
---|---|---|
SimpleInjectorHttpModule |
Simple Injector web integration HTTP Module. This module is registered automatically by ASP.NET when
the assembly of this class is included in the application's bin folder. The module will trigger the
disposing of created instances that are flagged as needing to be disposed at the end of the web
request.
| |
SimpleInjectorWebInitializer |
Pre application start code.
| |
WebRequestLifestyle |
Defines a lifestyle that caches instances during the execution of a single HTTP Web Request.
Unless explicitly stated otherwise, instances created by this lifestyle will be disposed at the end
of the web request.
|