20 references to AddProject
Aspire.Hosting.Azure.Tests (4)
AzureContainerAppsTests.cs (3)
226builder.AddProject<Project>("api", launchProfileName: null) 488var project = builder.AddProject<Project>("api", launchProfileName: null) 1674builder.AddProject<Project>("api", launchProfileName: null)
AzureProvisioningResourceExtensionsTests.cs (1)
19var apiProject = builder.AddProject<Project>("api", launchProfileName: null)
Aspire.Hosting.Tests (11)
ManifestGenerationTests.cs (1)
153appBuilder.AddProject<Projects.ServiceA>("servicea", launchProfileName: null);
ProjectResourceTests.cs (10)
66appBuilder.AddProject<TestProject>("projectName", launchProfileName: null); 180appBuilder.AddProject<TestProject>("projectName", launchProfileName: null); 206appBuilder.AddProject<TestProject>("projectName", launchProfileName: null) 225appBuilder.AddProject<Projects.ServiceA>("projectName", launchProfileName: "http"); 241appBuilder.AddProject<Projects.ServiceA>("projectName", launchProfileName: "https"); 280var ex = Assert.Throws<DistributedApplicationException>(() => appBuilder.AddProject<Projects.ServiceA>("projectName", launchProfileName: "not-exist")); 289appBuilder.AddProject<Projects.ServiceA>("projectName", launchProfileName: null); 306appBuilder.AddProject<Projects.ServiceA>("projectName", launchProfileName: null) 329appBuilder.AddProject<Projects.ServiceA>("projectName", launchProfileName: null) 373appBuilder.AddProject<Projects.ServiceA>("projectName", launchProfileName: null);
ProxylessEndToEnd.AppHost (1)
Program.cs (1)
19builder.AddProject<Projects.ProxylessEndToEnd_ApiService>("api2", launchProfileName: null)
Stress.AppHost (1)
Program.cs (1)
23var serviceBuilder = builder.AddProject<Projects.Stress_ApiService>("stress-apiservice", launchProfileName: null);
TestProject.AppHost (2)
TestProgram.cs (2)
62ServiceBBuilder = AppBuilder.AddProject<Projects.ServiceB>("serviceb", launchProfileName: "http"); 63ServiceCBuilder = AppBuilder.AddProject<Projects.ServiceC>("servicec", launchProfileName: "http");
TestShop.AppHost (1)
Program.cs (1)
43builder.AddProject<Projects.OrderProcessor>("orderprocessor", launchProfileName: "OrderProcessor")