2 implementations of GetConnectionStringAsync
Aspire.Hosting.PostgreSQL (1)
Aspire.Hosting.SqlServer (1)
53 references to GetConnectionStringAsync
Aspire.Hosting (2)
Aspire.Hosting.Azure.Tests (26)
AzureBicepResourceTests.cs (25)
237Assert.Equal(cs, await ((IResourceWithConnectionString)cosmos.Resource).GetConnectionStringAsync());
331Assert.Equal("mycosmosconnectionstring", await connectionStringResource.GetConnectionStringAsync());
425Assert.Equal("mycosmosconnectionstring", await connectionStringResource.GetConnectionStringAsync());
441Assert.Equal("https://myendpoint", await connectionStringResource.GetConnectionStringAsync());
506Assert.Equal("myinstrumentationkey", await connectionStringResource.GetConnectionStringAsync());
563Assert.Equal("myinstrumentationkey", await connectionStringResource.GetConnectionStringAsync());
629Assert.Equal("myinstrumentationkey", await connectionStringResource.GetConnectionStringAsync());
1619Assert.Equal("mynamespaceEndpoint", await connectionStringResource.GetConnectionStringAsync());
1723Assert.Equal("https://mywebpubsubendpoint", await connectionStringResource.GetConnectionStringAsync());
1868Assert.Equal(Resolve(blobqs, "blob", 10000), await ((IResourceWithConnectionString)blob.Resource).GetConnectionStringAsync());
1869Assert.Equal(Resolve(queueqs, "queue", 10001), await ((IResourceWithConnectionString)queue.Resource).GetConnectionStringAsync());
1870Assert.Equal(Resolve(tableqs, "table", 10002), await ((IResourceWithConnectionString)table.Resource).GetConnectionStringAsync());
1990Assert.Equal("https://myblob", await connectionStringBlobResource.GetConnectionStringAsync());
2005Assert.Equal("https://myqueue", await connectionStringQueueResource.GetConnectionStringAsync());
2020Assert.Equal("https://mytable", await connectionStringTableResource.GetConnectionStringAsync());
2149Assert.Equal("https://myblob", await connectionStringBlobResource.GetConnectionStringAsync());
2164Assert.Equal("https://myqueue", await connectionStringQueueResource.GetConnectionStringAsync());
2179Assert.Equal("https://mytable", await connectionStringTableResource.GetConnectionStringAsync());
2307Assert.Equal("https://myblob", await connectionStringBlobResource.GetConnectionStringAsync());
2322Assert.Equal("https://myqueue", await connectionStringQueueResource.GetConnectionStringAsync());
2337Assert.Equal("https://mytable", await connectionStringTableResource.GetConnectionStringAsync());
2466Assert.Equal("https://myblob", await connectionStringBlobResource.GetConnectionStringAsync());
2481Assert.Equal("https://myqueue", await connectionStringQueueResource.GetConnectionStringAsync());
2496Assert.Equal("https://mytable", await connectionStringTableResource.GetConnectionStringAsync());
2530Assert.Equal(fakeConnectionString, await connectionStringResource.GetConnectionStringAsync());
Aspire.Hosting.Elasticsearch.Tests (1)
Aspire.Hosting.Garnet.Tests (1)
Aspire.Hosting.Kafka.Tests (1)
Aspire.Hosting.Milvus.Tests (1)
Aspire.Hosting.MongoDB.Tests (2)
Aspire.Hosting.MySql.Tests (3)
Aspire.Hosting.Nats.Tests (2)
Aspire.Hosting.Oracle.Tests (3)
Aspire.Hosting.PostgreSQL (1)
Aspire.Hosting.PostgreSQL.Tests (2)
Aspire.Hosting.Qdrant.Tests (1)
Aspire.Hosting.RabbitMQ.Tests (1)
Aspire.Hosting.Redis (1)
Aspire.Hosting.Redis.Tests (1)
Aspire.Hosting.SqlServer (1)
Aspire.Hosting.SqlServer.Tests (1)
Aspire.Hosting.Testing (1)
Aspire.Hosting.Valkey.Tests (1)