Condividi tramite


HostingAbstractionsWebHostBuilderExtensions.UseUrls Metodo

Definizione

Specificare gli URL su cui sarà in ascolto l'host Web.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseUrls(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, ... cli::array <System::String ^> ^ urls);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseUrls (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, params string[] urls);
static member UseUrls : Microsoft.AspNetCore.Hosting.IWebHostBuilder * string[] -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseUrls (hostBuilder As IWebHostBuilder, ParamArray urls As String()) As IWebHostBuilder

Parametri

hostBuilder
IWebHostBuilder

Oggetto IWebHostBuilder da configurare.

urls
String[]

Gli URL su cui sarà in ascolto l'applicazione ospitata.

Restituisce

Oggetto IWebHostBuilder.

Si applica a