HostingAbstractionsWebHostBuilderExtensions.Start Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Start the web host and listen on the specified urls.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Hosting::IWebHost ^ Start(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, ... cli::array <System::String ^> ^ urls);
public static Microsoft.AspNetCore.Hosting.IWebHost Start (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, params string[] urls);
static member Start : Microsoft.AspNetCore.Hosting.IWebHostBuilder * string[] -> Microsoft.AspNetCore.Hosting.IWebHost
<Extension()>
Public Function Start (hostBuilder As IWebHostBuilder, ParamArray urls As String()) As IWebHost
Parameters
- hostBuilder
- IWebHostBuilder
The IWebHostBuilder to start.
- urls
- String[]
The urls the hosted application will listen on.
Returns
The IWebHostBuilder.