4 overrides of Path
Aspire.Hosting (1)
Utils\FileSystemService.cs (1)
184
public override string
Path
=> _path;
Aspire.Hosting.Blazor.Tests (1)
tests\Shared\TestFileSystemService.cs (1)
60
public override string
Path
=> path;
Aspire.Hosting.Tests (2)
Dcp\KubernetesServiceTests.cs (1)
2415
public override string
Path
=> path;
tests\Shared\TestFileSystemService.cs (1)
60
public override string
Path
=> path;
60 references to Path
Aspire.Hosting (6)
ApplicationModel\DotnetProgramPublishing.cs (4)
210
var runtimeOutputPath = stagedArchiveDirectory?.
Path
?? buildResult.OutputPath;
241
stagedArchiveDirectory.
Path
,
244
var normalizedArchivePath = Path.Combine(stagedArchiveDirectory.
Path
, "normalized.tar");
296
logger.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)
142
var tempDirectory = fileSystemService.TempDirectory.CreateTempSubdirectory("aspire-bicep").
Path
;
Provisioning\Provisioners\BicepProvisioner.cs (1)
544
var tempDirectory = fileSystemService.TempDirectory.CreateTempSubdirectory("aspire-bicep").
Path
;
Aspire.Hosting.Azure.Kubernetes (1)
AzureKubernetesEnvironmentResource.AksPipeline.cs (1)
301
var kubeConfigPath = Path.Combine(kubeConfigDir.
Path
, "kubeconfig");
Aspire.Hosting.Blazor.Tests (17)
AddBlazorGatewayTests.cs (12)
169
var clientDirectory = Path.Combine(directory.
Path
, "Client");
173
File.Copy(Path.Combine(clientDirectory, "global.json"), Path.Combine(directory.
Path
, "global.json"));
176
await File.WriteAllTextAsync(Path.Combine(directory.
Path
, "PrefixEndpoints.cs"),
189
await File.WriteAllTextAsync(Path.Combine(directory.
Path
, "Dockerfile"), dockerfile);
192
builder.AddDockerfile("client-publish", directory.
Path
);
208
var clientDirectory = Path.Combine(directory.
Path
, "Client");
210
await File.WriteAllTextAsync(Path.Combine(directory.
Path
, "Test.slnx"), "<Solution />");
212
options => options.ProjectDirectory = directory.
Path
, testOutputHelper, "AppHost:Operation=publish");
227
var gatewayDirectory = Directory.CreateDirectory(Path.Combine(directory.
Path
, "Gateway")).FullName;
238
var prefixScriptPath = Path.Combine(directory.
Path
, ".aspire", "scripts", "PrefixEndpoints.cs");
381
var projectPath = Path.Combine(directory.
Path
, "Client.csproj");
410
var projectPath = Path.Combine(directory.
Path
, "Client.csproj");
BlazorHostedExtensionsTests.cs (5)
263
var serverProjectPath = Path.Combine(tempDirectory.
Path
, "Server.csproj");
340
var serverProjectPath = Path.Combine(tempDirectory.
Path
, "Server.csproj");
656
var serverDirectory = Directory.CreateDirectory(Path.Combine(tempDirectory.
Path
, "Server"));
657
var clientDirectory = Directory.CreateDirectory(Path.Combine(tempDirectory.
Path
, "Client"));
680
var serverProjectPath = Path.Combine(tempDirectory.
Path
, "Server.csproj");
Aspire.Hosting.Browsers (1)
BrowserLogsUserDataDirectory.cs (1)
29
new(temporaryDirectory.
Path
, profileDirectoryName: null, temporaryDirectory);
Aspire.Hosting.Browsers.Tests (1)
src\Aspire.Hosting.Browsers\BrowserLogsUserDataDirectory.cs (1)
29
new(temporaryDirectory.
Path
, profileDirectoryName: null, temporaryDirectory);
Aspire.Hosting.EntityFrameworkCore.Tests (1)
EFMigrationPipelineTests.cs (1)
30
builder.Services.Configure<PipelineOptions>(options => options.OutputPath = workspace.
Path
);
Aspire.Hosting.Maui (2)
Utilities\MauiAndroidEnvironmentAnnotation.cs (1)
77
var environmentTargetsDirectory = fileSystemService.TempDirectory.CreateTempSubdirectory("aspire-maui-android-env").
Path
;
Utilities\MauiiOSEnvironmentAnnotation.cs (1)
77
var environmentTargetsDirectory = fileSystemService.TempDirectory.CreateTempSubdirectory("aspire-maui-mlaunch-env").
Path
;
Aspire.Hosting.Tests (29)
Dashboard\DashboardServiceTests.cs (4)
1566
producerUdsPath: Path.Combine(directory.
Path
, "producer.sock"),
1567
consumerUdsPath: Path.Combine(directory.
Path
, "consumer.sock"),
1568
controlUdsPath: Path.Combine(directory.
Path
, "control.sock"),
1569
metadataPath: Path.Combine(directory.
Path
, "metadata.json"));
Dcp\DcpExecutorTests.cs (5)
6029
[AspireStore.AspireStorePathKeyName] = aspireStoreDirectory.
Path
,
6045
var expectedCertificatesRoot = Path.Join(aspireStoreDirectory.
Path
, ".aspire", "dcp", "executables", "TestExecutable-12345678", "certificates");
6080
[AspireStore.AspireStorePathKeyName] = aspireStoreDirectory.
Path
,
6093
var certificatesRoot = Path.Join(aspireStoreDirectory.
Path
, ".aspire", "dcp", "executables", "TestExecutable-12345678", "certificates");
11423
aspireStoreDirectory = fileSystemService.TempDirectory.CreateTempSubdirectory("aspire-store").
Path
;
FileSystemServiceTests.cs (18)
51
Assert.NotNull(tempDir.
Path
);
52
Assert.True(Directory.Exists(tempDir.
Path
));
62
Assert.NotNull(tempDir.
Path
);
63
Assert.True(Directory.Exists(tempDir.
Path
));
64
Assert.Contains("test-prefix", tempDir.
Path
);
72
var path = tempDir.
Path
;
146
extractedPath = tempDir.
Path
;
198
Assert.NotEqual(tempDir1.
Path
, tempDir2.
Path
);
199
Assert.True(Directory.Exists(tempDir1.
Path
));
200
Assert.True(Directory.Exists(tempDir2.
Path
));
240
var dirPath = tempDir.
Path
;
260
var dirPath = tempDir.
Path
;
284
var dirPath = tempDir.
Path
;
329
var dir1Path = tempDir1.
Path
;
330
var dir2Path = tempDir2.
Path
;
370
var dirPath = tempDir.
Path
;
439
Assert.True(Directory.Exists(tempDir.
Path
));
Terminals\Hex1bAspireTerminalTests.cs (2)
244
await File.WriteAllTextAsync(Path.Combine(directory.
Path
, "working-directory-marker"), string.Empty);
268
WorkingDirectory = directory.
Path