2 implementations of AppHostAssembly
Aspire.Hosting.Testing (2)
DistributedApplicationTestingBuilder.cs (2)
209
public Assembly?
AppHostAssembly
=> innerBuilder.AppHostAssembly;
346
public Assembly?
AppHostAssembly
=> _innerBuilder.AppHostAssembly;
4 references to AppHostAssembly
Aspire.Playground.Tests (4)
AppHostTests.cs (4)
78
_testOutput.WriteLine($"Waiting for resource '{ResourceName}' to reach state '{TargetState}' in app '{appHost.
AppHostAssembly
}'");
99
_testOutput.WriteLine($"Calling endpoint '{client.BaseAddress}{path.TrimStart('/')} for resource '{resource}' in app '{appHost.
AppHostAssembly
}'");
106
throw new XunitException($"Endpoint '{client.BaseAddress}{path.TrimStart('/')}' for resource '{resource}' in app '{appHost.
AppHostAssembly
}' timed out", tre);
109
Assert.True(HttpStatusCode.OK == response.StatusCode, $"Endpoint '{client.BaseAddress}{path.TrimStart('/')}' for resource '{resource}' in app '{appHost.
AppHostAssembly
}' returned status code {response.StatusCode}");