DevTunnelPortOptions
Class sealed net10.0
Options for a dev tunnel port.
namespace Aspire.Hosting.DevTunnels;
public sealed class DevTunnelPortOptions{ // ...} 5 members
Constructors1
Section titled ConstructorsProperties4
Section titled PropertiesAllowAnonymousget; setbool? Whether to allow anonymous access to this port. If
null, defaults to the parent tunnel's setting. Defaults to null. Descriptionget; setstring? A description for this port within the dev tunnel.
Labelsget; setList<string> Optional labels to attach to this tunnel port.
Protocolget; setstring? Protocol type to expose. "http", "https", or "auto". Defaults to match scheme of exposed endpoint.