439 references to Create
Aspire.Hosting (24)
Dcp\DcpExecutor.cs (11)
1773CertificateBundlePath = ReferenceExpression.Create($"{bundleOutputPath}"),
1775CertificateDirectoriesPath = ReferenceExpression.Create($"{string.Join(Path.PathSeparator, dirs)}"),
1781CertificatePath = ReferenceExpression.Create($"{Path.Join(baseServerAuthOutputPath, $"{cert.Thumbprint}.crt")}"),
1782KeyPath = ReferenceExpression.Create($"{Path.Join(baseServerAuthOutputPath, $"{cert.Thumbprint}.key")}"),
1783PfxPath = ReferenceExpression.Create($"{Path.Join(baseServerAuthOutputPath, $"{cert.Thumbprint}.pfx")}"),
2177CertificateBundlePath = ReferenceExpression.Create($"{certificatesDestination}/cert.pem"),
2179CertificateDirectoriesPath = ReferenceExpression.Create($"{string.Join(':', dirs)}"),
2186CertificatePath = ReferenceExpression.Create($"{serverAuthCertificatesBasePath}/{cert.Thumbprint}.crt"),
2187KeyPath = ReferenceExpression.Create($"{serverAuthCertificatesBasePath}/{cert.Thumbprint}.key"),
2188PfxPath = ReferenceExpression.Create($"{serverAuthCertificatesBasePath}/{cert.Thumbprint}.pfx"),
2252CertificatePath = ReferenceExpression.Create($"{serverAuthCertificatesBasePath}/{thumbprint}.crt"),
Aspire.Hosting.Azure.AppConfiguration (2)
Aspire.Hosting.Azure.AppContainers (3)
Aspire.Hosting.Azure.ApplicationInsights (1)
Aspire.Hosting.Azure.AppService (4)
Aspire.Hosting.Azure.CognitiveServices (4)
Aspire.Hosting.Azure.ContainerRegistry (2)
Aspire.Hosting.Azure.CosmosDB (11)
Aspire.Hosting.Azure.EventHubs (8)
Aspire.Hosting.Azure.Functions (1)
Aspire.Hosting.Azure.KeyVault (4)
Aspire.Hosting.Azure.Kusto (6)
Aspire.Hosting.Azure.Network (1)
Aspire.Hosting.Azure.PostgreSQL (22)
Aspire.Hosting.Azure.Redis (16)
Aspire.Hosting.Azure.Search (2)
Aspire.Hosting.Azure.ServiceBus (10)
Aspire.Hosting.Azure.SignalR (4)
Aspire.Hosting.Azure.Sql (12)
Aspire.Hosting.Azure.Storage (14)
Aspire.Hosting.Azure.Tests (30)
Aspire.Hosting.Azure.WebPubSub (4)
Aspire.Hosting.CodeGeneration.Go.Tests (1)
Aspire.Hosting.CodeGeneration.Java.Tests (1)
Aspire.Hosting.CodeGeneration.Python.Tests (1)
Aspire.Hosting.CodeGeneration.Rust.Tests (1)
Aspire.Hosting.CodeGeneration.TypeScript.Tests (1)
Aspire.Hosting.Containers.Tests (1)
Aspire.Hosting.Docker (3)
Aspire.Hosting.Docker.Tests (6)
DockerComposePublisherTests.cs (6)
31var cs = builder.AddConnectionString("cs", ReferenceExpression.Create($"Url={param0}, Secret={param1}"));
944ReferenceExpression.Create($",ssl=true"),
952ReferenceExpression.Create($",ssl=true"),
953ReferenceExpression.Create($",ssl=false"));
986ReferenceExpression.Create($",ssl=true"),
987ReferenceExpression.Create($",ssl=false"));
Aspire.Hosting.Foundry (14)
Aspire.Hosting.Garnet (3)
Aspire.Hosting.GitHub.Models (5)
Aspire.Hosting.JavaScript (1)
Aspire.Hosting.JavaScript.Tests (18)
AddViteAppTests.cs (18)
317CertificatePath = ReferenceExpression.Create($"cert.pem"),
318KeyPath = ReferenceExpression.Create($"key.pem"),
319PfxPath = ReferenceExpression.Create($"cert.pfx"),
377CertificatePath = ReferenceExpression.Create($"cert.pem"),
378KeyPath = ReferenceExpression.Create($"key.pem"),
379PfxPath = ReferenceExpression.Create($"cert.pfx"),
428CertificatePath = ReferenceExpression.Create($"cert.pem"),
429KeyPath = ReferenceExpression.Create($"key.pem"),
430PfxPath = ReferenceExpression.Create($"cert.pfx"),
484CertificatePath = ReferenceExpression.Create($"cert.pem"),
485KeyPath = ReferenceExpression.Create($"key.pem"),
486PfxPath = ReferenceExpression.Create($"cert.pfx"),
540CertificatePath = ReferenceExpression.Create($"cert.pem"),
541KeyPath = ReferenceExpression.Create($"key.pem"),
542PfxPath = ReferenceExpression.Create($"cert.pfx"),
615CertificatePath = ReferenceExpression.Create($"cert.pem"),
616KeyPath = ReferenceExpression.Create($"key.pem"),
617PfxPath = ReferenceExpression.Create($"cert.pfx"),
Aspire.Hosting.Kafka (7)
Aspire.Hosting.Keycloak (2)
Aspire.Hosting.Kubernetes (1)
Aspire.Hosting.Kubernetes.Tests (10)
KubernetesPublisherTests.cs (10)
25var cs = builder.AddConnectionString("cs", ReferenceExpression.Create($"Url={param0}, Secret={param1}"));
185var cs = builder.AddConnectionString("api-cs", ReferenceExpression.Create($"Url={param0}, Secret={param1}"));
186var csPlain = builder.AddConnectionString("api-cs2", ReferenceExpression.Create($"host.local:80"));
466ReferenceExpression.Create($",ssl=true"),
474ReferenceExpression.Create($",ssl=true"),
475ReferenceExpression.Create($",ssl=false"));
528ReferenceExpression.Create($",ssl=true"),
529ReferenceExpression.Create($",ssl=false"));
585ReferenceExpression.Create($"{tlsSuffix.Resource}"),
586ReferenceExpression.Create($",ssl=false"));
Aspire.Hosting.Milvus (8)
Aspire.Hosting.MongoDB (8)
Aspire.Hosting.MySql (7)
Aspire.Hosting.Nats (5)
Aspire.Hosting.OpenAI (5)
Aspire.Hosting.Oracle (7)
Aspire.Hosting.PostgreSQL (9)
Aspire.Hosting.Qdrant (9)
Aspire.Hosting.RabbitMQ (5)
Aspire.Hosting.Redis (4)
Aspire.Hosting.RemoteHost.Tests (5)
Aspire.Hosting.Seq (4)
Aspire.Hosting.SqlServer (10)
Aspire.Hosting.Tests (86)
ConnectionPropertiesExtensionsTests.cs (5)
16new KeyValuePair<string, ReferenceExpression>("Host", ReferenceExpression.Create($"resourceHost")),
17new KeyValuePair<string, ReferenceExpression>("Port", ReferenceExpression.Create($"8080")),
22new KeyValuePair<string, ReferenceExpression>("Port", ReferenceExpression.Create($"9090")),
23new KeyValuePair<string, ReferenceExpression>("Username", ReferenceExpression.Create($"user")),
44public ReferenceExpression ConnectionStringExpression { get; } = ReferenceExpression.Create($"{name}.connectionString");
ExpressionResolverTests.cs (11)
290ReferenceExpression.Create($"{PrimaryEndpoint.Property(EndpointProperty.Url)}");
314{ "TwoFullEndpoints", ReferenceExpression.Create($"Test1={Endpoint1.Property(EndpointProperty.Scheme)}://{Endpoint1.Property(EndpointProperty.IPV4Host)}:{Endpoint1.Property(EndpointProperty.Port)}/;Test2={Endpoint2.Property(EndpointProperty.Scheme)}://{Endpoint2.Property(EndpointProperty.Host)}:{Endpoint2.Property(EndpointProperty.Port)}/;") },
315{ "Url", ReferenceExpression.Create($"Url={Endpoint1.Property(EndpointProperty.Url)};") },
316{ "Url2", ReferenceExpression.Create($"Url={Endpoint1};") },
317{ "OnlyHost", ReferenceExpression.Create($"Host={Endpoint1.Property(EndpointProperty.Host)};") },
318{ "OnlyPort", ReferenceExpression.Create($"Port={Endpoint1.Property(EndpointProperty.Port)};") },
319{ "HostAndPort", ReferenceExpression.Create($"HostPort={Endpoint1.Property(EndpointProperty.HostAndPort)}") },
320{ "PortBeforeHost", ReferenceExpression.Create($"Port={Endpoint1.Property(EndpointProperty.Port)};Host={Endpoint1.Property(EndpointProperty.Host)};") },
321{ "FullAndPartial", ReferenceExpression.Create($"Test1={Endpoint1.Property(EndpointProperty.Scheme)}://{Endpoint1.Property(EndpointProperty.IPV4Host)}:{Endpoint1.Property(EndpointProperty.Port)}/;Test2={Endpoint2.Property(EndpointProperty.Scheme)}://localhost:{Endpoint2.Property(EndpointProperty.Port)}/;") },
323{ "String", ReferenceExpression.Create($"String") },
326{ "UrlEncodedHost", ReferenceExpression.Create($"Host={Endpoint3.Property(EndpointProperty.Host):uri};") },
Aspire.Hosting.Valkey (3)
Aspire.Hosting.Yarp.Tests (1)
ParameterEndToEnd.AppHost (1)
TestingAppHost1.AppHost (1)