TestUriHelper Class

Namespace
Microsoft.AspNetCore.Server.Testing.Common
Assemblies
  • Microsoft.AspNetCore.Server.Testing

Syntax

public class TestUriHelper
class Microsoft.AspNetCore.Server.Testing.Common.TestUriHelper

Methods

BuildTestUri()
Return type:System.Uri
public static Uri BuildTestUri()
BuildTestUri(System.String)
Return type:System.Uri
public static Uri BuildTestUri(string hint)
FindFreePort()
Return type:System.Int32
public static int FindFreePort()
FindFreePort(System.Int32)
Return type:System.Int32
public static int FindFreePort(int initialPort)