2 instantiations of AspireStore
Aspire.Hosting (1)
DistributedApplicationBuilder.cs (1)
271return new AspireStore(Path.Combine(aspireDir, ".aspire"));
Aspire.Hosting.Tests (1)
AspireStoreTests.cs (1)
127Assert.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)
206[AspireStore.AspireStorePathKeyName] = aspireDir 261_innerBuilder.Services.AddSingleton<IAspireStore, AspireStore>(sp => 264var aspireDir = configuration[AspireStore.AspireStorePathKeyName]; 268throw 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)
35builder.Configuration[AspireStore.AspireStorePathKeyName] = Path.GetTempPath(); 59builder.Configuration[AspireStore.AspireStorePathKeyName] = Path.GetTempPath(); 133builder.Configuration[AspireStore.AspireStorePathKeyName] = Path.GetTempPath();