Skip to content
DocsTry Aspire
DocsTry

DevTunnelResource Constructors

ClassConstructors1 member
A resource representing a persistent dev tunnel that runs for the life of the AppHost.
Constructor(string, string, string, string, DevTunnelOptions?)Section titled Constructor(string, string, string, string, DevTunnelOptions?)
A resource representing a persistent dev tunnel that runs for the life of the AppHost.
public sealed class DevTunnelResource
{
public DevTunnelResource(
string name,
string tunnelId,
string command,
string workingDirectory,
DevTunnelOptions? options = null)
{
// ...
}
}
namestring
tunnelIdstring
commandstring
workingDirectorystring
optionsDevTunnelOptions?optional