8 writes to ApplicationPath
IIS.ShadowCopy.Tests (1)
ShadowCopyTests.cs (1)
80deploymentParameters.ApplicationPath = directory.DirectoryPath;
Microsoft.AspNetCore.Hosting.FunctionalTests (1)
WebHostBuilderTests.cs (1)
33ApplicationPath = applicationPath,
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Common\DeploymentParameters.cs (1)
62ApplicationPath = applicationPath;
ServerComparison.FunctionalTests (5)
HelloWorldTest.cs (2)
46ApplicationPath = Helpers.GetApplicationPath() 133ApplicationPath = Helpers.GetApplicationPath()
NtlmAuthenticationTest.cs (1)
41ApplicationPath = Helpers.GetApplicationPath(),
ResponseCompressionTests.cs (1)
97ApplicationPath = Helpers.GetApplicationPath(),
ResponseTests.cs (1)
90ApplicationPath = Helpers.GetApplicationPath(),
23 references to ApplicationPath
Microsoft.AspNetCore.Server.IntegrationTesting (17)
ApplicationPublisher.cs (1)
59WorkingDirectory = deploymentParameters.ApplicationPath,
CachingApplicationPublisher.cs (1)
18if (ApplicationPath != deploymentParameters.ApplicationPath)
Common\DeploymentParameters.cs (2)
63ApplicationName = new DirectoryInfo(ApplicationPath).Name; 130/// Defaults to the file name of <see cref="ApplicationPath"/>.
Deployers\ApplicationDeployer.cs (5)
44ArgumentException.ThrowIfNullOrEmpty(DeploymentParameters.ApplicationPath); 46if (!Directory.Exists(DeploymentParameters.ApplicationPath)) 48throw new DirectoryNotFoundException($"Application path {DeploymentParameters.ApplicationPath} does not exist."); 53DeploymentParameters.ApplicationName = new DirectoryInfo(DeploymentParameters.ApplicationPath).Name; 77var publisher = DeploymentParameters.ApplicationPublisher ?? new ApplicationPublisher(DeploymentParameters.ApplicationPath);
Deployers\NginxDeployer.cs (4)
96contentRoot: DeploymentParameters.ApplicationPath, 138var pidFile = Path.Combine(DeploymentParameters.ApplicationPath, $"{Guid.NewGuid()}.nginx.pid"); 139var errorLog = Path.Combine(DeploymentParameters.ApplicationPath, "nginx.error.log"); 140var accessLog = Path.Combine(DeploymentParameters.ApplicationPath, "nginx.access.log");
Deployers\RemoteWindowsDeployer\RemoteWindowsDeployer.cs (1)
200var applicationName = new DirectoryInfo(DeploymentParameters.ApplicationPath).Name;
Deployers\SelfHostDeployer.cs (3)
73contentRoot: DeploymentParameters.PublishApplicationBeforeDeployment ? DeploymentParameters.PublishedApplicationRootPath : DeploymentParameters.ApplicationPath, 98workingDirectory = Path.Combine(DeploymentParameters.ApplicationPath, "bin", DeploymentParameters.Configuration, targetFramework); 100DeploymentParameters.EnvironmentVariables["ASPNETCORE_CONTENTROOT"] = DeploymentParameters.ApplicationPath;
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (6)
IISExpressDeployer.cs (6)
66contentRoot = DeploymentParameters.ApplicationPath; 89Logger.LogInformation("ContentRoot: {path}", DeploymentParameters.ApplicationPath); 90DeploymentParameters.EnvironmentVariables["ASPNETCORE_CONTENTROOT"] = DeploymentParameters.ApplicationPath; 117if (!string.IsNullOrEmpty(DeploymentParameters.ApplicationPath)) 120dllRoot = Path.Combine(DeploymentParameters.ApplicationPath, "bin", DeploymentParameters.RuntimeArchitecture.ToString(), 126dllRoot = Path.Combine(DeploymentParameters.ApplicationPath, "bin", DeploymentParameters.Configuration, targetFramework);