WebHost static API updates
- Specify ApplicationName when wrapping RequestDelegate or RouteBuilder - Add debug logger by default
This commit is contained in:
parent
4331c021b1
commit
0d66125fda
|
|
@ -8,7 +8,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="wwwroot\" />
|
||||
<Content Include="wwwroot\htmlpage.html" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
|||
|
|
@ -69,8 +69,8 @@ namespace Microsoft.AspNetCore
|
|||
/// </summary>
|
||||
/// <param name="app">The delegate that configures the <see cref="IApplicationBuilder"/>.</param>
|
||||
/// <returns>A started <see cref="IWebHost"/> that hosts the application.</returns>
|
||||
public static IWebHost StartWith(Action<IApplicationBuilder> app) =>
|
||||
StartWith(url: null, app: app);
|
||||
public static IWebHost Start(Action<IApplicationBuilder> app) =>
|
||||
Start(url: null, app: app);
|
||||
|
||||
/// <summary>
|
||||
/// Initializes and starts a new <see cref="IWebHost"/> with pre-configured defaults.
|
||||
|
|
|
|||
Loading…
Reference in New Issue