Microsoft.WindowsAzure.Mobile.Service.Config Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Classes
AutofacDependencyScope | |
AutofacWebApiDependencyResolver | |
BootstrapperAttribute |
Identifies the IBootstrapper implementation to use as entry point for starting the service. There can only be one such instance active at a time. |
EntityExtensionConfig |
The EntityExtensionConfig class provides configuration specific to Entity Framework. In particular, it registers EntityTableSqlGenerator as a plug-in to Entity Framework so that tables carrying columns marked with the TableColumnAttribute. |
ExtensionConfigProviderAttribute |
Identifies an IExtensionConfigProvider implementation to invoke as part of the configuration process in order for 3rd parties to take part in the configuration. |
HostConfigProvider |
Provides an implementation of IHostConfigProvider providing a |
HostConfigProviderAttribute |
Identifies the IHostConfigProvider implementation to use for providing the initial host-specific service configuration. There can only be one such instance active at a time and typically it is provided by the host directly. Users can use the ConfigBuilder class as a mechanism for adding or modifying the service configuration provided by the host. |
HubAndConnectionTypeResolver |
Provides an implementation of IHubAndConnectionTypeResolver with no external dependencies. |
OwinAppBuilder |
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. |
OwinAppBuilderExtension |
The OwinAppBuilderExtension is an IOwinAppBuilderExtension which adds ASP.NET SignalR to the Owin pipeline. |
RouteNames |
This class defines the route names for known routes registered by the service. This can for example be used to create links to the routes using the System.Web.Http.UrlHelper class which is available on a ApiController. |
ServiceSettingsKeys |
Defines the keys we look for in ServiceSettingsDictionary to identify known settings. |
ServiceSettingsProvider |
Provides a default implementation of IServiceSettingsProvider which gets the |
SetRouteConstraint<TSet> |
A route constraint that constrains a route parameter value to be either included or excluded
from a set of values of type |
SignalRExtensionConfig |
The SignalRExtensionConfig class provides configuration specific to SignalR. |
StartupOwinAppBuilder |
The initial OWIN startup application builder. This class kicks off initialization by invoking the OWIN application builder which has been registered using the Initialize(Action<IAppBuilder>) method. |
TableExtensionConfig |
Provides custom initialization for the TableController<TData> class initializing ASP.NET Web API formatters and more. |
Interfaces
IBootstrapper |
Provides an abstraction defining the initial entry point for a service. At startup, the
host looks for an implementation of the IBootstrapper interface and kicks off
the configuration process by calling Initialize. It is then the bootstrapper's
responsibility to call ServiceConfig which will then kick off the configuration
process starting with the IHostConfigProvider, then move to IExtensionConfigProvider
implementations, and finally calling the application code for final configuration. If there
is no IBootstrapper implementation then the host looks for a static class called
|
IConfigBuilder |
Provides an abstraction for configuring a service. Each method in this interface is called as part of the configuration process enabling a service to participate and change the configuration during every step of the process. |
IExtensionConfigProvider |
3rd party extensions can participate in the configuration process by hooking in as part of the service configuration. This allows 3rd party extensions to add their dependencies to the dependency resolver so that they can leverage the power of dependency injection as well. By declaring an assembly-level ExtensionConfigProviderAttribute containing a type implementing the IExtensionConfigProvider interface, the extension will get called as part of the configuration building process. |
IHostConfigProvider |
Configuration is a two-step process where a IHostConfigProvider provides an initial service configuration provided by the host which then can be modified by a IConfigBuilder. This allows a model where a service can be initialized for a specific host environment and yet at the same time be configured to suit the needs of the service. The IHostConfigProvider is set up using the HostConfigProviderAttribute assembly attribute. Once selected, it calls into the provided IConfigBuilder to allow the service to participate in setting up Web API, OWIN, the dependency resolver, and any additional dependencies. |
IHubAndConnectionTypeResolver |
Provides an abstraction for getting the ASP.NET SignalR hubs and persistent connections for a service. |
IOwinAppBuilder |
An abstraction for the OWIN application builder which will get called during startup to define the OWIN application pipeline. The OwinAppBuilder implementation is registered with the System.Web.Http.HttpConfiguration dependency injection engine so that it can be changed by registering another implementation. |
IOwinAppBuilderExtension |
An abstraction for an OWIN application builder extension which will get appended to the OWIN pipeline |
IServiceSettingsProvider |
Provides an abstraction for getting the ServiceSettingsDictionary for a service. The ServiceSettingsDictionary contains settings such as the name and other parameters for the service. |
Azure SDK for .NET