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