242 references to Create
Aspire.Hosting (10)
Aspire.Hosting.Azure.AIFoundry (4)
Aspire.Hosting.Azure.AppConfiguration (2)
Aspire.Hosting.Azure.AppContainers (3)
Aspire.Hosting.Azure.ApplicationInsights (1)
Aspire.Hosting.Azure.AppService (4)
Aspire.Hosting.Azure.CognitiveServices (2)
Aspire.Hosting.Azure.ContainerRegistry (2)
Aspire.Hosting.Azure.CosmosDB (4)
Aspire.Hosting.Azure.Functions (1)
Aspire.Hosting.Azure.KeyVault (2)
Aspire.Hosting.Azure.Kusto (3)
Aspire.Hosting.Azure.PostgreSQL (10)
Aspire.Hosting.Azure.Redis (11)
Aspire.Hosting.Azure.Search (1)
Aspire.Hosting.Azure.ServiceBus (2)
Aspire.Hosting.Azure.SignalR (2)
Aspire.Hosting.Azure.Sql (2)
Aspire.Hosting.Azure.Storage (3)
Aspire.Hosting.Azure.Tests (11)
Aspire.Hosting.Azure.WebPubSub (3)
Aspire.Hosting.Containers.Tests (1)
Aspire.Hosting.Docker (1)
Aspire.Hosting.Docker.Tests (1)
Aspire.Hosting.Garnet (3)
Aspire.Hosting.GitHub.Models (5)
Aspire.Hosting.Kafka (7)
Aspire.Hosting.Keycloak (2)
Aspire.Hosting.Kubernetes (1)
Aspire.Hosting.Kubernetes.Tests (3)
Aspire.Hosting.Milvus (8)
Aspire.Hosting.MongoDB (9)
Aspire.Hosting.MySql (10)
Aspire.Hosting.Nats (5)
Aspire.Hosting.OpenAI (5)
Aspire.Hosting.Oracle (8)
Aspire.Hosting.PostgreSQL (12)
Aspire.Hosting.Qdrant (9)
Aspire.Hosting.RabbitMQ (5)
Aspire.Hosting.Redis (3)
Aspire.Hosting.Seq (4)
Aspire.Hosting.SqlServer (8)
Aspire.Hosting.Tests (42)
ConnectionPropertiesExtensionsTests.cs (5)
15new KeyValuePair<string, ReferenceExpression>("Host", ReferenceExpression.Create($"resourceHost")),
16new KeyValuePair<string, ReferenceExpression>("Port", ReferenceExpression.Create($"8080")),
21new KeyValuePair<string, ReferenceExpression>("Port", ReferenceExpression.Create($"9090")),
22new KeyValuePair<string, ReferenceExpression>("Username", ReferenceExpression.Create($"user")),
43public ReferenceExpression ConnectionStringExpression { get; } = ReferenceExpression.Create($"{name}.connectionString");
ExpressionResolverTests.cs (11)
205ReferenceExpression.Create($"{PrimaryEndpoint.Property(EndpointProperty.Url)}");
229{ "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)}/;") },
230{ "Url", ReferenceExpression.Create($"Url={Endpoint1.Property(EndpointProperty.Url)};") },
231{ "Url2", ReferenceExpression.Create($"Url={Endpoint1};") },
232{ "OnlyHost", ReferenceExpression.Create($"Host={Endpoint1.Property(EndpointProperty.Host)};") },
233{ "OnlyPort", ReferenceExpression.Create($"Port={Endpoint1.Property(EndpointProperty.Port)};") },
234{ "HostAndPort", ReferenceExpression.Create($"HostPort={Endpoint1.Property(EndpointProperty.HostAndPort)}") },
235{ "PortBeforeHost", ReferenceExpression.Create($"Port={Endpoint1.Property(EndpointProperty.Port)};Host={Endpoint1.Property(EndpointProperty.Host)};") },
236{ "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)}/;") },
238{ "String", ReferenceExpression.Create($"String") },
241{ "UrlEncodedHost", ReferenceExpression.Create($"Host={Endpoint3.Property(EndpointProperty.Host):uri};") },
Aspire.Hosting.Valkey (3)
Aspire.Hosting.Yarp.Tests (1)
AspireWithNode.AppHost (1)
ParameterEndToEnd.AppHost (1)
TestingAppHost1.AppHost (1)