Litium 7.4

Namespace Litium.Owin.Lifecycle

Classes

Application

Litium Owin Application entry point and will handle the applications lifecycle. When application should be started the Start(IEnumerable<Assembly>, IEnumerable<Type>) should be executed with the list of needed assemblies for the application, the list of assemblies are used for initialization of components and dependency injection. When the appliation are started where an System.Web.Hosting.HostingEnvironment exists the application will automatic register for the shutdown notification and will stop the application when the event are fired. During startup the process will fire different tasks in different step, the order the tasks are executed in are: IPreSetupTask, ISetupTask, IPostSetupTask, IStartupTask and IStartupTaskAsync. The startup process are running all except the IStartupTaskAsync in synchronous and before returning that the application are started the IStartupTaskAsync are started. When application should be stopped the Stop() should be executed, that will execute all the IReleaseTask that are registered.

ConversationHelper

Helper class to open and close conversation. IConversation are typically used for each web-request to perform tasks as "Per-web-request"-pattern.

Interfaces

IConversation

Interface for managing conversation per unit of work

IDependencyResolverInitTask

Interface IDependencyResolverInitTask

IInitTask

Init task are the first that are running before application starting up. The purpose for the init task is to initate components before the setup are starting to be able to make filesystem redirection.

IOwinStartupConfiguration

Interface IOwinStartup

IPostSetupTask

Interface IPostSetupTask

IPreSetupTask

Interface IPreSetupTask

IReleaseTask

Interface IReleaseTask

ISetupTask

Interface ISetupTask for items that need initialization with the list of available assemblies.

IStartupTask

Interface IStartupTask

IStartupTaskAsync

Interface IStartupTaskAsync