ManifestPublishingContext
Classsealednet10.0
Contextual information used for manifest publishing during this execution of the AppHost.
namespace Aspire.Hosting.Publishing;
public sealed class ManifestPublishingContext{ // ...}12 members
Constructors1
Section titled Constructors Contextual information used for manifest publishing during this execution of the AppHost.
Properties4
Section titled Properties Gets execution context for this invocation of the AppHost.
Methods7
Section titled Methodsstring? Generates a relative path based on the location of the manifest path.
Ensures that any
IResource instances referenced by value are written to the manifest. Writes endpoints to the resource entry in the manifest based on the resource's
EndpointAnnotation entries in the IResource.Annotations collection. Task Writes command line arguments to the manifest based on the
IResource resource's CommandLineArgsCallbackAnnotation annotations. Writes the "connectionString" field for the underlying resource.
Task Writes JSON elements to the manifest which represent a container resource.
Task Writes environment variables to the manifest base on the
IResource resource's EnvironmentCallbackAnnotation annotations."/>