4 references to Name
Aspire.Hosting.Foundry (3)
Project\ProjectResource.cs (3)
338
throw new InvalidOperationException($"Capability host '{
Name
}' on project '{projectName}' requires a CosmosDB resource. Call WithCosmosDB() on the capability host builder.");
342
throw new InvalidOperationException($"Capability host '{
Name
}' on project '{projectName}' requires a Storage resource. Call WithStorage() on the capability host builder.");
346
throw new InvalidOperationException($"Capability host '{
Name
}' on project '{projectName}' requires a Search resource. Call WithSearch() on the capability host builder.");
Aspire.Hosting.Foundry.Tests (1)
ProjectResourceTests.cs (1)
211
Assert.Equal("cap-host", project.Resource.CapabilityHostConfiguration.
Name
);