# AspireStore

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `interface`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Represents a store for managing files in the Aspire hosting environment that can be reused across runs.

## Remarks

The store is created under the AppHost obj folder, or under the path specified by the
ASPIRE__STORE__PATH environment variable. Each application gets its own store so files
do not conflict with unrelated applications.

## Definition

```go
type AspireStore interface{}
```

## Properties

- `BasePath`: `string` `get` -- Gets the base path of this store.

## Methods

- [GetFileNameWithContent](/reference/api/go/aspire.hosting/aspirestore/getfilenamewithcontent.md) -- `method` -- Gets a deterministic file path that is a copy of the `sourceFilename`. The resulting file name will depend on the content of the file.
  ```go
  GetFileNameWithContent(filenameTemplate string, sourceFilename string) (string, error)
  ```

## Applies to

- [`AspireStore`](/reference/api/go/aspire.hosting/aspirestore.md)
