2 writes to ServerConfigLocation
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (2)
IISDeployer.cs (1)
113IISDeploymentParameters.ServerConfigLocation = Path.Combine(@"C:\inetpub\temp\apppools", _appPoolName, $"{_appPoolName}.config");
IISExpressDeployer.cs (1)
308DeploymentParameters.ServerConfigLocation = Path.GetTempFileName();
12 references to ServerConfigLocation
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestResponseTests.cs (1)
628AppPool Config File: {_fixture.DeploymentResult.DeploymentParameters.ServerConfigLocation}
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestResponseTests.cs (1)
628AppPool Config File: {_fixture.DeploymentResult.DeploymentParameters.ServerConfigLocation}
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (10)
IISExpressDeployer.cs (10)
41protected override string ApplicationHostConfigPath => DeploymentParameters.ServerConfigLocation; 170var parameters = string.IsNullOrEmpty(DeploymentParameters.ServerConfigLocation) ? 172string.Format(CultureInfo.InvariantCulture, "/site:{0} /config:{1} /trace:error /systray:false", DeploymentParameters.SiteName, DeploymentParameters.ServerConfigLocation); 309Logger.LogDebug("Saving Config to {configPath}", DeploymentParameters.ServerConfigLocation); 311File.WriteAllText(DeploymentParameters.ServerConfigLocation, serverConfig); 412if (!string.IsNullOrEmpty(DeploymentParameters.ServerConfigLocation) 413&& File.Exists(DeploymentParameters.ServerConfigLocation)) 416Logger.LogDebug("Deleting applicationHost.config file from {configLocation}", DeploymentParameters.ServerConfigLocation); 419File.Delete(DeploymentParameters.ServerConfigLocation); 424Logger.LogWarning("Failed to delete '{config}'. Exception : {exception}", DeploymentParameters.ServerConfigLocation, exception.Message);