4 references to Name
Aspire.Hosting.Foundry (3)
Project\ProjectResource.cs (3)
268
throw new InvalidOperationException($"Capability host '{
Name
}' on project '{projectName}' requires a CosmosDB resource. Call WithCosmosDB() on the capability host builder.");
272
throw new InvalidOperationException($"Capability host '{
Name
}' on project '{projectName}' requires a Storage resource. Call WithStorage() on the capability host builder.");
276
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)
136
Assert.Equal("cap-host", project.Resource.CapabilityHostConfiguration.
Name
);