# AfterPublishEvent

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

This event is published after the distributed application is published.

## Definition

```typescript
interface AfterPublishEvent extends IDistributedApplicationEvent {
  readonly model: DistributedApplicationModel;
  readonly services: IServiceProvider;
}
```

## Properties

- `model`: [DistributedApplicationModel](/reference/api/typescript/aspire.hosting/distributedapplicationmodel.md) `get` -- The `DistributedApplicationModel` instance.
- `services`: `IServiceProvider` `get` -- The `IServiceProvider` for the AppHost.
