4 overrides of Path
Aspire.Hosting (1)
Utils\FileSystemService.cs (1)
184public override string Path => _path;
Aspire.Hosting.Blazor.Tests (1)
tests\Shared\TestFileSystemService.cs (1)
60public override string Path => path;
Aspire.Hosting.Tests (2)
Dcp\KubernetesServiceTests.cs (1)
2415public override string Path => path;
tests\Shared\TestFileSystemService.cs (1)
60public override string Path => path;
60 references to Path
Aspire.Hosting (6)
ApplicationModel\DotnetProgramPublishing.cs (4)
210var runtimeOutputPath = stagedArchiveDirectory?.Path ?? buildResult.OutputPath; 241stagedArchiveDirectory.Path, 244var normalizedArchivePath = Path.Combine(stagedArchiveDirectory.Path, "normalized.tar"); 296logger.LogWarning(ex, "Failed to delete temporary container archive directory {ArchiveDirectory}", stagedArchiveDirectory.Path);
Dcp\Locations.cs (1)
29_dcpSessionDir = _directoryService.TempDirectory.CreateTempSubdirectory(SocketDirectoryNames.DcpPrefix).Path;
Pipelines\PipelineOutputService.cs (1)
40_tempDirectory = directoryService.TempDirectory.CreateTempSubdirectory("aspire-pipelines").Path;
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)
301var kubeConfigPath = Path.Combine(kubeConfigDir.Path, "kubeconfig");
Aspire.Hosting.Blazor.Tests (17)
AddBlazorGatewayTests.cs (12)
169var clientDirectory = Path.Combine(directory.Path, "Client"); 173File.Copy(Path.Combine(clientDirectory, "global.json"), Path.Combine(directory.Path, "global.json")); 176await File.WriteAllTextAsync(Path.Combine(directory.Path, "PrefixEndpoints.cs"), 189await File.WriteAllTextAsync(Path.Combine(directory.Path, "Dockerfile"), dockerfile); 192builder.AddDockerfile("client-publish", directory.Path); 208var clientDirectory = Path.Combine(directory.Path, "Client"); 210await File.WriteAllTextAsync(Path.Combine(directory.Path, "Test.slnx"), "<Solution />"); 212options => options.ProjectDirectory = directory.Path, testOutputHelper, "AppHost:Operation=publish"); 227var gatewayDirectory = Directory.CreateDirectory(Path.Combine(directory.Path, "Gateway")).FullName; 238var prefixScriptPath = Path.Combine(directory.Path, ".aspire", "scripts", "PrefixEndpoints.cs"); 381var projectPath = Path.Combine(directory.Path, "Client.csproj"); 410var projectPath = Path.Combine(directory.Path, "Client.csproj");
BlazorHostedExtensionsTests.cs (5)
263var serverProjectPath = Path.Combine(tempDirectory.Path, "Server.csproj"); 340var serverProjectPath = Path.Combine(tempDirectory.Path, "Server.csproj"); 656var serverDirectory = Directory.CreateDirectory(Path.Combine(tempDirectory.Path, "Server")); 657var clientDirectory = Directory.CreateDirectory(Path.Combine(tempDirectory.Path, "Client")); 680var 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.EntityFrameworkCore.Tests (1)
EFMigrationPipelineTests.cs (1)
30builder.Services.Configure<PipelineOptions>(options => options.OutputPath = workspace.Path);
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.Tests (29)
Dashboard\DashboardServiceTests.cs (4)
1566producerUdsPath: Path.Combine(directory.Path, "producer.sock"), 1567consumerUdsPath: Path.Combine(directory.Path, "consumer.sock"), 1568controlUdsPath: Path.Combine(directory.Path, "control.sock"), 1569metadataPath: Path.Combine(directory.Path, "metadata.json"));
Dcp\DcpExecutorTests.cs (5)
6029[AspireStore.AspireStorePathKeyName] = aspireStoreDirectory.Path, 6045var expectedCertificatesRoot = Path.Join(aspireStoreDirectory.Path, ".aspire", "dcp", "executables", "TestExecutable-12345678", "certificates"); 6080[AspireStore.AspireStorePathKeyName] = aspireStoreDirectory.Path, 6093var certificatesRoot = Path.Join(aspireStoreDirectory.Path, ".aspire", "dcp", "executables", "TestExecutable-12345678", "certificates"); 11423aspireStoreDirectory = 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));
Terminals\Hex1bAspireTerminalTests.cs (2)
244await File.WriteAllTextAsync(Path.Combine(directory.Path, "working-directory-marker"), string.Empty); 268WorkingDirectory = directory.Path