IHostConfigProvider Interface
Definition
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.
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.
public interface IHostConfigProvider
type IHostConfigProvider = interface
Public Interface IHostConfigProvider
- Derived
Methods
Initialize(IConfigBuilder) |
Initialization is kicked off by ServiceConfig which determines the
IHostConfigProvider to use and then calls this method on it. The
provider will in turn call the given |
Applies to
Azure SDK for .NET