Share via


WebHostBuilderNamedPipeExtensions.UseNamedPipes Method

Definition

Overloads

UseNamedPipes(IWebHostBuilder)

Specify Named Pipes as the transport to be used by Kestrel.

UseNamedPipes(IWebHostBuilder, Action<NamedPipeTransportOptions>)

Specify Named Pipes as the transport to be used by Kestrel.

UseNamedPipes(IWebHostBuilder)

Source:
WebHostBuilderNamedPipeExtensions.cs

Specify Named Pipes as the transport to be used by Kestrel.

public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseNamedPipes (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder);
static member UseNamedPipes : Microsoft.AspNetCore.Hosting.IWebHostBuilder -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseNamedPipes (hostBuilder As IWebHostBuilder) As IWebHostBuilder

Parameters

hostBuilder
IWebHostBuilder

The IWebHostBuilder to configure.

Returns

The IWebHostBuilder.

Applies to

UseNamedPipes(IWebHostBuilder, Action<NamedPipeTransportOptions>)

Source:
WebHostBuilderNamedPipeExtensions.cs

Specify Named Pipes as the transport to be used by Kestrel.

public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseNamedPipes (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes.NamedPipeTransportOptions> configureOptions);
static member UseNamedPipes : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes.NamedPipeTransportOptions> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseNamedPipes (hostBuilder As IWebHostBuilder, configureOptions As Action(Of NamedPipeTransportOptions)) As IWebHostBuilder

Parameters

hostBuilder
IWebHostBuilder

The IWebHostBuilder to configure.

configureOptions
Action<NamedPipeTransportOptions>

A callback to configure transport options.

Returns

The IWebHostBuilder.

Applies to