OwinAppBuilderExtension Class

Definition

The OwinAppBuilderExtension is an IOwinAppBuilderExtension which adds ASP.NET SignalR to the Owin pipeline.

public class OwinAppBuilderExtension : Microsoft.WindowsAzure.Mobile.Service.Config.IOwinAppBuilderExtension
type OwinAppBuilderExtension = class
    interface IOwinAppBuilderExtension
Public Class OwinAppBuilderExtension
Implements IOwinAppBuilderExtension
Inheritance
OwinAppBuilderExtension
Implements

Constructors

OwinAppBuilderExtension(HttpConfiguration)

Initializes a new instance of the OwinAppBuilderExtension class.

Properties

Config

Gets or sets the System.Web.Http.HttpConfiguration for this extension.

Methods

Configure(IAppBuilder)

Extends the OWIN pipeline by inserting one or more OWIN modules into the overall OWIN pipeline. The modules will get inserted before Web API components of the OWIN pipeline.

ConfigureSignalR(IAppBuilder)

Configures the ASP.NET SignalR part of the OWIN pipeline.

ConfigureSignalRBackplane(IDependencyResolver)

Gets the connection string (if any) to use as the ASP.NET SignalR backplane when running in hosted mode.

GetCorsOptions()

Gets a Microsoft.Owin.Cors.CorsOptions instance based on any Microsoft.Owin.Cors.CorsOptions provided in the ConfigOptions, or if null, on the CrossDomainOrigins application settings.

GetPersistentConnectionPath(Type)

Gets a path for a Microsoft.AspNet.SignalR.PersistentConnection of persistentConnection. The persistent connection will get wired up under the path /signalr. e.g. /signalr/testconnection.

Applies to