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