# PublishAsAzureContainerApp

- Module: [Aspire.Hosting.Azure.AppContainers](/reference/api/go/aspire.hosting.azure.appcontainers.md)
- Version: `17.0.0`
- Kind: `method`
- Defined on: `ProjectResource`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Allows configuring the specified project resource as a container app.

## Definition

```go
func (ProjectResource) PublishAsAzureContainerApp(configure func(arg1 AzureResourceInfrastructure, arg2 ContainerApp)) ProjectResource
```

## Parameters

- `configure` (`func(arg1 AzureResourceInfrastructure, arg2 ContainerApp)`) -- The configuration action for the container app.

## Returns

`ProjectResource` -- The updated project resource builder.

Returns a handle; failures surface later via `Err()`.

## Applies to

- `CSharpAppResource`
- `ProjectResource`
