Implemented interface member:
property
Name
Aspire.Hosting.ApplicationModel.IResource.Name
1 write to Name
Aspire.Hosting (1)
348 references to Name
Aspire.Hosting (3)
Aspire.Hosting.Azure (1)
Aspire.Hosting.Azure.AppConfiguration (1)
Aspire.Hosting.Azure.AppContainers (2)
Aspire.Hosting.Azure.CognitiveServices (2)
Aspire.Hosting.Azure.CosmosDB (1)
Aspire.Hosting.Azure.EventHubs (1)
Aspire.Hosting.Azure.Functions (2)
Aspire.Hosting.Azure.KeyVault (1)
Aspire.Hosting.Azure.PostgreSQL (2)
Aspire.Hosting.Azure.Redis (1)
Aspire.Hosting.Azure.ServiceBus (1)
Aspire.Hosting.Azure.SignalR (1)
Aspire.Hosting.Azure.Sql (3)
Aspire.Hosting.Azure.Storage (1)
Aspire.Hosting.Azure.Tests (46)
AzureBicepResourceTests.cs (14)
330Assert.Equal("cosmos", cosmos.Resource.Name);
424Assert.Equal("cosmos", cosmos.Resource.Name);
505Assert.Equal("appInsights", appInsights.Resource.Name);
562Assert.Equal("appInsights", appInsights.Resource.Name);
628Assert.Equal("appInsights", appInsights.Resource.Name);
681Assert.Equal("logAnalyticsWorkspace", logAnalyticsWorkspace.Resource.Name);
1618Assert.Equal("sb", serviceBus.Resource.Name);
1727Assert.Equal("wps1", wps.Resource.Name);
1794Assert.Equal("wps1", wps.Resource.Name);
1894Assert.Equal("storage", storage.Resource.Name);
2053Assert.Equal("storage", storage.Resource.Name);
2211Assert.Equal("storage", storage.Resource.Name);
2370Assert.Equal("storage", storage.Resource.Name);
2528Assert.Equal("search", search.Resource.Name);
Aspire.Hosting.Azure.WebPubSub (1)
Aspire.Hosting.Dapr (11)
Aspire.Hosting.Elasticsearch (1)
Aspire.Hosting.Elasticsearch.Tests (12)
Aspire.Hosting.Garnet.Tests (10)
Aspire.Hosting.Kafka.Tests (8)
Aspire.Hosting.Keycloak.Tests (1)
Aspire.Hosting.Milvus (2)
Aspire.Hosting.Milvus.Tests (10)
Aspire.Hosting.MongoDB (1)
Aspire.Hosting.MongoDB.Tests (14)
Aspire.Hosting.MySql (3)
Aspire.Hosting.MySql.Tests (19)
Aspire.Hosting.Nats.Tests (16)
NatsFunctionalTests.cs (14)
37await app.WaitForTextAsync("Listening for client connections", nats.Resource.Name);
41hb.Configuration[$"ConnectionStrings:{nats.Resource.Name}"] = await nats.Resource.ConnectionStringExpression.GetValueAsync(default);
82await app.WaitForTextAsync("Listening for client connections", nats.Resource.Name);
87hb.Configuration[$"ConnectionStrings:{nats.Resource.Name}"] = connectionString;
126await app.WaitForTextAsync("Listening for client connections", nats.Resource.Name);
135hb.Configuration[$"ConnectionStrings:{nats.Resource.Name}"] = modifiedConnectionString;
187await app.WaitForTextAsync("Listening for client connections", nats1.Resource.Name);
192hb.Configuration[$"ConnectionStrings:{nats1.Resource.Name}"] = await nats1.Resource.ConnectionStringExpression.GetValueAsync(default);
235await app.WaitForTextAsync("Listening for client connections", nats2.Resource.Name);
240hb.Configuration[$"ConnectionStrings:{nats2.Resource.Name}"] = await nats2.Resource.ConnectionStringExpression.GetValueAsync(default);
347await rns.WaitForResourceAsync(resource.Resource.Name, KnownResourceStates.Running, cts.Token);
349await rns.WaitForResourceAsync(dependentResource.Resource.Name, KnownResourceStates.Waiting, cts.Token);
353await rns.WaitForResourceHealthyAsync(resource.Resource.Name, cts.Token);
355await rns.WaitForResourceAsync(dependentResource.Resource.Name, KnownResourceStates.Running, cts.Token);
Aspire.Hosting.Oracle (1)
Aspire.Hosting.Oracle.Tests (12)
Aspire.Hosting.PostgreSQL (4)
Aspire.Hosting.PostgreSQL.Tests (19)
PostgresFunctionalTests.cs (16)
56await rns.WaitForResourceAsync(postgres.Resource.Name, KnownResourceStates.Running, cts.Token);
59await rns.WaitForResourceAsync(dependentResource.Resource.Name, KnownResourceStates.Waiting, cts.Token);
65await rns.WaitForResourceHealthyAsync(postgres.Resource.Name, cts.Token);
68await rns.WaitForResourceAsync(dependentResource.Resource.Name, KnownResourceStates.Running, cts.Token);
90await app.WaitForTextAsync("Listening at", resourceName: adminBuilder.Resource.Name);
92var client = app.CreateHttpClient(adminBuilder.Resource.Name, "http");
123[$"ConnectionStrings:{db.Resource.Name}"] = await db.Resource.ConnectionStringExpression.GetValueAsync(default)
126hb.AddNpgsqlDataSource(db.Resource.Name);
167await app.WaitForTextAsync("Starting server...", resourceName: pgWebBuilder.Resource.Name);
169var client = app.CreateHttpClient(pgWebBuilder.Resource.Name, "http");
239[$"ConnectionStrings:{db1.Resource.Name}"] = await db1.Resource.ConnectionStringExpression.GetValueAsync(default)
242hb.AddNpgsqlDataSource(db1.Resource.Name);
300[$"ConnectionStrings:{db2.Resource.Name}"] = await db2.Resource.ConnectionStringExpression.GetValueAsync(default)
303hb.AddNpgsqlDataSource(db2.Resource.Name);
392[$"ConnectionStrings:{db.Resource.Name}"] = await db.Resource.ConnectionStringExpression.GetValueAsync(default)
395hb.AddNpgsqlDataSource(db.Resource.Name);
Aspire.Hosting.Python.Tests (2)
Aspire.Hosting.Qdrant (3)
Aspire.Hosting.Qdrant.Tests (11)
Aspire.Hosting.RabbitMQ (3)
Aspire.Hosting.RabbitMQ.Tests (11)
Aspire.Hosting.Redis.Tests (37)
RedisFunctionalTests.cs (33)
50await rns.WaitForResourceAsync(resource.Resource.Name, KnownResourceStates.Running, cts.Token);
52await rns.WaitForResourceAsync(dependentResource.Resource.Name, KnownResourceStates.Waiting, cts.Token);
56await rns.WaitForResourceHealthyAsync(resource.Resource.Name, cts.Token);
58await rns.WaitForResourceAsync(dependentResource.Resource.Name, KnownResourceStates.Running, cts.Token);
79await app.WaitForTextAsync("Redis Connection", resourceName: commanderBuilder.Resource.Name);
81var client = app.CreateHttpClient(commanderBuilder.Resource.Name, "http");
84var path = $"/apiv2/server/R:{redis.Resource.Name}:{endpoint.TargetPort}:0/info";
105[$"ConnectionStrings:{redis.Resource.Name}"] = await redis.Resource.GetConnectionStringAsync()
108hb.AddRedisClient(redis.Resource.Name);
169using var client1 = app1.CreateHttpClient($"{redis1.Resource.Name}-insight", "http");
174Assert.Equal($"{redis1.Resource.Name}", firstRunDatabases[0].Name);
206using var client2 = app2.CreateHttpClient($"{redisInsightBuilder.Resource.Name}", "http");
211Assert.Equal($"{redis2.Resource.Name}", secondRunDatabases[0].Name);
223var latestEvent = await rns.WaitForResourceHealthyAsync(redisInsightBuilder.Resource.Name, cts.Token);
258var client = app.CreateHttpClient(redisInsightBuilder.Resource.Name, "http");
269Assert.Equal(redis1.Resource.Name, db.Name);
270Assert.Equal(redis1.Resource.Name, db.Host);
277Assert.Equal(redis2.Resource.Name, db.Name);
278Assert.Equal(redis2.Resource.Name, db.Host);
316[$"ConnectionStrings:{redis1.Resource.Name}"] = $"{await redis1.Resource.GetConnectionStringAsync()},allowAdmin=true"
319hb.AddRedisClient(redis1.Resource.Name);
352[$"ConnectionStrings:{redis2.Resource.Name}"] = await redis2.Resource.GetConnectionStringAsync()
355hb.AddRedisClient(redis2.Resource.Name);
402[$"ConnectionStrings:{redis1.Resource.Name}"] = $"{await redis1.Resource.GetConnectionStringAsync()},allowAdmin=true"
405hb.AddRedisClient(redis1.Resource.Name);
437[$"ConnectionStrings:{redis2.Resource.Name}"] = await redis2.Resource.GetConnectionStringAsync()
440hb.AddRedisClient(redis2.Resource.Name);
486[$"ConnectionStrings:{redis1.Resource.Name}"] = $"{await redis1.Resource.GetConnectionStringAsync()},allowAdmin=true"
489hb.AddRedisClient(redis1.Resource.Name);
516[$"ConnectionStrings:{redis2.Resource.Name}"] = await redis2.Resource.GetConnectionStringAsync()
519hb.AddRedisClient(redis2.Resource.Name);
589var httpClient = app.CreateHttpClient(redisInsightBuilder1.Resource.Name, "http");
632var httpClient = app.CreateHttpClient(redisInsightBuilder2.Resource.Name, "http");
Aspire.Hosting.SqlServer (1)
Aspire.Hosting.SqlServer.Tests (12)
Aspire.Hosting.Testing.Tests (2)
Aspire.Hosting.Tests (34)
Aspire.Hosting.Valkey.Tests (12)
Aspire.Playground.Tests (3)
KafkaBasic.AppHost (2)
TestProject.AppHost (1)