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