Share via


OwinAppBuilder Class

 

This is the default OWIN configuration class used to set up the OWIN application with the middleware extensions the runtime uses (e.g. authentication providers) as well as ASP.NET Web API. The OWIN application configuration to use can be configured through the dependency injection engine.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Config
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Mobile.Service.Config.OwinAppBuilder

Syntax

public class OwinAppBuilder : IOwinAppBuilder
public ref class OwinAppBuilder : IOwinAppBuilder
type OwinAppBuilder = 
    class
        interface IOwinAppBuilder
    end
Public Class OwinAppBuilder
    Implements IOwinAppBuilder

Constructors

Name Description
System_CAPS_pubmethod OwinAppBuilder(HttpConfiguration)

Initializes a new instance of the OwinAppBuilder class using the provided configuration.

Methods

Name Description
System_CAPS_pubmethod Configuration(IAppBuilder)

Initiates configuration of the Owin application pipeline.

System_CAPS_protmethod ConfigureAuthentication(IAppBuilder, HttpConfiguration)

Adds the ASP.NET Identity Framework authentication providers to the OWIN application pipeline.

System_CAPS_protmethod ConfigureBackstop(IAppBuilder, HttpConfiguration)

Adds a backstop to the OWIN application pipeline resulting in a 404 Not Found response for any requests getting to this part of the pipeline.

System_CAPS_protmethod ConfigureExtensions(IAppBuilder, HttpConfiguration)

Adds IOwinAppBuilderExtension instances to the OWIN application pipeline. IOwinAppBuilderExtension implementations that are registered with the Dependency Injection engine will automatically get added to the end of the OWIN application pipeline. This is useful for extensions where ordering is not critical other than that they are added after the authentication part of the pipeline.

System_CAPS_protmethod ConfigureLogger(IAppBuilder, HttpConfiguration)

Adds (optional) logging to the OWIN application pipeline. The ILoggerFactory can be registered with the Dependency Injection engine.

System_CAPS_protmethod ConfigureWebApi(IAppBuilder, HttpConfiguration)

Adds Web API to the OWIN application pipeline.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsAzure.Mobile.Service.Config Namespace

Return to top