Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. Aspire.Hosting
  3. DistributedApplicationEventingExtensions
  • DistributedApplicationEventingExtensions
    • OnAfterPublish<T>(T, Func<AfterPublishEvent, CancellationToken, Task>)
    • OnBeforePublish<T>(T, Func<BeforePublishEvent, CancellationToken, Task>)
    • OnBeforeResourceStarted<T>(IResourceBuilder<T>, Func<T, BeforeResourceStartedEvent, CancellationToken, Task>)
    • OnBeforeStart<T>(T, Func<BeforeStartEvent, CancellationToken, Task>)
    • OnConnectionStringAvailable<T>(IResourceBuilder<T>, Func<T, ConnectionStringAvailableEvent, CancellationToken, Task>)
    • OnInitializeResource<T>(IResourceBuilder<T>, Func<T, InitializeResourceEvent, CancellationToken, Task>)
    • OnResourceEndpointsAllocated<T>(IResourceBuilder<T>, Func<T, ResourceEndpointsAllocatedEvent, CancellationToken, Task>)
    • OnResourceReady<T>(IResourceBuilder<T>, Func<T, ResourceReadyEvent, CancellationToken, Task>)
    • OnResourceStopped<T>(IResourceBuilder<T>, Func<T, ResourceStoppedEvent, CancellationToken, Task>)
net11.0-windows7.0
namespace Aspire.Hosting
{
    public static class DistributedApplicationEventingExtensions
}
.NET
8.09.011.0
Information specific to net11.0
Platforms This API is only available when you target a specific platform:
Windows
7.0
Information specific to net11.0-windows7.0
Assembly

Aspire.Hosting , Version=13.6.5.0, PublicKeyToken=cc7b13ffcd2ddd51

Referencing

Your project needs a package reference to Aspire.Hosting.

Package Aspire.Hosting (13.6.5) net8.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

11/11/2026
This site is managed by Microsoft | © 2026 Microsoft. All rights reserved.
  • Privacy Statement
  • Consumer Health Privacy
  • Terms of Use
  • Contact Us
  • Hosted on Microsoft Azure
  • Manage cookies
  • Your Privacy Choices
Oops, we couldn't process your request. Reload 🗙