Skip to content
Docs Try Aspire

IServiceProvider

Interface
📦 Aspire.Hosting v13.2.0
interface IServiceProvider {
getDistributedApplicationModel(): DistributedApplicationModel;
getEventing(): IDistributedApplicationEventing;
getLoggerFactory(): ILoggerFactory;
getResourceLoggerService(): ResourceLoggerService;
getResourceNotificationService(): ResourceNotificationService;
getUserSecretsManager(): IUserSecretsManager;
}

Methods

Gets the distributed application model from the service provider
getDistributedApplicationModel(): DistributedApplicationModel
DistributedApplicationModel
method getEventing
Gets the distributed application eventing service from the service provider
getEventing(): IDistributedApplicationEventing
IDistributedApplicationEventing
Gets the logger factory from the service provider
getLoggerFactory(): ILoggerFactory
ILoggerFactory
Gets the resource logger service from the service provider
getResourceLoggerService(): ResourceLoggerService
ResourceLoggerService
Gets the resource notification service from the service provider
getResourceNotificationService(): ResourceNotificationService
ResourceNotificationService
Gets the user secrets manager from the service provider
getUserSecretsManager(): IUserSecretsManager
IUserSecretsManager