[This is preliminary documentation and is subject to change.]

Implement this interface to run code at application startup, before the first request is run. For example, use a startup task to configure static files and folders, or an IoC container.

Namespace: Simple.WebSimple.WebSimple::Web
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

public interface IStartupTask

VB

Public Interface IStartupTask

C++

public interface class IStartupTask

The IStartupTaskIStartupTaskIStartupTask type exposes the following members.

Methods

Name Description
Run(IConfiguration, IWebEnvironment)Run(IConfiguration, IWebEnvironment)Run(IConfiguration^, IWebEnvironment^) Runs the startup task. This method is called by the framework.
Top

See Also

Simple.WebSimple.WebSimple::Web Namespace