MobileAppConfiguration Class

Definition

Configures the specified System.Web.Http.HttpConfiguration with settings used by Azure Mobile Apps.

public class MobileAppConfiguration : Microsoft.Azure.Mobile.Server.Config.AppConfiguration
type MobileAppConfiguration = class
    inherit AppConfiguration
Public Class MobileAppConfiguration
Inherits AppConfiguration
Inheritance
System.Object
MobileAppConfiguration

Constructors

MobileAppConfiguration()

Initializes a new instance of the MobileAppConfiguration class.

Properties

ConfigProviders

Gets a list of registered IMobileAppExtensionConfigProvider.

(Inherited from AppConfiguration)

Methods

AddBaseRouteExclusion(String)

Adds a controller name to be excluded from the default route of 'api/{controller}/{id}'.

ApplyTo(HttpConfiguration)

Calls Initialize(HttpConfiguration) on every registered IMobileAppExtensionConfigProvider.

MapApiControllers()

Maps all controllers with the MobileAppControllerAttribute to the route template "api/{controller}/{id}".

RegisterConfigProvider(IMobileAppExtensionConfigProvider)

Adds an IMobileAppExtensionConfigProvider to the list of providers that will be called by the ApplyTo(HttpConfiguration) method.

(Inherited from AppConfiguration)
WithMobileAppControllerConfigProvider(IMobileAppControllerConfigProvider)

Registers the specified IMobileAppControllerConfigProvider with the System.Web.Http.HttpConfiguration. Use this to override the default controller configuration.

Extension Methods

AddTablesWithEntityFramework(MobileAppConfiguration)
AddMobileAppHomeController(MobileAppConfiguration)
AddPushNotifications(MobileAppConfiguration)
MapLegacyCrossDomainController(MobileAppConfiguration)
MapLegacyCrossDomainController(MobileAppConfiguration, IEnumerable<String>)

Applies to