1 write to ApplicationPath
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Common\DeploymentParameters.cs (1)
62ApplicationPath = applicationPath;
17 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;