1 write to ContentRoot
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Common\DeploymentResult.cs (1)
51ContentRoot = contentRoot;
222 references to ContentRoot
IIS.FunctionalTests (18)
src\Servers\IIS\IIS\test\Common.FunctionalTests\GlobalVersionTests.cs (1)
222return Path.Combine(deploymentResult.ContentRoot,
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (3)
326return $@"Application '{Regex.Escape(deploymentResult.ContentRoot)}\\' failed to start. Exception message:\r\n{subError}"; 330return $@"Application '{Regex.Escape(deploymentResult.ContentRoot)}\\' wasn't able to start. {subError}"; 348var contentRoot = deploymentResult.ContentRoot;
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
99var webConfigPath = Path.Combine(deploymentResult.ContentRoot, "web.config"); 216var path = Path.Combine(deploymentResult.ContentRoot, "InProcessWebSite.runtimeconfig.json");
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISFunctionalTestBase.cs (1)
75foreach (var file in Directory.GetFiles(deploymentResult.ContentRoot, "*", SearchOption.AllDirectories))
src\Servers\IIS\IIS\test\Common.FunctionalTests\LoggingTests.cs (3)
120AssertLogs(Path.Combine(deploymentResult.ContentRoot, "subdirectory", "debug.txt")); 134AssertLogs(Path.Combine(deploymentResult.ContentRoot, "aspnetcore-debug.log")); 150AssertLogs(Path.Combine(deploymentResult.ContentRoot, "aspnetcore-debug.log"));
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestResponseTests.cs (6)
607Assert.Equal(_fixture.DeploymentResult.ContentRoot, await _fixture.Client.GetStringAsync("/ContentRootPath")); 608Assert.Equal(_fixture.DeploymentResult.ContentRoot + "\\wwwroot", await _fixture.Client.GetStringAsync("/WebRootPath")); 609Assert.Equal(_fixture.DeploymentResult.ContentRoot, await _fixture.DeploymentResult.HttpClient.GetStringAsync("/CurrentDirectory")); 610Assert.Equal(_fixture.DeploymentResult.ContentRoot + "\\", await _fixture.Client.GetStringAsync("/BaseDirectory")); 611Assert.Equal(_fixture.DeploymentResult.ContentRoot + "\\", await _fixture.Client.GetStringAsync("/ASPNETCORE_IIS_PHYSICAL_PATH")); 624Application Path: {_fixture.DeploymentResult.ContentRoot}\
src\Servers\IIS\IIS\test\IIS.Shared.FunctionalTests\ApplicationInitializationTests.cs (2)
58await Helpers.Retry(async () => await File.ReadAllTextAsync(Path.Combine(result.ContentRoot, "Started.txt")), TimeoutExtensions.DefaultTimeoutValue); 102await Helpers.Retry(async () => await File.ReadAllTextAsync(Path.Combine(result.ContentRoot, "Started.txt")), TimeoutExtensions.DefaultTimeoutValue);
IIS.LongTests (39)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (3)
326return $@"Application '{Regex.Escape(deploymentResult.ContentRoot)}\\' failed to start. Exception message:\r\n{subError}"; 330return $@"Application '{Regex.Escape(deploymentResult.ContentRoot)}\\' wasn't able to start. {subError}"; 348var contentRoot = deploymentResult.ContentRoot;
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
99var webConfigPath = Path.Combine(deploymentResult.ContentRoot, "web.config"); 216var path = Path.Combine(deploymentResult.ContentRoot, "InProcessWebSite.runtimeconfig.json");
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISFunctionalTestBase.cs (1)
75foreach (var file in Directory.GetFiles(deploymentResult.ContentRoot, "*", SearchOption.AllDirectories))
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (19)
83AddAppOffline(deploymentResult.ContentRoot); 95AddAppOffline(deploymentResult.ContentRoot); 107using (var stream = File.Open(Path.Combine(deploymentResult.ContentRoot, "app_offline.htm"), FileMode.CreateNew, FileAccess.ReadWrite, FileShare.None)) 125using (var stream = File.Open(Path.Combine(deploymentResult.ContentRoot, "app_offline.htm"), FileMode.CreateNew, FileAccess.ReadWrite, FileShare.None)) 148AddAppOffline(deploymentResult.ContentRoot); 167AddAppOffline(deploymentResult.ContentRoot); 179File.WriteAllText(Path.Combine(deploymentResult.ContentRoot, "Microsoft.AspNetCore.Server.IIS.dll"), ""); 185AddAppOffline(deploymentResult.ContentRoot); 244AddAppOffline(deploymentResult.ContentRoot); 342AddAppOffline(deploymentResult.ContentRoot); 353AddAppOffline(deploymentResult.ContentRoot); 355RemoveAppOffline(deploymentResult.ContentRoot); 358AddAppOffline(deploymentResult.ContentRoot); 368AddAppOffline(deploymentResult.ContentRoot); 372RemoveAppOffline(deploymentResult.ContentRoot); 383AddAppOffline(deploymentResult.ContentRoot); 387RemoveAppOffline(deploymentResult.ContentRoot); 427() => AddAppOffline(deploymentResult.ContentRoot), 431RemoveAppOffline(deploymentResult.ContentRoot);
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (14)
214Assert.True(File.Exists(Path.Combine(deploymentResult.ContentRoot, "InProcessWebSite.exe"))); 215Assert.False(File.Exists(Path.Combine(deploymentResult.ContentRoot, "hostfxr.dll"))); 216Assert.Contains("InProcessWebSite.exe", Helpers.ReadAllTextFromFile(Path.Combine(deploymentResult.ContentRoot, "web.config"), Logger)); 281Path.Combine(deploymentResult.ContentRoot, "aspnetcorev2_inprocess.dll"), 282Path.Combine(deploymentResult.ContentRoot, "hostfxr.dll"), 346File.WriteAllText(Path.Combine(deploymentResult.ContentRoot, "hostfxr.dll"), ""); 406File.Delete(Path.Combine(deploymentResult.ContentRoot, "InProcessWebSite.dll")); 447File.Delete(Path.Combine(deploymentResult.ContentRoot, "aspnetcorev2_inprocess.dll")); 713Assert.Equal(deploymentResult.ContentRoot, await deploymentResult.HttpClient.GetStringAsync("/ContentRootPath")); 714Assert.Equal(deploymentResult.ContentRoot + "\\wwwroot", await deploymentResult.HttpClient.GetStringAsync("/WebRootPath")); 716Assert.Equal(deploymentResult.ContentRoot + "\\", await deploymentResult.HttpClient.GetStringAsync("/BaseDirectory")); 717Assert.Equal(deploymentResult.ContentRoot + "\\", await deploymentResult.HttpClient.GetStringAsync("/ASPNETCORE_IIS_PHYSICAL_PATH")); 741var applicationDll = Path.Combine(deploymentResult.ContentRoot, "InProcessWebSite.dll"); 742var handlerDll = Path.Combine(deploymentResult.ContentRoot, "aspnetcorev2_inprocess.dll");
IIS.NewHandler.FunctionalTests (39)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (3)
326return $@"Application '{Regex.Escape(deploymentResult.ContentRoot)}\\' failed to start. Exception message:\r\n{subError}"; 330return $@"Application '{Regex.Escape(deploymentResult.ContentRoot)}\\' wasn't able to start. {subError}"; 348var contentRoot = deploymentResult.ContentRoot;
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
99var webConfigPath = Path.Combine(deploymentResult.ContentRoot, "web.config"); 216var path = Path.Combine(deploymentResult.ContentRoot, "InProcessWebSite.runtimeconfig.json");
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISFunctionalTestBase.cs (1)
75foreach (var file in Directory.GetFiles(deploymentResult.ContentRoot, "*", SearchOption.AllDirectories))
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (19)
83AddAppOffline(deploymentResult.ContentRoot); 95AddAppOffline(deploymentResult.ContentRoot); 107using (var stream = File.Open(Path.Combine(deploymentResult.ContentRoot, "app_offline.htm"), FileMode.CreateNew, FileAccess.ReadWrite, FileShare.None)) 125using (var stream = File.Open(Path.Combine(deploymentResult.ContentRoot, "app_offline.htm"), FileMode.CreateNew, FileAccess.ReadWrite, FileShare.None)) 148AddAppOffline(deploymentResult.ContentRoot); 167AddAppOffline(deploymentResult.ContentRoot); 179File.WriteAllText(Path.Combine(deploymentResult.ContentRoot, "Microsoft.AspNetCore.Server.IIS.dll"), ""); 185AddAppOffline(deploymentResult.ContentRoot); 244AddAppOffline(deploymentResult.ContentRoot); 342AddAppOffline(deploymentResult.ContentRoot); 353AddAppOffline(deploymentResult.ContentRoot); 355RemoveAppOffline(deploymentResult.ContentRoot); 358AddAppOffline(deploymentResult.ContentRoot); 368AddAppOffline(deploymentResult.ContentRoot); 372RemoveAppOffline(deploymentResult.ContentRoot); 383AddAppOffline(deploymentResult.ContentRoot); 387RemoveAppOffline(deploymentResult.ContentRoot); 427() => AddAppOffline(deploymentResult.ContentRoot), 431RemoveAppOffline(deploymentResult.ContentRoot);
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (14)
214Assert.True(File.Exists(Path.Combine(deploymentResult.ContentRoot, "InProcessWebSite.exe"))); 215Assert.False(File.Exists(Path.Combine(deploymentResult.ContentRoot, "hostfxr.dll"))); 216Assert.Contains("InProcessWebSite.exe", Helpers.ReadAllTextFromFile(Path.Combine(deploymentResult.ContentRoot, "web.config"), Logger)); 281Path.Combine(deploymentResult.ContentRoot, "aspnetcorev2_inprocess.dll"), 282Path.Combine(deploymentResult.ContentRoot, "hostfxr.dll"), 346File.WriteAllText(Path.Combine(deploymentResult.ContentRoot, "hostfxr.dll"), ""); 406File.Delete(Path.Combine(deploymentResult.ContentRoot, "InProcessWebSite.dll")); 447File.Delete(Path.Combine(deploymentResult.ContentRoot, "aspnetcorev2_inprocess.dll")); 713Assert.Equal(deploymentResult.ContentRoot, await deploymentResult.HttpClient.GetStringAsync("/ContentRootPath")); 714Assert.Equal(deploymentResult.ContentRoot + "\\wwwroot", await deploymentResult.HttpClient.GetStringAsync("/WebRootPath")); 716Assert.Equal(deploymentResult.ContentRoot + "\\", await deploymentResult.HttpClient.GetStringAsync("/BaseDirectory")); 717Assert.Equal(deploymentResult.ContentRoot + "\\", await deploymentResult.HttpClient.GetStringAsync("/ASPNETCORE_IIS_PHYSICAL_PATH")); 741var applicationDll = Path.Combine(deploymentResult.ContentRoot, "InProcessWebSite.dll"); 742var handlerDll = Path.Combine(deploymentResult.ContentRoot, "aspnetcorev2_inprocess.dll");
IIS.NewShim.FunctionalTests (39)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (3)
326return $@"Application '{Regex.Escape(deploymentResult.ContentRoot)}\\' failed to start. Exception message:\r\n{subError}"; 330return $@"Application '{Regex.Escape(deploymentResult.ContentRoot)}\\' wasn't able to start. {subError}"; 348var contentRoot = deploymentResult.ContentRoot;
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
99var webConfigPath = Path.Combine(deploymentResult.ContentRoot, "web.config"); 216var path = Path.Combine(deploymentResult.ContentRoot, "InProcessWebSite.runtimeconfig.json");
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISFunctionalTestBase.cs (1)
75foreach (var file in Directory.GetFiles(deploymentResult.ContentRoot, "*", SearchOption.AllDirectories))
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (19)
83AddAppOffline(deploymentResult.ContentRoot); 95AddAppOffline(deploymentResult.ContentRoot); 107using (var stream = File.Open(Path.Combine(deploymentResult.ContentRoot, "app_offline.htm"), FileMode.CreateNew, FileAccess.ReadWrite, FileShare.None)) 125using (var stream = File.Open(Path.Combine(deploymentResult.ContentRoot, "app_offline.htm"), FileMode.CreateNew, FileAccess.ReadWrite, FileShare.None)) 148AddAppOffline(deploymentResult.ContentRoot); 167AddAppOffline(deploymentResult.ContentRoot); 179File.WriteAllText(Path.Combine(deploymentResult.ContentRoot, "Microsoft.AspNetCore.Server.IIS.dll"), ""); 185AddAppOffline(deploymentResult.ContentRoot); 244AddAppOffline(deploymentResult.ContentRoot); 342AddAppOffline(deploymentResult.ContentRoot); 353AddAppOffline(deploymentResult.ContentRoot); 355RemoveAppOffline(deploymentResult.ContentRoot); 358AddAppOffline(deploymentResult.ContentRoot); 368AddAppOffline(deploymentResult.ContentRoot); 372RemoveAppOffline(deploymentResult.ContentRoot); 383AddAppOffline(deploymentResult.ContentRoot); 387RemoveAppOffline(deploymentResult.ContentRoot); 427() => AddAppOffline(deploymentResult.ContentRoot), 431RemoveAppOffline(deploymentResult.ContentRoot);
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (14)
214Assert.True(File.Exists(Path.Combine(deploymentResult.ContentRoot, "InProcessWebSite.exe"))); 215Assert.False(File.Exists(Path.Combine(deploymentResult.ContentRoot, "hostfxr.dll"))); 216Assert.Contains("InProcessWebSite.exe", Helpers.ReadAllTextFromFile(Path.Combine(deploymentResult.ContentRoot, "web.config"), Logger)); 281Path.Combine(deploymentResult.ContentRoot, "aspnetcorev2_inprocess.dll"), 282Path.Combine(deploymentResult.ContentRoot, "hostfxr.dll"), 346File.WriteAllText(Path.Combine(deploymentResult.ContentRoot, "hostfxr.dll"), ""); 406File.Delete(Path.Combine(deploymentResult.ContentRoot, "InProcessWebSite.dll")); 447File.Delete(Path.Combine(deploymentResult.ContentRoot, "aspnetcorev2_inprocess.dll")); 713Assert.Equal(deploymentResult.ContentRoot, await deploymentResult.HttpClient.GetStringAsync("/ContentRootPath")); 714Assert.Equal(deploymentResult.ContentRoot + "\\wwwroot", await deploymentResult.HttpClient.GetStringAsync("/WebRootPath")); 716Assert.Equal(deploymentResult.ContentRoot + "\\", await deploymentResult.HttpClient.GetStringAsync("/BaseDirectory")); 717Assert.Equal(deploymentResult.ContentRoot + "\\", await deploymentResult.HttpClient.GetStringAsync("/ASPNETCORE_IIS_PHYSICAL_PATH")); 741var applicationDll = Path.Combine(deploymentResult.ContentRoot, "InProcessWebSite.dll"); 742var handlerDll = Path.Combine(deploymentResult.ContentRoot, "aspnetcorev2_inprocess.dll");
IIS.ShadowCopy.Tests (36)
ShadowCopyTests.cs (30)
29var directoryInfo = new DirectoryInfo(deploymentResult.ContentRoot); 55var directoryInfo = new DirectoryInfo(deploymentResult.ContentRoot); 63var tempDirectoryPath = Path.Combine(deploymentResult.ContentRoot, directoryName); 89var directoryInfo = new DirectoryInfo(deploymentResult.ContentRoot); 116DirectoryCopy(deploymentResult.ContentRoot, directory.DirectoryPath, copySubDirs: true); 121var dirInfo = new DirectoryInfo(deploymentResult.ContentRoot); 150var deleteDirPath = Path.Combine(deploymentResult.ContentRoot, "wwwroot/deletethis"); 157AddAppOffline(deploymentResult.ContentRoot); 164RemoveAppOffline(deploymentResult.ContentRoot); 181DirectoryCopy(deploymentResult.ContentRoot, Path.Combine(directory.DirectoryPath, "0"), copySubDirs: true); 189DirectoryCopy(deploymentResult.ContentRoot, secondTempDir.DirectoryPath, copySubDirs: true); 190DirectoryCopy(secondTempDir.DirectoryPath, deploymentResult.ContentRoot, copySubDirs: true); 208DirectoryCopy(deploymentResult.ContentRoot, Path.Combine(directory.DirectoryPath, "1"), copySubDirs: true); 216DirectoryCopy(deploymentResult.ContentRoot, secondTempDir.DirectoryPath, copySubDirs: true); 217DirectoryCopy(secondTempDir.DirectoryPath, deploymentResult.ContentRoot, copySubDirs: true); 248DirectoryCopy(deploymentResult.ContentRoot, Path.Combine(directory.DirectoryPath, "1"), copySubDirs: true); 249DirectoryCopy(deploymentResult.ContentRoot, Path.Combine(directory.DirectoryPath, "3"), copySubDirs: true); 250DirectoryCopy(deploymentResult.ContentRoot, Path.Combine(directory.DirectoryPath, "10"), copySubDirs: true); 258DirectoryCopy(deploymentResult.ContentRoot, secondTempDir.DirectoryPath, copySubDirs: true); 259DirectoryCopy(secondTempDir.DirectoryPath, deploymentResult.ContentRoot, copySubDirs: true); 292DirectoryCopy(deploymentResult.ContentRoot, Path.Combine(directory.DirectoryPath, "0"), copySubDirs: true); 300DirectoryCopy(deploymentResult.ContentRoot, secondTempDir.DirectoryPath, copySubDirs: true); 301DirectoryCopy(secondTempDir.DirectoryPath, deploymentResult.ContentRoot, copySubDirs: true, ignoreDirectory: "ShadowCopy"); 305Assert.True(Directory.Exists(Path.Combine(deploymentResult.ContentRoot, "ShadowCopy"))); 307Assert.False(Directory.Exists(Path.Combine(deploymentResult.ContentRoot, "ShadowCopy", "0", "ShadowCopy"))); 322DirectoryCopy(deploymentResult.ContentRoot, Path.Combine(directory.DirectoryPath, "0"), copySubDirs: true); 330DirectoryCopy(deploymentResult.ContentRoot, secondTempDir.DirectoryPath, copySubDirs: true); 331DirectoryCopy(secondTempDir.DirectoryPath, deploymentResult.ContentRoot, copySubDirs: true, ignoreDirectory: "ShadowCopy"); 335Assert.True(Directory.Exists(Path.Combine(deploymentResult.ContentRoot, "ShadowCopy"))); 337Assert.False(Directory.Exists(Path.Combine(deploymentResult.ContentRoot, "ShadowCopy", "0", "ShadowCopy")));
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (3)
326return $@"Application '{Regex.Escape(deploymentResult.ContentRoot)}\\' failed to start. Exception message:\r\n{subError}"; 330return $@"Application '{Regex.Escape(deploymentResult.ContentRoot)}\\' wasn't able to start. {subError}"; 348var contentRoot = deploymentResult.ContentRoot;
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
99var webConfigPath = Path.Combine(deploymentResult.ContentRoot, "web.config"); 216var path = Path.Combine(deploymentResult.ContentRoot, "InProcessWebSite.runtimeconfig.json");
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISFunctionalTestBase.cs (1)
75foreach (var file in Directory.GetFiles(deploymentResult.ContentRoot, "*", SearchOption.AllDirectories))
IISExpress.FunctionalTests (51)
InProcess\AppOfflineIISExpressTests.cs (2)
44AddAppOffline(deploymentResult.ContentRoot); 52RemoveAppOffline(deploymentResult.ContentRoot);
src\Servers\IIS\IIS\test\Common.FunctionalTests\GlobalVersionTests.cs (1)
222return Path.Combine(deploymentResult.ContentRoot,
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (3)
326return $@"Application '{Regex.Escape(deploymentResult.ContentRoot)}\\' failed to start. Exception message:\r\n{subError}"; 330return $@"Application '{Regex.Escape(deploymentResult.ContentRoot)}\\' wasn't able to start. {subError}"; 348var contentRoot = deploymentResult.ContentRoot;
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
99var webConfigPath = Path.Combine(deploymentResult.ContentRoot, "web.config"); 216var path = Path.Combine(deploymentResult.ContentRoot, "InProcessWebSite.runtimeconfig.json");
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISFunctionalTestBase.cs (1)
75foreach (var file in Directory.GetFiles(deploymentResult.ContentRoot, "*", SearchOption.AllDirectories))
src\Servers\IIS\IIS\test\Common.FunctionalTests\LoggingTests.cs (3)
120AssertLogs(Path.Combine(deploymentResult.ContentRoot, "subdirectory", "debug.txt")); 134AssertLogs(Path.Combine(deploymentResult.ContentRoot, "aspnetcore-debug.log")); 150AssertLogs(Path.Combine(deploymentResult.ContentRoot, "aspnetcore-debug.log"));
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestResponseTests.cs (6)
607Assert.Equal(_fixture.DeploymentResult.ContentRoot, await _fixture.Client.GetStringAsync("/ContentRootPath")); 608Assert.Equal(_fixture.DeploymentResult.ContentRoot + "\\wwwroot", await _fixture.Client.GetStringAsync("/WebRootPath")); 609Assert.Equal(_fixture.DeploymentResult.ContentRoot, await _fixture.DeploymentResult.HttpClient.GetStringAsync("/CurrentDirectory")); 610Assert.Equal(_fixture.DeploymentResult.ContentRoot + "\\", await _fixture.Client.GetStringAsync("/BaseDirectory")); 611Assert.Equal(_fixture.DeploymentResult.ContentRoot + "\\", await _fixture.Client.GetStringAsync("/ASPNETCORE_IIS_PHYSICAL_PATH")); 624Application Path: {_fixture.DeploymentResult.ContentRoot}\
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (19)
83AddAppOffline(deploymentResult.ContentRoot); 95AddAppOffline(deploymentResult.ContentRoot); 107using (var stream = File.Open(Path.Combine(deploymentResult.ContentRoot, "app_offline.htm"), FileMode.CreateNew, FileAccess.ReadWrite, FileShare.None)) 125using (var stream = File.Open(Path.Combine(deploymentResult.ContentRoot, "app_offline.htm"), FileMode.CreateNew, FileAccess.ReadWrite, FileShare.None)) 148AddAppOffline(deploymentResult.ContentRoot); 167AddAppOffline(deploymentResult.ContentRoot); 179File.WriteAllText(Path.Combine(deploymentResult.ContentRoot, "Microsoft.AspNetCore.Server.IIS.dll"), ""); 185AddAppOffline(deploymentResult.ContentRoot); 244AddAppOffline(deploymentResult.ContentRoot); 342AddAppOffline(deploymentResult.ContentRoot); 353AddAppOffline(deploymentResult.ContentRoot); 355RemoveAppOffline(deploymentResult.ContentRoot); 358AddAppOffline(deploymentResult.ContentRoot); 368AddAppOffline(deploymentResult.ContentRoot); 372RemoveAppOffline(deploymentResult.ContentRoot); 383AddAppOffline(deploymentResult.ContentRoot); 387RemoveAppOffline(deploymentResult.ContentRoot); 427() => AddAppOffline(deploymentResult.ContentRoot), 431RemoveAppOffline(deploymentResult.ContentRoot);
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (14)
214Assert.True(File.Exists(Path.Combine(deploymentResult.ContentRoot, "InProcessWebSite.exe"))); 215Assert.False(File.Exists(Path.Combine(deploymentResult.ContentRoot, "hostfxr.dll"))); 216Assert.Contains("InProcessWebSite.exe", Helpers.ReadAllTextFromFile(Path.Combine(deploymentResult.ContentRoot, "web.config"), Logger)); 281Path.Combine(deploymentResult.ContentRoot, "aspnetcorev2_inprocess.dll"), 282Path.Combine(deploymentResult.ContentRoot, "hostfxr.dll"), 346File.WriteAllText(Path.Combine(deploymentResult.ContentRoot, "hostfxr.dll"), ""); 406File.Delete(Path.Combine(deploymentResult.ContentRoot, "InProcessWebSite.dll")); 447File.Delete(Path.Combine(deploymentResult.ContentRoot, "aspnetcorev2_inprocess.dll")); 713Assert.Equal(deploymentResult.ContentRoot, await deploymentResult.HttpClient.GetStringAsync("/ContentRootPath")); 714Assert.Equal(deploymentResult.ContentRoot + "\\wwwroot", await deploymentResult.HttpClient.GetStringAsync("/WebRootPath")); 716Assert.Equal(deploymentResult.ContentRoot + "\\", await deploymentResult.HttpClient.GetStringAsync("/BaseDirectory")); 717Assert.Equal(deploymentResult.ContentRoot + "\\", await deploymentResult.HttpClient.GetStringAsync("/ASPNETCORE_IIS_PHYSICAL_PATH")); 741var applicationDll = Path.Combine(deploymentResult.ContentRoot, "InProcessWebSite.dll"); 742var handlerDll = Path.Combine(deploymentResult.ContentRoot, "aspnetcorev2_inprocess.dll");