6 overrides of Path
Aspire.Hosting (1)
Utils\FileSystemService.cs (1)
192public override string Path => _path;
Aspire.Hosting.Blazor.Tests (1)
tests\Shared\TestFileSystemService.cs (1)
60public override string Path => path;
Aspire.Hosting.Dotnet.Tests (1)
tests\Shared\TestFileSystemService.cs (1)
60public override string Path => path;
Aspire.Hosting.Radius.Tests (1)
tests\Shared\TestFileSystemService.cs (1)
60public override string Path => path;
Aspire.Hosting.Tests (2)
Dcp\KubernetesServiceTests.cs (1)
2526public override string Path => path;
tests\Shared\TestFileSystemService.cs (1)
60public override string Path => path;
82 references to Path
Aspire.Hosting (8)
ApplicationModel\DotnetProgramPublishing.cs (4)
209var runtimeOutputPath = stagedArchiveDirectory?.Path ?? buildResult.OutputPath; 240stagedArchiveDirectory.Path, 243var normalizedArchivePath = Path.Combine(stagedArchiveDirectory.Path, "normalized.tar"); 290logger.LogWarning(ex, "Failed to delete temporary container archive directory {ArchiveDirectory}", stagedArchiveDirectory.Path);
Dcp\Locations.cs (2)
36fileSystemService.UntrackItem(_dcpSessionDir.Path); 56return _dcpSessionDir.Path;
Pipelines\PipelineOutputService.cs (1)
40_tempDirectory = directoryService.TempDirectory.CreateTempSubdirectory("aspire-pipelines").Path;
src\Shared\MsBuildResponseFile.cs (1)
29var responseFilePath = Path.Combine(directory.Path, "build-properties.rsp");
Aspire.Hosting.Azure (2)
AzurePublishingContext.cs (1)
142var tempDirectory = fileSystemService.TempDirectory.CreateTempSubdirectory("aspire-bicep").Path;
Provisioning\Provisioners\BicepProvisioner.cs (1)
544var tempDirectory = fileSystemService.TempDirectory.CreateTempSubdirectory("aspire-bicep").Path;
Aspire.Hosting.Azure.Kubernetes (1)
AzureKubernetesEnvironmentResource.AksPipeline.cs (1)
286var kubeConfigPath = Path.Combine(kubeConfigDir.Path, "kubeconfig");
Aspire.Hosting.Blazor.Tests (17)
AddBlazorGatewayTests.cs (12)
194var clientDirectory = Path.Combine(directory.Path, "Client"); 198File.Copy(Path.Combine(clientDirectory, "global.json"), Path.Combine(directory.Path, "global.json")); 201await File.WriteAllTextAsync(Path.Combine(directory.Path, "PrefixEndpoints.cs"), 214await File.WriteAllTextAsync(Path.Combine(directory.Path, "Dockerfile"), dockerfile); 217builder.AddDockerfile("client-publish", directory.Path); 233var clientDirectory = Path.Combine(directory.Path, "Client"); 235await File.WriteAllTextAsync(Path.Combine(directory.Path, "Test.slnx"), "<Solution />"); 237options => options.ProjectDirectory = directory.Path, testOutputHelper, "AppHost:Operation=publish"); 254var gatewayDirectory = Directory.CreateDirectory(Path.Combine(directory.Path, "Gateway")).FullName; 265var prefixScriptPath = Path.Combine(directory.Path, ".aspire", "scripts", "PrefixEndpoints.cs"); 408var projectPath = Path.Combine(directory.Path, "Client.csproj"); 437var projectPath = Path.Combine(directory.Path, "Client.csproj");
BlazorHostedExtensionsTests.cs (5)
244var serverProjectPath = Path.Combine(tempDirectory.Path, "Server.csproj"); 321var serverProjectPath = Path.Combine(tempDirectory.Path, "Server.csproj"); 637var serverDirectory = Directory.CreateDirectory(Path.Combine(tempDirectory.Path, "Server")); 638var clientDirectory = Directory.CreateDirectory(Path.Combine(tempDirectory.Path, "Client")); 661var serverProjectPath = Path.Combine(tempDirectory.Path, "Server.csproj");
Aspire.Hosting.Browsers (1)
BrowserLogsUserDataDirectory.cs (1)
29new(temporaryDirectory.Path, profileDirectoryName: null, temporaryDirectory);
Aspire.Hosting.Browsers.Tests (1)
src\Aspire.Hosting.Browsers\BrowserLogsUserDataDirectory.cs (1)
29new(temporaryDirectory.Path, profileDirectoryName: null, temporaryDirectory);
Aspire.Hosting.Dotnet (3)
DotnetProjectRunPropertiesResolver.cs (1)
43var resultOutputPath = Path.Combine(resultDirectory.Path, "run-properties.json");
MsTestHostingExtensions.cs (1)
135.TempDirectory.CreateTempSubdirectory("aspire-mstest-").Path;
src\Shared\MsBuildResponseFile.cs (1)
29var responseFilePath = Path.Combine(directory.Path, "build-properties.rsp");
Aspire.Hosting.EntityFrameworkCore.Tests (1)
EFMigrationPipelineTests.cs (1)
32builder.Services.Configure<PipelineOptions>(options => options.OutputPath = workspace.Path);
Aspire.Hosting.Kubernetes (7)
KubernetesEnvironmentResource.cs (7)
1530var patchFilePath = Path.Combine(patchTempDir.Path, "patch.json"); 1642var certPath = Path.Combine(tempDir.Path, "tls.crt"); 1643var keyPath = Path.Combine(tempDir.Path, "tls.key"); 1960var patchFilePath = Path.Combine(patchTempDir.Path, "patch.json"); 2141var manifestPath = Path.Combine(tempDir.Path, "gateway.json"); 2263var certPath = Path.Combine(tempDir.Path, "tls.crt"); 2264var keyPath = Path.Combine(tempDir.Path, "tls.key");
Aspire.Hosting.Maui (2)
Utilities\MauiAndroidEnvironmentAnnotation.cs (1)
77var environmentTargetsDirectory = fileSystemService.TempDirectory.CreateTempSubdirectory("aspire-maui-android-env").Path;
Utilities\MauiiOSEnvironmentAnnotation.cs (1)
77var environmentTargetsDirectory = fileSystemService.TempDirectory.CreateTempSubdirectory("aspire-maui-mlaunch-env").Path;
Aspire.Hosting.Radius (3)
Publishing\RadiusDeploymentPipelineStep.cs (3)
171var kubeConfigPath = Path.Combine(kubeConfigHome.Path, ".kube", "config"); 199kubeConfigHome.Path, 701var filePath = Path.Combine(directory.Path, "parameters.json");
Aspire.Hosting.Tests (36)
Dashboard\DashboardServiceTests.cs (4)
1708producerUdsPath: Path.Combine(directory.Path, "producer.sock"), 1709consumerUdsPath: Path.Combine(directory.Path, "consumer.sock"), 1710controlUdsPath: Path.Combine(directory.Path, "control.sock"), 1711metadataPath: Path.Combine(directory.Path, "metadata.json"));
Dcp\DcpExecutorTests.cs (5)
6784[AspireStore.AspireStorePathKeyName] = aspireStoreDirectory.Path, 6800var expectedCertificatesRoot = Path.Join(aspireStoreDirectory.Path, ".aspire", "dcp", "executables", "TestExecutable-12345678", "certificates"); 6835[AspireStore.AspireStorePathKeyName] = aspireStoreDirectory.Path, 6848var certificatesRoot = Path.Join(aspireStoreDirectory.Path, ".aspire", "dcp", "executables", "TestExecutable-12345678", "certificates"); 13272aspireStoreDirectory = fileSystemService.TempDirectory.CreateTempSubdirectory("aspire-store").Path;
FileSystemServiceTests.cs (18)
51Assert.NotNull(tempDir.Path); 52Assert.True(Directory.Exists(tempDir.Path)); 62Assert.NotNull(tempDir.Path); 63Assert.True(Directory.Exists(tempDir.Path)); 64Assert.Contains("test-prefix", tempDir.Path); 72var path = tempDir.Path; 146extractedPath = tempDir.Path; 198Assert.NotEqual(tempDir1.Path, tempDir2.Path); 199Assert.True(Directory.Exists(tempDir1.Path)); 200Assert.True(Directory.Exists(tempDir2.Path)); 240var dirPath = tempDir.Path; 260var dirPath = tempDir.Path; 284var dirPath = tempDir.Path; 329var dir1Path = tempDir1.Path; 330var dir2Path = tempDir2.Path; 370var dirPath = tempDir.Path; 439Assert.True(Directory.Exists(tempDir.Path));
Pipelines\PipelineOutputComparisonTests.cs (6)
21var root = _fileSystem.TempDirectory.CreateTempSubdirectory().Path; 59var root = _fileSystem.TempDirectory.CreateTempSubdirectory().Path; 87var root = _fileSystem.TempDirectory.CreateTempSubdirectory().Path; 112var parent = _fileSystem.TempDirectory.CreateTempSubdirectory().Path; 140var root = _fileSystem.TempDirectory.CreateTempSubdirectory().Path; 162var parent = _fileSystem.TempDirectory.CreateTempSubdirectory().Path;
Pipelines\PipelineOutputSnapshotterTests.cs (1)
679private string CreateDirectory() => _fileSystem.TempDirectory.CreateTempSubdirectory().Path;
Terminals\Hex1bAspireTerminalTests.cs (2)
244await File.WriteAllTextAsync(Path.Combine(directory.Path, "working-directory-marker"), string.Empty); 268WorkingDirectory = directory.Path