171 references to CreateBuilder
Aspire.Hosting (4)
DistributedApplication.cs (4)
20/// <see cref="DistributedApplication.CreateBuilder()"/> method to create an instance of the <see cref="IDistributedApplicationBuilder"/> 69/// This overload of the <see cref="CreateBuilder()"/> method should only be 71/// passed to the <see cref="CreateBuilder()"/> method the app host has no 87public static IDistributedApplicationBuilder CreateBuilder() => CreateBuilder([]);
Aspire.Hosting.Containers.Tests (6)
ContainerResourceTests.cs (6)
17var appBuilder = DistributedApplication.CreateBuilder(); 36var appBuilder = DistributedApplication.CreateBuilder(); 55var appBuilder = DistributedApplication.CreateBuilder(); 104var builder = DistributedApplication.CreateBuilder(["--publisher", "manifest"]); 137var builder = DistributedApplication.CreateBuilder(["--publisher", "manifest"]); 183var builder = DistributedApplication.CreateBuilder(["--publisher", "manifest"]);
Aspire.Hosting.Elasticsearch.Tests (3)
AddElasticsearchTests.cs (3)
18var appBuilder = DistributedApplication.CreateBuilder(); 78var appBuilder = DistributedApplication.CreateBuilder(); 140var appBuilder = DistributedApplication.CreateBuilder();
Aspire.Hosting.Garnet.Tests (3)
AddGarnetTests.cs (3)
17var appBuilder = DistributedApplication.CreateBuilder(); 45var appBuilder = DistributedApplication.CreateBuilder(); 73var appBuilder = DistributedApplication.CreateBuilder();
Aspire.Hosting.Kafka.Tests (3)
AddKafkaTests.cs (2)
17var appBuilder = DistributedApplication.CreateBuilder(); 58var appBuilder = DistributedApplication.CreateBuilder();
KafkaPublicApiTests.cs (1)
27var builder = DistributedApplication.CreateBuilder([]);
Aspire.Hosting.Keycloak.Tests (1)
KeycloakResourceBuilderTests.cs (1)
17var appBuilder = DistributedApplication.CreateBuilder();
Aspire.Hosting.Milvus.Tests (9)
AddMilvusTests.cs (4)
19var appBuilder = DistributedApplication.CreateBuilder(); 50var appBuilder = DistributedApplication.CreateBuilder(); 81var appBuilder = DistributedApplication.CreateBuilder(); 98var appBuilder = DistributedApplication.CreateBuilder();
MilvusPublicApiTests.cs (5)
27var builder = DistributedApplication.CreateBuilder([]); 41var builder = DistributedApplication.CreateBuilder([]); 103var builder = DistributedApplication.CreateBuilder([]); 130var builder = DistributedApplication.CreateBuilder([]); 145var builder = DistributedApplication.CreateBuilder([]);
Aspire.Hosting.MongoDB.Tests (7)
AddMongoDBTests.cs (6)
18var appBuilder = DistributedApplication.CreateBuilder(); 47var appBuilder = DistributedApplication.CreateBuilder(); 75var appBuilder = DistributedApplication.CreateBuilder(); 110var builder = DistributedApplication.CreateBuilder(); 128var builder = DistributedApplication.CreateBuilder(); 192var appBuilder = DistributedApplication.CreateBuilder();
MongoDBPublicApiTests.cs (1)
27var builder = DistributedApplication.CreateBuilder([]);
Aspire.Hosting.MySql.Tests (8)
AddMySqlTests.cs (6)
39var appBuilder = DistributedApplication.CreateBuilder(); 76var appBuilder = DistributedApplication.CreateBuilder(); 116var appBuilder = DistributedApplication.CreateBuilder(); 134var appBuilder = DistributedApplication.CreateBuilder(); 236var builder = DistributedApplication.CreateBuilder(); 270var builder = DistributedApplication.CreateBuilder();
MySqlPublicApiTests.cs (2)
27var builder = DistributedApplication.CreateBuilder([]); 146var distributedApplicationBuilder = DistributedApplication.CreateBuilder([]);
Aspire.Hosting.Nats.Tests (4)
AddNatsTests.cs (4)
37var appBuilder = DistributedApplication.CreateBuilder(); 61var appBuilder = DistributedApplication.CreateBuilder(); 88var appBuilder = DistributedApplication.CreateBuilder(); 128var appBuilder = DistributedApplication.CreateBuilder();
Aspire.Hosting.NodeJs.Tests (5)
NodeJsPublicApiTests.cs (5)
26var builder = DistributedApplication.CreateBuilder(); 39var builder = DistributedApplication.CreateBuilder(); 65var builder = DistributedApplication.CreateBuilder(); 78var builder = DistributedApplication.CreateBuilder(); 91var builder = DistributedApplication.CreateBuilder();
Aspire.Hosting.Oracle.Tests (5)
AddOracleTests.cs (5)
38var appBuilder = DistributedApplication.CreateBuilder(); 75var appBuilder = DistributedApplication.CreateBuilder(); 115var appBuilder = DistributedApplication.CreateBuilder(); 134var appBuilder = DistributedApplication.CreateBuilder(); 157var appBuilder = DistributedApplication.CreateBuilder();
Aspire.Hosting.PostgreSQL.Tests (11)
AddPostgresTests.cs (11)
20var builder = DistributedApplication.CreateBuilder(); 48var appBuilder = DistributedApplication.CreateBuilder(); 100var appBuilder = DistributedApplication.CreateBuilder(); 155var appBuilder = DistributedApplication.CreateBuilder(); 169var appBuilder = DistributedApplication.CreateBuilder(); 191var appBuilder = DistributedApplication.CreateBuilder(); 390var builder = DistributedApplication.CreateBuilder(); 400var builder = DistributedApplication.CreateBuilder(); 418var builder = DistributedApplication.CreateBuilder(); 454var builder = DistributedApplication.CreateBuilder(); 499var builder = DistributedApplication.CreateBuilder();
Aspire.Hosting.Qdrant.Tests (7)
AddQdrantTests.cs (5)
41var appBuilder = DistributedApplication.CreateBuilder(); 80var appBuilder = DistributedApplication.CreateBuilder(); 111var appBuilder = DistributedApplication.CreateBuilder(); 153var appBuilder = DistributedApplication.CreateBuilder(); 170var appBuilder = DistributedApplication.CreateBuilder();
QdrantPublicApiTests.cs (2)
27var builder = DistributedApplication.CreateBuilder([]); 101var distributedApplicationBuilder = DistributedApplication.CreateBuilder([]);
Aspire.Hosting.RabbitMQ.Tests (4)
AddRabbitMQTests.cs (1)
94var appBuilder = DistributedApplication.CreateBuilder();
RabbitMQPublicApiTests.cs (3)
27var builder = DistributedApplication.CreateBuilder([]); 97var distributedApplicationBuilder = DistributedApplication.CreateBuilder([]); 110var distributedApplicationBuilder = DistributedApplication.CreateBuilder([]);
Aspire.Hosting.Redis.Tests (12)
AddRedisTests.cs (12)
18var builder = DistributedApplication.CreateBuilder(); 26var appBuilder = DistributedApplication.CreateBuilder(); 54var appBuilder = DistributedApplication.CreateBuilder(); 82var appBuilder = DistributedApplication.CreateBuilder(); 125var builder = DistributedApplication.CreateBuilder(); 135var builder = DistributedApplication.CreateBuilder(); 145var builder = DistributedApplication.CreateBuilder(); 163var builder = DistributedApplication.CreateBuilder(); 181var builder = DistributedApplication.CreateBuilder(); 195var builder = DistributedApplication.CreateBuilder(); 209var builder = DistributedApplication.CreateBuilder(); 231var builder = DistributedApplication.CreateBuilder();
Aspire.Hosting.SqlServer.Tests (12)
AddSqlServerTests.cs (3)
38var appBuilder = DistributedApplication.CreateBuilder(); 82var appBuilder = DistributedApplication.CreateBuilder(); 104var appBuilder = DistributedApplication.CreateBuilder();
SqlServerPublicApiTests.cs (9)
27var builder = DistributedApplication.CreateBuilder([]); 51var builder = DistributedApplication.CreateBuilder([]) 64var builder = DistributedApplication.CreateBuilder([]) 113var distributedApplicationBuilder = DistributedApplication.CreateBuilder([]); 127var distributedApplicationBuilder = DistributedApplication.CreateBuilder([]); 142var distributedApplicationBuilder = DistributedApplication.CreateBuilder([]); 157var distributedApplicationBuilder = DistributedApplication.CreateBuilder([]); 172var distributedApplicationBuilder = DistributedApplication.CreateBuilder([]); 187var distributedApplicationBuilder = DistributedApplication.CreateBuilder([]);
Aspire.Hosting.Tests (64)
AddParameterTests.cs (9)
19var appBuilder = DistributedApplication.CreateBuilder(); 57var appBuilder = DistributedApplication.CreateBuilder(); 99var appBuilder = DistributedApplication.CreateBuilder(); 124var appBuilder = DistributedApplication.CreateBuilder(); 174var appBuilder = DistributedApplication.CreateBuilder(); 222var appBuilder = DistributedApplication.CreateBuilder(); 236var appBuilder = DistributedApplication.CreateBuilder(); 282var appBuilder = DistributedApplication.CreateBuilder(); 296var appBuilder = DistributedApplication.CreateBuilder();
Dcp\ApplicationExecutorTests.cs (19)
30var builder = DistributedApplication.CreateBuilder(); 106var builder = DistributedApplication.CreateBuilder(); 137var builder = DistributedApplication.CreateBuilder(); 169var builder = DistributedApplication.CreateBuilder(); 201var builder = DistributedApplication.CreateBuilder(); 239var builder = DistributedApplication.CreateBuilder(); 256var builder = DistributedApplication.CreateBuilder(); 290var builder = DistributedApplication.CreateBuilder(); 324var builder = DistributedApplication.CreateBuilder(); 392var builder = DistributedApplication.CreateBuilder(); 735var builder = DistributedApplication.CreateBuilder(); 769var builder = DistributedApplication.CreateBuilder(); 831var builder = DistributedApplication.CreateBuilder(); 848var builder = DistributedApplication.CreateBuilder(); 884var builder = DistributedApplication.CreateBuilder(); 920var builder = DistributedApplication.CreateBuilder(); 957var builder = DistributedApplication.CreateBuilder(); 975var builder = DistributedApplication.CreateBuilder(); 994var builder = DistributedApplication.CreateBuilder();
Dcp\DcpCliArgsTests.cs (4)
16var builder = DistributedApplication.CreateBuilder([ 26var builder = DistributedApplication.CreateBuilder([ 36var builder = DistributedApplication.CreateBuilder([ 46var builder = DistributedApplication.CreateBuilder(
DistributedApplicationBuilderTests.cs (10)
30var appBuilder = DistributedApplication.CreateBuilder(); 60var appBuilder = DistributedApplication.CreateBuilder(); 72var appBuilder = DistributedApplication.CreateBuilder(["--publisher", "manifest", "--output-path", "/tmp/"]); 83var appBuilder = DistributedApplication.CreateBuilder(["--publisher", "manifest", "--output-path", "/tmp/"]); 96var appBuilder = DistributedApplication.CreateBuilder(); 107var appBuilder = DistributedApplication.CreateBuilder(); 129var appBuilder = DistributedApplication.CreateBuilder(); 140var appBuilder = DistributedApplication.CreateBuilder(); 151var appBuilder = DistributedApplication.CreateBuilder(); 163var appBuilder = DistributedApplication.CreateBuilder();
ExecutableResourceTests.cs (1)
16var appBuilder = DistributedApplication.CreateBuilder();
ExpressionResolverTests.cs (3)
33var builder = DistributedApplication.CreateBuilder(); 84var builder = DistributedApplication.CreateBuilder(); 106var builder = DistributedApplication.CreateBuilder();
ManifestGenerationTests.cs (1)
497var appBuilder = DistributedApplication.CreateBuilder();
ProjectResourceTests.cs (1)
569var appBuilder = DistributedApplication.CreateBuilder();
PublishAsConnectionStringTests.cs (1)
15var builder = DistributedApplication.CreateBuilder();
PublishAsDockerfileTests.cs (3)
15var builder = DistributedApplication.CreateBuilder(); 44var builder = DistributedApplication.CreateBuilder(); 86var builder = DistributedApplication.CreateBuilder();
ResourceCommandAnnotationTests.cs (1)
39var builder = DistributedApplication.CreateBuilder();
ResourceExtensionsTests.cs (5)
147var builder = DistributedApplication.CreateBuilder(); 157var builder = DistributedApplication.CreateBuilder(); 167var builder = DistributedApplication.CreateBuilder(); 199var builder = DistributedApplication.CreateBuilder(); 232var builder = DistributedApplication.CreateBuilder();
ResourceNotificationTests.cs (1)
18var builder = DistributedApplication.CreateBuilder();
Utils\VolumeNameGeneratorTests.cs (2)
15var builder = DistributedApplication.CreateBuilder(); 30var builder = DistributedApplication.CreateBuilder();
Utils\WithAnnotationTests.cs (3)
13var builder = DistributedApplication.CreateBuilder(); 27var builder = DistributedApplication.CreateBuilder(); 41var builder = DistributedApplication.CreateBuilder();
Aspire.Hosting.Valkey.Tests (3)
AddValkeyTests.cs (3)
17var appBuilder = DistributedApplication.CreateBuilder(); 45var appBuilder = DistributedApplication.CreateBuilder(); 73var appBuilder = DistributedApplication.CreateBuilder();