# 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/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.Hosting/Eventing/DistributedApplicationEventing.cs#L13-L14)

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