1 write to DatabasePath
Aspire.Dashboard (1)
ServiceClient\DashboardSqliteDatabase.cs (1)
40
DatabasePath
= Path.GetFullPath(databasePath);
14 references to DatabasePath
Aspire.Dashboard (4)
ServiceClient\DashboardDataSourcePool.cs (1)
166
_entries.Remove(entry.Database.
DatabasePath
);
ServiceClient\DashboardSqliteDatabase.cs (3)
45
Directory.CreateDirectory(Path.GetDirectoryName(
DatabasePath
)!);
50
DataSource =
DatabasePath
,
95
var connection = new TracingSqliteConnection(_connectionString,
DatabasePath
, _activitySource);
Aspire.Dashboard.Tests (10)
Integration\StartupTests.cs (1)
118
Assert.Equal(currentRun.DatabasePath, databasePool.Current.Database.
DatabasePath
);
TelemetryRepositoryTests\HistogramTests.cs (2)
46
using (var writer = await SqliteRepositoryTestHelpers.CreateTelemetryRepositoryAsync(context.Database.
DatabasePath
))
61
using var readOnly = await SqliteRepositoryTestHelpers.CreateTelemetryRepositoryAsync(context.Database.
DatabasePath
, readOnly: true);
TelemetryRepositoryTests\MetricsTests.cs (7)
1720
using (var writer = await SqliteRepositoryTestHelpers.CreateTelemetryRepositoryAsync(context.Database.
DatabasePath
))
1740
using var readOnly = await SqliteRepositoryTestHelpers.CreateTelemetryRepositoryAsync(context.Database.
DatabasePath
, readOnly: true);
1821
using var readOnly = await SqliteRepositoryTestHelpers.CreateTelemetryRepositoryAsync(context.Database.
DatabasePath
, readOnly: true);
1901
using (var reopened = await SqliteRepositoryTestHelpers.CreateTelemetryRepositoryAsync(context.Database.
DatabasePath
))
1905
using var readOnly = await SqliteRepositoryTestHelpers.CreateTelemetryRepositoryAsync(context.Database.
DatabasePath
, readOnly: true);
1958
using (var reopened = await SqliteRepositoryTestHelpers.CreateTelemetryRepositoryAsync(context.Database.
DatabasePath
))
1978
using var readOnly = await SqliteRepositoryTestHelpers.CreateTelemetryRepositoryAsync(context.Database.
DatabasePath
, readOnly: true);