2 instantiations of AspireStore
Aspire.Hosting (1)
DistributedApplicationBuilder.cs (1)
270return new AspireStore(Path.Combine(aspireDir, ".aspire"));
Aspire.Hosting.Tests (1)
AspireStoreTests.cs (1)
126Assert.ThrowsAny<Exception>(() => new AspireStore(basePath!));
9 references to AspireStore
Aspire.Hosting (6)
ApplicationModel\AspireStore.cs (2)
16/// Initializes a new instance of the <see cref="AspireStore"/> class with the specified base path. 19/// <returns>A new instance of <see cref="AspireStore"/>.</returns>
DistributedApplicationBuilder.cs (4)
205[AspireStore.AspireStorePathKeyName] = aspireDir 260_innerBuilder.Services.AddSingleton<IAspireStore, AspireStore>(sp => 263var aspireDir = configuration[AspireStore.AspireStorePathKeyName]; 267throw new InvalidOperationException($"Could not determine an appropriate location for local storage. Set the {AspireStore.AspireStorePathKeyName} setting to a folder where the App Host content should be stored.");
Aspire.Hosting.Tests (3)
AspireStoreTests.cs (3)
34builder.Configuration[AspireStore.AspireStorePathKeyName] = Path.GetTempPath(); 58builder.Configuration[AspireStore.AspireStorePathKeyName] = Path.GetTempPath(); 132builder.Configuration[AspireStore.AspireStorePathKeyName] = Path.GetTempPath();