Nextended.Aspire — API reference
The complete public surface of Nextended.Aspire, generated from the compiled assembly.
Generated
This page is generated by tools/ApiRef from the compiled assembly — it includes members with no XML comment and therefore cannot drift from the code. Do not edit by hand.
Nextended.Aspire
DevCertHostingExtensions
static class
No description.
DistributedApplicationBuilderExtensions
static class
Extension methods for IResourceBuilder1` that provide conditional operations such as waiting for dependencies and adding references or environment variables to a resource.
DistributedApplicationExtensions
static class
No description.
DockerHelper
class
No description.
Constructors
DockerHelper()
Methods
EnsureDockerIsRunning() : voidIsDockerInstalled() : boolIsDockerRunning() : boolStartDocker() : void
GithubRepositoryExtensions
static class
Runs any GitHub (or other git) repository as an Aspire container resource: the repo is cloned/updated on the host at build time and built via its own — or a generated — Dockerfile.
Methods
EnsureGitCheckout(string repository, string gitRef, string dir) : void
Clonesrepository@gitRefintodir(shallow), or refreshes an existing checkout to that ref. A failed refresh (offline) keeps the existing checkout; the initial clone is required and throws with a clear message.
GithubRepositoryOptions
class
Options for AddGithubRepository / WithGithubSource``1.
Constructors
GithubRepositoryOptions()
Properties
CheckoutDirectory : string { get; set; }
Directory the repository is cloned into. Default{AppHostDirectory}/obj/github/{resourceName}. The checkout itself lives in asrcsubfolder; a generated Dockerfile is written next to it.ContextSubPath : string { get; set; }
Subdirectory of the checkout to use as the docker build context. Default: repo root.DockerfileContent : string { get; set; }
Content of a Dockerfile to generate next to the checkout (for repos that ship none). Line endings are normalized to LF. Whennull, the repo's own Dockerfile is used (seeDockerfilePath).DockerfilePath : string { get; set; }
Path of the Dockerfile inside the checkout, relative to the repo root — only used whenDockerfileContentisnull. Default: the builder's own default (Dockerfilein the context).GitRef : string { get; set; }
Git branch/tag/commit-ish to check out. Defaultmain. Pin a tag for reproducible builds.
Projects
Nextended_Aspire
class
Metadata for the Aspire AppHost project.
Properties
ProjectPath : string { get; }
The path to the Aspire Host project.