HostExtensionsConfigureLocalWebAddress Method

Configures the web host to listen on a random port on localhost addresses.

Definition

Namespace: Gemstone.Web.Hosting
Assembly: Gemstone.Web (in Gemstone.Web.dll) Version: 1.0.182 -- Release Build+05d4a283aeb8bf6b0f40ecf354d075ebb0d2b3e3
public static IWebHostBuilder ConfigureLocalWebAddress(
	this IWebHostBuilder webHostBuilder
)

Parameters

webHostBuilder  IWebHostBuilder
The web host builder.

Return Value

IWebHostBuilder
The web host builder.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IWebHostBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also