1 implementation of BasePath
Aspire.Hosting (1)
ApplicationModel\AspireStore.cs (1)
37public string BasePath => _basePath;
13 references to BasePath
Aspire.Hosting (2)
Dcp\ExecutableConfigurationResolver.cs (1)
174return Path.Join(_aspireStore.BasePath, "dcp", "executables", executable.Metadata.Name, "certificates");
src\Shared\VolumeMountPathResolver.cs (1)
54return Path.GetFullPath(Path.Combine([Path.GetFullPath(store.BasePath), .. pathSegments]));
Aspire.Hosting.Azure.EntraId (1)
LocalDeveloperCertificateStore.cs (1)
19internal string GetPath(string resourceName) => Path.Combine(store.BasePath, "dev-certs", "Entra", $"{resourceName}.pfx");
Aspire.Hosting.Azure.EntraId.Tests (2)
LocalDeveloperCertificateTests.cs (2)
58Path.Combine(app.Services.GetRequiredService<IAspireStore>().BasePath, "dev-certs", "Entra", "entra-web.pfx"), 247Assert.False(Directory.Exists(Path.Combine(app.Services.GetRequiredService<IAspireStore>().BasePath, "dev-certs")));
Aspire.Hosting.Kubernetes (1)
src\Shared\VolumeMountPathResolver.cs (1)
54return Path.GetFullPath(Path.Combine([Path.GetFullPath(store.BasePath), .. pathSegments]));
Aspire.Hosting.Tests (6)
AspireStoreTests.cs (5)
19Assert.True(Directory.Exists(Path.GetDirectoryName(store.BasePath))); 27var path = store.BasePath; 40var path = store.BasePath; 51var path = store.BasePath; 69Assert.Equal(Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire"), store.BasePath);
WithVolumeTests.cs (1)
90var storePrefix = Path.GetFullPath(app.Services.GetRequiredService<IAspireStore>().BasePath) + Path.DirectorySeparatorChar;
DotnetTool.AppHost (1)
AppHost.cs (1)
90var nugetPackagesPath = Path.Join(evt.Services.GetRequiredService<IAspireStore>().BasePath, "nuget");