Skip to content
Docs Try Aspire

DevTunnelPortResource

Class sealed net10.0
📦 Aspire.Hosting.DevTunnels v13.1.2
A resource representing a single forwarded endpoint/port on a dev tunnel. Contains an endpoint that resolves to the public tunnel URL of this port.
namespace Aspire.Hosting.DevTunnels;
public sealed class DevTunnelPortResource
: Aspire.Hosting.ApplicationModel.Resource,
Aspire.Hosting.ApplicationModel.IResource,
Aspire.Hosting.ApplicationModel.IResourceWithEndpoints,
Aspire.Hosting.ApplicationModel.IResourceWithWaitSupport,
Aspire.Hosting.IResourceWithServiceDiscovery
{
// ...
}
ResourceIResourceIResourceWithEndpointsIResourceWithWaitSupportIResourceWithServiceDiscovery