# BicepTemplateFile

- Kind: `struct`
- Package: [Aspire.Hosting.Azure](/reference/api/csharp/aspire.hosting.azure.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting.Azure`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/AzureBicepResource.cs)
- Implements: `IDisposable`

Represents a bicep template file.

## Definition

```csharp
namespace Aspire.Hosting.Azure;

public sealed readonly struct BicepTemplateFile
    : System.IDisposable
{
    // ...
}
```

## Constructors

- [BicepTemplateFile(string, bool)](/reference/api/csharp/aspire.hosting.azure/biceptemplatefile/constructors.md#constructor-string-bool) -- Represents a bicep template file.

## Properties

- [Path](/reference/api/csharp/aspire.hosting.azure/biceptemplatefile/properties.md#path) : `string` `get` -- The path to the bicep file.

## Methods

- [Dispose](/reference/api/csharp/aspire.hosting.azure/biceptemplatefile/methods.md#dispose) -- Releases the resources used by the current instance of [BicepTemplateFile](/reference/api/csharp/aspire.hosting.azure/biceptemplatefile.md).
