Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

ServiceProvider

Interface
📦 Aspire.Hosting v17.0.0
type ServiceProvider interface{}

Methods

Gets the Aspire store from the service provider.
GetAspireStore() AspireStore
AspireStore

The Aspire store.

Returns a handle; failures surface later via Err().

Gets the distributed application model from the service provider.
GetDistributedApplicationModel() DistributedApplicationModel
DistributedApplicationModel

The distributed application model handle.

Returns a handle; failures surface later via Err().

Gets the distributed application eventing service from the service provider.
GetEventing() DistributedApplicationEventing
DistributedApplicationEventing

The distributed application eventing handle.

Returns a handle; failures surface later via Err().

Gets the interaction service from the service provider.
GetInteractionService() InteractionService
InteractionService

An interaction service handle.

Returns a handle; failures surface later via Err().

Gets the logger factory from the service provider.
GetLoggerFactory() LoggerFactory
LoggerFactory

A logger factory handle.

Returns a handle; failures surface later via Err().

Gets the resource command service from the service provider.
GetResourceCommandService() ResourceCommandService
ResourceCommandService

A resource command service handle.

Returns a handle; failures surface later via Err().

Gets the resource logger service from the service provider.
GetResourceLoggerService() ResourceLoggerService
ResourceLoggerService

A resource logger service handle.

Returns a handle; failures surface later via Err().

Gets the resource notification service from the service provider.
GetResourceNotificationService() ResourceNotificationService
ResourceNotificationService

A resource notification service handle.

Returns a handle; failures surface later via Err().

Gets the user secrets manager from the service provider.
GetUserSecretsManager() UserSecretsManager
UserSecretsManager

A user secrets manager handle.

Returns a handle; failures surface later via Err().

Applies to

This interface applies to the following types: