# IAspireStore

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

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

## Definition

```typescript
interface IAspireStore {
  readonly basePath: string;
  getFileNameWithContent(
      filenameTemplate: string,
      sourceFilename: string): string;
}
```

## Properties

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

## Methods

- [getFileNameWithContent](/reference/api/typescript/aspire.hosting/iaspirestore/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.
    ```typescript
  getFileNameWithContent(filenameTemplate: string, sourceFilename: string): string
  ```
