WebHostBuilderLibuvExtensions.UseLibuv Metodo

Definizione

Overload

UseLibuv(IWebHostBuilder)
Obsoleti.

Specificare Libuv come trasporto da usare da Kestrel.

UseLibuv(IWebHostBuilder, Action<LibuvTransportOptions>)
Obsoleti.

Specificare Libuv come trasporto da usare da Kestrel.

UseLibuv(IWebHostBuilder)

Origine:
WebHostBuilderLibuvExtensions.cs
Origine:
WebHostBuilderLibuvExtensions.cs
Origine:
WebHostBuilderLibuvExtensions.cs
Origine:
WebHostBuilderLibuvExtensions.cs
Origine:
WebHostBuilderLibuvExtensions.cs
Origine:
WebHostBuilderLibuvExtensions.cs

Attenzione

The libuv transport is obsolete and will be removed in a future release. See https://aka.ms/libuvtransport for details.

Specificare Libuv come trasporto da usare da Kestrel.

C#
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseLibuv (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder);
C#
[System.Obsolete("The libuv transport is obsolete and will be removed in a future release. See https://aka.ms/libuvtransport for details.", false)]
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseLibuv (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder);

Parametri

hostBuilder
IWebHostBuilder

Microsoft.AspNetCore.Hosting.IWebHostBuilder da configurare.

Restituisce

The Microsoft.AspNetCore.Hosting.IWebHostBuilder.

Attributi

Si applica a

ASP.NET Core 6.0 e altre versioni
Prodotto Versioni (obsoleto)
ASP.NET Core 2.0, 2.1, 2.2, 3.0, 3.1 (5.0, 6.0)

UseLibuv(IWebHostBuilder, Action<LibuvTransportOptions>)

Origine:
WebHostBuilderLibuvExtensions.cs
Origine:
WebHostBuilderLibuvExtensions.cs
Origine:
WebHostBuilderLibuvExtensions.cs
Origine:
WebHostBuilderLibuvExtensions.cs
Origine:
WebHostBuilderLibuvExtensions.cs
Origine:
WebHostBuilderLibuvExtensions.cs

Attenzione

The libuv transport is obsolete and will be removed in a future release. See https://aka.ms/libuvtransport for details.

Specificare Libuv come trasporto da usare da Kestrel.

C#
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseLibuv (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.LibuvTransportOptions> configureOptions);
C#
[System.Obsolete("The libuv transport is obsolete and will be removed in a future release. See https://aka.ms/libuvtransport for details.", false)]
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseLibuv (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.LibuvTransportOptions> configureOptions);

Parametri

hostBuilder
IWebHostBuilder

Microsoft.AspNetCore.Hosting.IWebHostBuilder da configurare.

configureOptions
Action<LibuvTransportOptions>

Callback per configurare le opzioni Libuv.

Restituisce

The Microsoft.AspNetCore.Hosting.IWebHostBuilder.

Attributi

Si applica a

ASP.NET Core 6.0 e altre versioni
Prodotto Versioni (obsoleto)
ASP.NET Core 2.0, 2.1, 2.2, 3.0, 3.1 (5.0, 6.0)