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