Skip to content
DocsTry Aspire
DocsTry

ILanguageSupport Properties

InterfaceProperties2 members
Interface for providing language-specific support for polyglot AppHosts. Implementations provide scaffolding, detection, and runtime execution configuration.
CertificateBundleEnvironmentVariableSection titled CertificateBundleEnvironmentVariablevirtualnullablestring?
Gets the environment variable that accepts an additional PEM certificate bundle when running an AppHost for this language.
public virtual string? CertificateBundleEnvironmentVariable { get; }
The CLI sets this environment variable only when running the AppHost, not when publishing it. Return the name of the runtime-specific environment variable, rather than a certificate path. The runtime uses the certificate bundle as additional trusted roots for the entire AppHost process, affecting all outbound TLS connections, including connections unrelated to Aspire-managed resources. Implementations should opt in only when this process-wide trust scope is appropriate. For example:
public string? CertificateBundleEnvironmentVariable => "NODE_EXTRA_CA_CERTS";
LanguageSection titled Languageabstractstring
Gets the language identifier (e.g., "TypeScript", "Python").
public abstract string Language { get; }