IAspireStore Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a store for managing files in the Aspire hosting environment that can be reused across runs.
public interface IAspireStore
type IAspireStore = interface
Public Interface IAspireStore
Remarks
The store is created in the ./obj folder of the Application Host. If the ASPIRE__STORE__PATH environment variable is set this will be used instead.
The store is specific to a IDistributedApplicationBuilder instance such that each application can't conflict with others. A .aspire prefix is also used to ensure that the folder can be deleted without impacting unrelated files.
Properties
BasePath |
Gets the base path of this store. |
Methods
GetFileNameWithContent(String, Stream) |
Gets a deterministic file path that is a copy of the content from the provided stream. The resulting file name will depend on the content of the stream. |
GetFileNameWithContent(String, String) |
Gets a deterministic file path that is a copy of the |