Skip to content
DocsTry Aspire
DocsTry

Aspire.Hosting

Official
📦 Aspire.Hostingv13.4.0net8.0
347Types
7Namespaces
Aspire.Hosting (64)
classAspireDtoAttributesealed
Marks a class as an ATS (Aspire Type System) Data Transfer Object. DTOs are serializable types used to pass structured data to capabilities.
classAspireExportAttributesealed
Marks a method, type, or assembly-level type as an ATS (Aspire Type System) export.
classAspireExportIgnoreAttributesealed
classAspireUnionAttributesealed
Specifies that a parameter or property accepts a union of multiple ATS types.
classAspireValueAttributesealed
Marks an immutable static field or property as an ATS-exported value.
classConnectionPropertiesExtensionsstatic
Provides extension methods for adding connection properties to resources.
classConnectionStringBuilderExtensionsstatic
Provides extension methods for adding connection string resources to an application.
classConnectionStringResourcesealed
Adds a connection string to the distributed application a resource with the specified expression.
classContainerRegistryResourceBuilderExtensionsstatic
Provides extension methods for adding container registry resources to the distributed application.
classContainerResourceBuilderExtensionsstatic
Provides extension methods for IDistributedApplicationBuilder to add container resources to the application.
classContainerResourceExtensionsstatic
Provides extension methods for working with container resources in a distributed application model.
classCustomResourceExtensionsstatic
Extension methods for applying dashboard annotations to resources.
classDistributedApplicationats export
Represents a distributed application that implements the Hosting.IHost and IAsyncDisposable interfaces.
classDistributedApplicationBuilder
classDistributedApplicationBuilderExtensionsstatic
classDistributedApplicationEventingExtensionsstatic
classDistributedApplicationException
Represents an exception that is thrown when a distributed application error occurs.
classDistributedApplicationExecutionContextats export
Exposes the global contextual information for this invocation of the AppHost.
classDistributedApplicationExecutionContextOptionsats export
enumDistributedApplicationOperation
Describes the context in which the AppHost is being executed.
classDistributedApplicationOptionssealed
classDotnetToolResourceExtensionsstatic
Provides extension methods for adding Dotnet Tool resources to the application model.
classEmulatorResourceExtensionsstatic
Extension methods for managing emulator resources.
classExecutableResourceBuilderExtensionsstatic
classExecutableResourceExtensionsstatic
classExternalServiceBuilderExtensionsstatic
Provides extension methods for adding external services to an application.
classExternalServiceResourcesealed
Represents an external service resource with service discovery capabilities.
interfaceIDeveloperCertificateService
Service that provides information about developer certificate trust capabilities.
interfaceIDistributedApplicationBuilderats export
interfaceIFileSystemService
Service for managing Aspire directories.
interfaceIInteractionService
A service to interact with the current development environment.
classInputLoadOptionssealed
Represents configuration options for dynamically loading input data.
classInputsDialogInteractionOptions
Options for configuring an inputs dialog interaction.
classInputsDialogValidationContextsealedats export
Represents the context for validating inputs in an inputs dialog interaction.
enumInputType
classInteractionInputsealeddto
Represents an input for an interaction.
classInteractionInputCollectionsealedats export
A collection of interaction inputs that supports both indexed and name-based access.
classInteractionOptions
Optional configuration for interactions added with Hosting.InteractionService.
classInteractionResultstatic
Provides a set of static methods for the Hosting.InteractionResult`1.
classInteractionResult<T>
Represents the result of an interaction.
interfaceIProjectMetadata
Represents metadata about a project resource.
interfaceIResourceWithContainerFiles
Represents a resource that contains files that can be copied to other resources.
interfaceIResourceWithServiceDiscovery
A resource that supports exporting service discovery information.
interfaceITempFileSystemService
Service for managing temporary directories and files within Aspire.
interfaceIUserSecretsManagerats export
Defines an interface for managing user secrets with support for read and write operations.
classLaunchProfilesealed
classLaunchSettingssealed
classLoadInputContextsealed
classMcpServerResourceBuilderExtensionsstatic
Provides extension methods for configuring MCP (Model Context Protocol) server endpoints on resources.
classMessageBoxInteractionOptions
Options for configuring a message box interaction.
enumMessageIntent
Specifies the intent or purpose of a message in an interaction.
classMissingParameterValueException
The exception that is thrown when a parameter resource cannot be initialized because its value is missing or cannot be resolved.
classNotificationInteractionOptions
Options for configuring a notification interaction.
classOtlpConfigurationExtensionsstatic
Provides extension methods for configuring OpenTelemetry in projects using environment variables.
enumOtlpProtocol
Protocols available for OTLP exporters.
classParameterProcessorsealed
Handles processing of parameter resources during application orchestration.
classParameterResourceBuilderExtensionsstatic
Provides extension methods for adding parameter resources to an application.
classProjectResourceBuilderExtensionsstatic
classProjectResourceOptionsats export
Various properties to modify the behavior of the project resource.
classRequiredCommandResourceExtensionsstatic
Provides extension methods for adding required command annotations to resources.
classResourceBuilderExtensionsstatic
Provides extension methods for configuring resources with environment variables.
classTempDirectoryabstract
Represents a temporary directory that will be deleted when disposed.
classTempFileabstract
Represents a temporary file that will be deleted when disposed.
classVolumeNameGeneratorstatic
Utility class for generating volume names.
Aspire.Hosting.ApplicationModel (224)
classAfterEndpointsAllocatedEventobsolete
This event is published after all endpoints have been allocated.
classAfterResourcesCreatedEventats export
This event is published after all resources have been created.
classAllocatedEndpoint
Represents an endpoint allocated for a service instance.
classAspireStoreExtensionsstatic
classBeforeResourceStartedEventats export
This event is raised by orchestrators before they have started a new resource.
classBeforeStartEventats export
This event is published before the application starts.
classCertificateAuthorityCollection
Represents a collection of certificate authorities within the application model.
classCertificateAuthorityCollectionAnnotationsealed
An annotation that indicates a resource is referencing a certificate authority collection.
classCertificateAuthorityCollectionResourceExtensionsstatic
classCertificateTrustConfigurationCallbackAnnotationsealed
An annotation that indicates a resource wants to manage how custom certificate trust is configured.
classCertificateTrustConfigurationCallbackAnnotationContextsealed
classCertificateTrustExecutionConfigurationContextdto
Context for configuring certificate trust configuration properties.
classCertificateTrustExecutionConfigurationData
Metadata about the resource certificate trust configuration.
enumCertificateTrustScope
classCommandLineArgsCallbackAnnotation
Represents an annotation that provides a callback to be executed with a list of command-line arguments when an executable resource is started.
classCommandLineArgsCallbackContextsealedats export
Represents a callback context for the list of command-line arguments associated with an executable resource.
classCommandOptionsdto
classCommandResultDatasealeddto
Represents a value produced by a command.
enumCommandResultFormat
Specifies the format of a command result.
classCommandResultsstatic
classConnectionPropertyAnnotationsealed
Annotation that creates a custom connection property value injected into environment variables when a resource is referenced using WithReference().
classConnectionStringAvailableEventats export
The ConnectionStringAvailableEvent is raised when a connection string becomes available for a resource.
classConnectionStringRedirectAnnotation
Links to a resource that implements IResourceWithConnectionString that can be used by the containing resource to acquire a connection string.
classConnectionStringReference
Represents a reference to a connection string.
classContainerBuildOptionsCallbackAnnotationsealed
Annotation that provides a callback to configure container build options for a resource.
classContainerBuildOptionsCallbackContextsealed
Context for configuring container build options via a callback.
classContainerCertificatePathsAnnotationsealed
An annotation that allows overriding default certificate paths for container resources.
classContainerDirectorysealed
Represents a directory in the container file system.
classContainerFilesealed
Represents a standard file in the container file system.
classContainerFileBaseabstract
Base class for files in the container file system (as compared to directories).
classContainerFilesDestinationAnnotationsealed
Represents an annotation that specifies a source resource and destination path for copying container files.
classContainerFilesSourceAnnotationsealed
Represents an annotation that associates a container file/directory with a resource.
classContainerFileSystemCallbackAnnotationsealed
Represents a callback annotation that specifies files and folders that should be created or updated in a container.
classContainerFileSystemCallbackContextsealed
classContainerFileSystemCallbackHttpsCertificateContextsealed
classContainerFileSystemItemabstract
Represents a base class for file system entries in a container.
classContainerImageAnnotationsealed
Represents an annotation for a container image.
classContainerImagePullPolicyAnnotationsealed
Annotation that controls the image pull policy for a container resource.
classContainerImagePushOptionssealedats export
Represents options for pushing container images to a registry.
classContainerImagePushOptionsCallbackAnnotationsealed
Represents an annotation that configures container image push options via a callback function.
classContainerImagePushOptionsCallbackContextsealedats export
Provides context information for container image push options callbacks.
classContainerImageReference
Represents the fully‑qualified container image reference that should be deployed.
enumContainerLifetime
Lifetime modes for container resources.
classContainerLifetimeAnnotationsealed
Annotation that controls the lifetime of a container resource.
classContainerMountAnnotationsealed
Represents a mount annotation for a container resource.
enumContainerMountType
Represents the type of a container mount.
classContainerNameAnnotationsealed
Represents an annotation for a custom container name.
classContainerNetworkAliasAnnotationsealed
Represents an annotation for a custom network alias for a container resource.
classContainerOpenSSLCertificateFilesealed
Represents an OpenSSL public certificate in the container file system. Must be PEM encoded. An OpenSSL compatible symlink pointing to the destination file will be created in the same container folder as the certificate file named [subject hash].[n], where [n] is a sequence number that increases for each certificate in a target folder with the same subject hash.
classContainerPortReference
Represents a TCP/UDP port that a container can expose.
classContainerRegistryReferenceAnnotation
Annotation that indicates a resource is using a specific container registry.
classContainerRegistryResource
Represents a general-purpose container registry resource that can be used to reference external container registries (e.g., Docker Hub, GitHub Container Registry, or private registries) in the application model.
classContainerResource
A resource that represents a specified container.
classContainerRuntimeArgsCallbackAnnotationsealed
Represents an additional argument to pass to the container runtime run command.
classContainerRuntimeArgsCallbackContextsealed
Represents a callback context for the list of command-line arguments to be passed to the container runtime run command.
classCSharpAppResource
A resource that represents a specified C# project or file-based app.
classCustomResourceKnownPropertiesstatic
Known properties for resources that show up in the dashboard.
recordCustomResourceSnapshotsealed
An immutable snapshot of the state of a resource.
classCustomResourceSnapshotExtensionsstatic
classDefaultLaunchProfileAnnotationsealed
An annotation that specifies the default launch profile for a resource.
classDeploymentTargetAnnotationsealed
Represents an annotation for a deployment target.
classDisableForwardedHeadersAnnotationsealed
Represents an annotation that disables enabling forwarded headers on ASP.NET Core projects on publish.
classDistributedApplicationModelats export
Represents a distributed application.
classDistributedApplicationModelExtensionsstatic
classDockerBuildArgsealedobsolete
classDockerfileBaseImageAnnotation
Represents an annotation for specifying custom base images in generated Dockerfiles.
classDockerfileBuildAnnotation
Represents an annotation for customizing a Dockerfile build.
classDockerfileBuilderCallbackAnnotation
Represents an annotation for providing callbacks to programmatically modify Dockerfile builds.
classDockerfileBuilderCallbackContextats export
Provides context information for Dockerfile build callbacks.
classDockerfileFactoryContextsealedats export
Provides context for Dockerfile factory functions.
classDotnetToolAnnotation
Represents an annotation for dotnet tool resources.
classDotnetToolResource
A resource that represents a specified dotnet tool.
classEmulatorResourceAnnotationsealed
Represents an annotation for an emulator resource that should be ignored by provisioners.
classEndpointAnnotationsealed
Represents an endpoint annotation that describes how a service should be bound to a network.
enumEndpointBindingMode
Specifies how an endpoint is bound to network addresses.
classEndpointHostHelpersstatic
Provides helper methods for validating localhost addresses.
classEndpointNameAttributesealed
Signifies that a parameter represents an endpoint name.

Decorate String parameters representing endpoint names with this attribute, e.g.:

public static IResourceBuilder<TResource> WithCustomEndpoint<TResource>(
this IResourceBuilder<TResource> builder,
[EndpointName] string name)

classEndpointProbeAnnotationsealed
Represents an annotation that specifies the HTTP probes (health, readiness, liveness, etc.) of a resource.
enumEndpointProperty
Represents the properties of an endpoint that can be referenced.
classEndpointReferencesealedats export
Represents an endpoint reference for a resource with endpoints.
classEndpointReferenceAnnotationsealed
An annotation that represents a reference from one resource to the endpoints of another resource.
classEndpointReferenceExpressionats export
Represents a property expression for an endpoint reference.
classEnvironmentCallbackAnnotation
Represents an annotation that provides a callback to modify the environment variables of an application.
classEnvironmentCallbackContextats export
Represents a callback context for environment variables associated with a publisher.
recordEnvironmentVariableSnapshotsealed
A snapshot of an environment variable.
classExcludeLaunchProfileAnnotationsealed
Represents an annotation that indicates that launch settings should not be used.
classExecutableAnnotationsealed
Represents an annotation for a container image.
classExecutableResource
A resource that represents a specified executable process.
classExecuteCommandContextsealedats export
classExecuteCommandResultsealeddto
classExecutionConfigurationBuildersealed
Provides a builder for constructing an IExecutionConfigurationResult for a specific resource in the distributed application model. This resolves command line arguments and environment variables and potentially additional metadata through registered gatherers.
classExecutionConfigurationBuilderExtensionsstatic
classExecutionConfigurationResultExtensionsstatic
classExplicitStartupAnnotationsealed
Represents an annotation for instructing the resource not to be started with the app host.
structExpressionInterpolatedStringHandler
classGenerateParameterDefaultsealeddto
Represents that a default value should be generated.
classHealthCheckAnnotation
An annotation which tracks the name of the health check used to detect to health of a resource.
recordHealthReportSnapshotsealed
A report produced by a health check about a resource.
recordHostUrl
Represents a URL on the host machine. When referenced in a container resource, localhost will be replaced with the configured container host name.
classHttpCommandOptions
classHttpCommandRequestContextsealed
classHttpCommandResultContextsealed
enumHttpCommandResultMode
Specifies how an HTTP command should surface the HTTP response body as command result data.
classHttpsCertificateAnnotationsealed
An annotation that associates an HTTPS/TLS server certificate with a resource.
classHttpsCertificateConfigurationCallbackAnnotationsealed
An annotation that indicates a resource wants to manage how it needs to be configured to use a specific TLS certificate pair.
classHttpsCertificateConfigurationCallbackAnnotationContextsealed
classHttpsCertificateExecutionConfigurationContextdto
Configuration context for server authentication certificate configuration.
classHttpsCertificateExecutionConfigurationData
Metadata for HTTPS/TLS server certificate configuration.
classHttpsEndpointUpdateCallbackContextsealed
Context provided to the callback of ResourceBuilderExtensions.SubscribeHttpsEndpointsUpdate when an HTTPS certificate is determined to be available for the resource.
interfaceIAspireStore
Represents a store for managing files in the Aspire hosting environment that can be reused across runs.
interfaceIComputeEnvironmentResource
Represents a compute environment resource.
interfaceIComputeResource
Represents a compute resource.
interfaceIContainerFilesDestinationResource
interfaceIContainerRegistry
Represents container registry information for deployment targets.
enumIconVariant
The icon variant.
interfaceIExecutionConfigurationBuilder
Builder for gathering and resolving the execution configuration (arguments and environment variables) for a specific resource.
interfaceIExecutionConfigurationData
Additional data associated with a resource's execution configuration. This allows gatherers to provide additional data required to properly configure or run the resource.
interfaceIExecutionConfigurationGatherer
Gathers resource configurations (arguments and environment variables) and optionally applies additional metadata to the resource.
interfaceIExecutionConfigurationGathererContext
Resource configuration gatherer context.
interfaceIExecutionConfigurationResult
Configuration (arguments and environment variables) to apply to a specific resource.
interfaceIExpressionValueats export
Represents a value that provides both a runtime value and a manifest expression.
enumImagePullPolicy
Image pull policies for container resources.
interfaceIManifestExpressionProvider
An interface that allows an object to express how it should be represented in a manifest.
interfaceIModelNameParameter
Signifies that a parameter represents a model name.
classInitializeResourceEventats export
This event is raised by orchestrators to signal to resources that they should initialize themselves.
classInputGeneratorAnnotation
Annotation for customizing the input generation for a parameter.
interfaceIPortAllocator
Provides port allocation functionality for resources.
interfaceIRequiredCommandValidator
A service that validates required commands/executables are available on the local machine.
interfaceIResource
Represents a resource that can be hosted by an application.
interfaceIResourceAnnotation
Represents an annotation for a resource.
interfaceIResourceBuilder<T>
Defines a builder for creating resources of type T.
interfaceIResourceCollection
Represents a collection of resources.
interfaceIResourceWithArgs
Represents a resource that is associated with commandline arguments.
interfaceIResourceWithConnectionString
Represents a resource that has a connection string associated with it.
interfaceIResourceWithCustomWithReference<TSelf>
Defines custom WithReference dispatch behavior for a resource type.
interfaceIResourceWithEndpoints
Represents a resource that has endpoints associated with it.
interfaceIResourceWithEnvironment
Represents a resource that is associated with an environment.
interfaceIResourceWithoutLifetime
Represents a resource that does not have a lifetime. Reserved for resources that are just holders of data or references to other resources.
interfaceIResourceWithParameters
Represents a resource that has parameters.
interfaceIResourceWithParent
Represents a resource that has a parent resource.
interfaceIResourceWithParent<T>
Represents a resource that has a parent resource of type T.
interfaceIResourceWithProbes
Represents a resource that has probes associated with it.
interfaceIResourceWithWaitSupport
Represents a resource that can wait for other resources to be running, health, and/or completed.
interfaceIValueProvider
An interface that allows the value to be provided for an environment variable.
interfaceIValueWithReferences
An interface that allows the value to list its references.
classKnownHostNamesstatic
Provides known host names for use within the Aspire application model API.
classKnownNetworkIdentifiersstatic
Provides known network identifiers for use within the Aspire application model API.
classKnownResourceCommandsstatic
Provides constants for well-known resource command names.
classKnownResourceStatesstatic
The set of well known resource states.
classKnownResourceStateStylesstatic
The set of well known resource states.
classLaunchProfileAnnotationsealed
Represents an annotation that specifies the launch profile name for a resource.
enumLifetime
Lifetime modes for resources that can outlive the app host process.
structLogLinereadonly
Represents a console log line.
structLogSubscriberreadonly
Represents a log subscriber for a resource.
classManifestPublishingCallbackAnnotation
Represents an annotation that provides a callback to be executed during manifest publishing.
classMcpServerEndpointAnnotationsealed
Represents an annotation that identifies an endpoint on a resource that hosts a Model Context Protocol (MCP) server.
classNameValidationPolicyAnnotationsealed
Represents an annotation that customizes the name validation rules applied to a resource when it is added to the application model.
recordNetworkEndpointSnapshot
Represents an AllocatedEndpoint snapshot associated with a specific network.
classNetworkEndpointSnapshotList
Holds a list of NetworkEndpointSnapshot for an Endpoint, providing thread-safe enumeration and addition.
recordNetworkIdentifier
A network identifier used to specify the network context for resources within an Aspire application model.
classOtlpExporterAnnotation
An annotation which indicates that a resource has OTLP exporter configured.
classParameterDefaultabstract
Represents how a default value should be retrieved.
classParameterResource
Represents a parameter resource.
classPersistenceAnnotationsealed
Annotation that controls the persistence behavior of a resource.
enumPersistenceMode
Persistence modes for resources that support lifetime configuration.
classPortAllocatorsealed
Allocates and manages a range of ports for use in an application context.
classProbeAnnotationabstract
Represents an annotation that specifies the probes (health, readiness, liveness, etc.) of a resource.
enumProbeType
Enum representing the type of probe.
classProcessCommandOptions
classProcessCommandResultContextsealed
classProcessCommandSpecsealed
Describes a local process that is started when a process-backed resource command executes.
classProjectResource
A resource that represents a specified .NET project.
classProjectResourceExtensionsstatic
classProxySupportAnnotationsealed
Proxy support annotation for a resource, used to disable all endpoint proxies for a resource if desired
classReferenceEnvironmentInjectionAnnotationsealed
Annotation that specifies which connection and endpoint information should be injected into environment variables when a resource is referenced using WithReference().
enumReferenceEnvironmentInjectionFlags
Specifies which connection or endpoint information should be injected into environment variables when WithReference() is invoked.
classReferenceExpressionats export
Represents an expression that might be made up of multiple resource properties. For example, a connection string might be made up of a host, port, and password from different endpoints.
classReferenceExpressionBuilderats export
structReferenceExpressionBuilderInterpolatedStringHandler
classRegistryTargetAnnotationsealed
Annotation that indicates a resource should use a specific container registry as its default target.
recordRelationshipSnapshotsealed
A snapshot of a relationship.
classReplicaAnnotationsealed
Represents an annotation that specifies the number of replicas for a resource.
classRequiredCommandAnnotation
An annotation which declares that a resource requires a specific command/executable to be available on the local machine PATH before it can start.
classRequiredCommandValidationContextsealed
Provides context for validating a required command.
classRequiredCommandValidationResultsealed
Represents the result of validating a required command.
classResolvedEndpointsealed
Represents a resolved endpoint with computed target and exposed ports.
structResolvedPortreadonly
Represents a resolved port with information about whether it was allocated or explicitly specified.
classResourceabstract
classResourceAnnotationCollectionsealed
Represents a collection of resource metadata annotations.
enumResourceAnnotationMutationBehavior
classResourceCommandAnnotationsealed
Represents a command annotation for a resource.
classResourceCommandService
A service to execute resource commands.
recordResourceCommandSnapshotsealed
A snapshot of a resource command.
enumResourceCommandState
The state of a resource command.
enumResourceCommandVisibility
Describes where a resource command is visible.
enumResourceDependencyDiscoveryMode
Represents the mode for discovering resource dependencies.
classResourceDependencyDiscoveryOptionssealed
Changes how resource dependencies are discovered.
classResourceEndpointsAllocatedEventats export
This event is raised by orchestrators to signal to resources that their endpoints have been allocated.
classResourceEvent
Represents a change in the state of a resource.
classResourceExtensionsstatic
classResourceIconAnnotationsealed
Specifies the icon to use when displaying a resource in the dashboard.
classResourceLoggerService
A service that provides loggers for resources to write to.
classResourceNameAttributesealed
Signifies that a parameter represents a resource name.

Decorate String parameters representing resource names with this attribute, e.g.:

public static IResourceBuilder<MyResource> AddCustomResource(
this IDistributedApplicationBuilder builder,
[ResourceName] string name)

classResourceNotificationService
A service that allows publishing and subscribing to changes in the state of a resource.
classResourceNotificationServiceOptionssealed
recordResourcePropertySnapshotsealed
A snapshot of the resource property.
classResourceReadyEventats export
Event that is raised when a resource initially transitions to a ready state.
classResourceRelationshipAnnotationsealed
An annotation which represents the relationship between two resources.
classResourceSnapshotAnnotation
An annotation that represents the initial snapshot of a resource.
recordResourceStateSnapshotsealed
A snapshot of the resource state
classResourceStoppedEventats export
This event is raised after a resource has stopped.
classResourceUrlAnnotationsealeddto
A URL that should be displayed for a resource.
classResourceUrlsCallbackAnnotationsealed
Represents an annotation that provides a callback to modify URLs that should be displayed for the resource.
classResourceUrlsCallbackContextats export
Represents a callback context for resource URLs.
classUpdateCommandStateContextsealedats export
enumUrlDisplayLocation
Specifies where the URL should be displayed.
recordUrlDisplayPropertiesSnapshotsealed
A snapshot of the display properties for a url.
recordUrlSnapshotsealed
A snapshot of the URL.
classValueProviderContext
Provides context for value resolution.
classValueSnapshot<T>sealed
Provides an asynchronously initialized value that: - Can be awaited via GetValueAsync() until the first value or exception is set. - Exposes the latest value after it has been set (supports re-setting). - Tracks whether a value or exception was ever set via IsValueSet. - Supports setting an exception that will be thrown by GetValueAsync. Thread-safe for concurrent SetValue / SetException / GetValueAsync calls.
recordVolumeSnapshotsealed
A snapshot of a volume, mounted to a container.
classWaitAnnotationsealed
Represents a wait relationship between two resources.
enumWaitBehavior
Specifies the behavior of the wait.
enumWaitType
Specifies the type of Wait applied to dependency resources.
Aspire.Hosting.ApplicationModel.Docker (4)
Aspire.Hosting.Eventing (7)
Aspire.Hosting.Lifecycle (4)
Aspire.Hosting.Pipelines (27)
enumCompletionState
Represents the completion state of a publishing activity (task, step, or top-level operation).
classDeploymentStateSectionsealed
Represents a section of deployment state with version tracking for concurrency control.
classDistributedApplicationPipelineExtensionsstatic
interfaceIDeploymentStateManager
Provides deployment state management functionality.
interfaceIDistributedApplicationPipeline
Represents a pipeline for executing deployment steps in a distributed application.
interfaceIPipelineActivityReporter
Interface for reporting publishing activities.
interfaceIPipelineOutputService
Service for managing pipeline output directories.
interfaceIReportingStep
Represents a publishing step, which can contain multiple tasks.
interfaceIReportingTask
Represents a publishing task, which belongs to a step.
classMarkdownStringsealed
Represents a string that contains Markdown-formatted content.
classNullPublishingActivityReportersealed
classPipelineConfigurationAnnotation
An annotation that registers a callback to execute during the pipeline configuration phase, allowing modification of step dependencies and relationships.
classPipelineConfigurationContextats export
Provides contextual information for pipeline configuration callbacks.
classPipelineContextsealedats export
Provides contextual information and services for the pipeline execution process of a distributed application.
classPipelineOptions
Represents the options for executing a pipeline.
classPipelineStepats export
Represents a step in the deployment pipeline.
classPipelineStepAnnotation
An annotation that creates pipeline steps for a resource during deployment.
classPipelineStepContextsealedats export
Provides contextual information for a specific pipeline step execution.
classPipelineStepExtensionsstatic
Extension methods for pipeline steps.
classPipelineStepFactoryContextats export
classPipelineStepFactoryExtensionsstatic
Provides extension methods for adding pipeline steps to resources.
classPipelineSummarysealedats export
Represents pipeline summary information to be displayed after pipeline completion. This is a general-purpose key-value collection that pipeline steps can contribute to.
classPipelineSummaryItemsealed
Represents a single item in a PipelineSummary, consisting of a key, a value, and a flag indicating whether the value contains Markdown formatting.
classPublishCompletionOptionssealed
Options for completing the publishing process.
classPublishingExtensionsstaticats ignored
Extension methods for IReportingStep and IReportingTask to provide direct operations.
classWellKnownPipelineStepsstatic
Defines well-known pipeline step names used in the deployment pipeline.
classWellKnownPipelineTagsstatic
Defines well-known pipeline tags used to categorize pipeline steps.
Aspire.Hosting.Publishing (17)
classAfterPublishEventsealedats export
This event is published after the distributed application is published.
classBeforePublishEventsealedats export
This event is published before the distributed application is published.
enumBuildImageSecretType
Specifies the type of a build secret.
recordBuildImageSecretValue
Represents a resolved build secret with its value and type.
classComposeOperationContextsealed
Provides the parameters needed to execute a Docker Compose operation against a container runtime.
classComposeServiceInfosealed
Represents a running service discovered from a compose environment.
classComposeServicePortsealed
Represents a port mapping for a compose service.
classContainerImageBuildOptions
Options for building container images.
enumContainerImageDestination
Specifies the destination for container images.
enumContainerImageFormat
Specifies the format for container images.
enumContainerTargetPlatform
Specifies the target platform for container images.
interfaceIContainerRuntime
Represents a container runtime (e.g., Docker, Podman) that can be used to build, tag, push, and manage container images.
interfaceIContainerRuntimeResolver
Resolves the configured or auto-detected container runtime asynchronously. The result is cached after the first resolution.
interfaceIDistributedApplicationPublisherobsolete
Defines the interface for publishing a distributed application.
interfaceIResourceContainerImageManager
Provides a service to publishers for building and pushing container images that represent a resource.
classManifestPublishingContextsealed
Contextual information used for manifest publishing during this execution of the AppHost.
classPublishingOptionsobsolete
Represents the options for publishing an application.