# DistributedApplicationEventing Constructors

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [DistributedApplicationEventing](/reference/api/csharp/aspire.hosting/distributedapplicationeventing.md)
- Kind: `Constructors`
- Members: `1`

Supports publishing and subscribing to events which are executed during the AppHost lifecycle.

## DistributedApplicationEventing

- Name: `Constructor`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/Eventing/DistributedApplicationEventing.cs#L12-L13)

```csharp
public class DistributedApplicationEventing
{
    public DistributedApplicationEventing()
    {
        // ...
    }
}
```
