Class SelfHttpWarmupServiceCollectionExtensions
Registers optional self-HTTP startup warmup for ASP.NET Core applications.
Inheritance
SelfHttpWarmupServiceCollectionExtensions
Assembly: Eigenverft.WebLib.Infrastructure.dll
Syntax
public static class SelfHttpWarmupServiceCollectionExtensions
Methods
|
Edit this page
View Source
AddSelfHttpWarmup(IServiceCollection)
Registers self-HTTP warmup and binds SelfHttpWarmupOptions from the
SelfHttpWarmup configuration section.
Declaration
public static IServiceCollection AddSelfHttpWarmup(this IServiceCollection services)
Parameters
Returns
|
Edit this page
View Source
AddSelfHttpWarmup(IServiceCollection, Action<SelfHttpWarmupOptions>)
Enables self-HTTP warmup and applies code-based options after configuration binding.
Declaration
public static IServiceCollection AddSelfHttpWarmup(this IServiceCollection services, Action<SelfHttpWarmupOptions> configure)
Parameters
Returns
|
Edit this page
View Source
AddSelfHttpWarmup(IServiceCollection, IEnumerable<string>, Action<SelfHttpWarmupOptions>?)
Enables self-HTTP warmup for one or more absolute HTTP or HTTPS URLs.
Declaration
public static IServiceCollection AddSelfHttpWarmup(this IServiceCollection services, IEnumerable<string> targetUrls, Action<SelfHttpWarmupOptions>? configure = null)
Parameters
Returns
|
Edit this page
View Source
AddSelfHttpWarmup(IServiceCollection, string, Action<SelfHttpWarmupOptions>?)
Enables self-HTTP warmup for one absolute HTTP or HTTPS URL.
Declaration
public static IServiceCollection AddSelfHttpWarmup(this IServiceCollection services, string targetUrl, Action<SelfHttpWarmupOptions>? configure = null)
Parameters
Returns