# AzureBlobStorageContainerResource

- Kind: `class`
- Package: [Aspire.Hosting.Azure.Storage](/reference/api/csharp/aspire.hosting.azure.storage.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.Storage/AzureBlobStorageContainerResource.cs)
- Inherits: `Resource`
- Implements: `IExpressionValue`, `IManifestExpressionProvider`, `IResource`, `IResourceWithConnectionString`, `IResourceWithParent`, `IResourceWithParent<AzureBlobStorageResource>`, `IValueProvider`, `IValueWithReferences`

A resource that represents an Azure Blob Storage container.

## Definition

```csharp
namespace Aspire.Hosting.Azure;

public class AzureBlobStorageContainerResource
    : Aspire.Hosting.ApplicationModel.Resource,
      Aspire.Hosting.ApplicationModel.IExpressionValue,
      Aspire.Hosting.ApplicationModel.IManifestExpressionProvider,
      Aspire.Hosting.ApplicationModel.IResource,
      Aspire.Hosting.ApplicationModel.IResourceWithConnectionString,
      Aspire.Hosting.ApplicationModel.IResourceWithParent,
      Aspire.Hosting.ApplicationModel.IResourceWithParent<Aspire.Hosting.Azure.AzureBlobStorageResource>,
      Aspire.Hosting.ApplicationModel.IValueProvider,
      Aspire.Hosting.ApplicationModel.IValueWithReferences
{
    // ...
}
```

## Constructors

- [AzureBlobStorageContainerResource(string, string, AzureBlobStorageResource)](/reference/api/csharp/aspire.hosting.azure.storage/azureblobstoragecontainerresource/constructors.md#constructor-string-string-azureblobstorageresource) -- A resource that represents an Azure Blob Storage container.

## Properties

- [BlobContainerName](/reference/api/csharp/aspire.hosting.azure.storage/azureblobstoragecontainerresource/properties.md#blobcontainername) : `string` `get` -- Gets the blob container name.
- [ConnectionStringExpression](/reference/api/csharp/aspire.hosting.azure.storage/azureblobstoragecontainerresource/properties.md#connectionstringexpression) : `ReferenceExpression` `get` -- Gets the connection string template for the manifest for the Azure Blob Storage container resource.
- [Parent](/reference/api/csharp/aspire.hosting.azure.storage/azureblobstoragecontainerresource/properties.md#parent) : [AzureBlobStorageResource](/reference/api/csharp/aspire.hosting.azure.storage/azureblobstorageresource.md) `get` -- Gets the parent [AzureBlobStorageResource](/reference/api/csharp/aspire.hosting.azure.storage/azureblobstorageresource.md) of this [AzureBlobStorageContainerResource](/reference/api/csharp/aspire.hosting.azure.storage/azureblobstoragecontainerresource.md).
