2 instantiations of AspNetProcess
Templates.Tests (2)
src\ProjectTemplates\Shared\Project.cs (2)
209
return new
AspNetProcess
(DevCert, Output, TemplateOutputDir, projectDll, environment, published: false, hasListeningUri: hasListeningUri, logger: logger);
224
return new
AspNetProcess
(DevCert, Output, TemplatePublishDir, projectDll, environment, published: true, hasListeningUri: hasListeningUri, usePublishedAppHost: usePublishedAppHost);
14 references to AspNetProcess
Templates.Tests (14)
EmptyWebTemplateTest.cs (2)
102
using (
var
aspNetProcess = project.StartBuiltProjectAsync())
111
using (
var
aspNetProcess = project.StartPublishedProjectAsync())
GrpcTemplateTest.cs (2)
100
using (
var
serverProcess = project.StartBuiltProjectAsync(hasListeningUri: !isWindowsOld, logger: Logger))
118
using (
var
aspNetProcess = project.StartPublishedProjectAsync(hasListeningUri: !isWindowsOld, usePublishedAppHost: nativeAot))
IdentityUIPackageTest.cs (3)
125
using (
var
aspNetProcess = project.StartBuiltProjectAsync())
137
using (
var
aspNetProcess = project.StartPublishedProjectAsync())
150
private async Task ValidatePublishedFiles(
AspNetProcess
aspNetProcess, string[] expectedContentFiles)
src\ProjectTemplates\Shared\Project.cs (2)
196
internal
AspNetProcess
StartBuiltProjectAsync(bool hasListeningUri = true, ILogger logger = null, bool noHttps = false)
212
internal
AspNetProcess
StartPublishedProjectAsync(bool hasListeningUri = true, bool usePublishedAppHost = false, bool noHttps = false)
WebApiNativeAotTemplateTest.cs (3)
75
using (
var
aspNetProcess = project.StartBuiltProjectAsync(noHttps: true))
83
using (
var
aspNetProcess = project.StartPublishedProjectAsync(noHttps: true, usePublishedAppHost: true))
93
private async Task AssertEndpoints(
AspNetProcess
aspNetProcess)
WorkerTemplateTest.cs (2)
75
using (
var
aspNetProcess = project.StartBuiltProjectAsync(hasListeningUri: false))
82
using (
var
aspNetProcess = project.StartPublishedProjectAsync(hasListeningUri: false, usePublishedAppHost: nativeAot))