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