Eigenverft.WebLib.Infrastructure
  • Guides
  • API
Show / Hide Table of Contents
  • Eigenverft.WebLib.Infrastructure.Hosting
    • HttpResponseExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.Configuration.Values
    • AspNetDataProtectionConfigurationValueCodecs
  • Eigenverft.WebLib.Infrastructure.Hosting.DirectoryLayout
    • WebApplicationBuilderFactory
  • Eigenverft.WebLib.Infrastructure.Hosting.Features
    • HttpContextFeatureExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.Hsts
    • WebLibHstsExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.Kestrel
    • ConfigureWebHostBuilderExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.Middleware.CanonicalHostRedirect
    • CanonicalHostMode
    • CanonicalHostRedirectExtensions
    • CanonicalHostRedirectOptions
  • Eigenverft.WebLib.Infrastructure.Hosting.Middleware.ClientNetwork
    • ClientForwardedIpAddress
    • ClientForwardedIpSource
    • ClientNetworkApplicationBuilderExtensions
    • ClientNetworkMiddleware
    • IClientNetworkFeature
  • Eigenverft.WebLib.Infrastructure.Hosting.Middleware.HealthProbeFaviconAware
    • HealthProbeFaviconAwareExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.Middleware.Infrastructure
    • ApplicationBuilderMiddlewareExtensions
    • ServiceProviderRegistrationExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.Pipeline
    • PipelinePartitioningExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.RateLimiting
    • MissingClientIpBehavior
    • WebLibRequestTrafficShapingOptions
    • WebLibRequestTrafficShapingPerClientOptions
    • WebLibRequestTrafficShapingServerWideOptions
    • WebLibRequestTrafficShapingServiceCollectionExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.RequestTrafficLogging
    • RequestTrafficLoggingApplicationBuilderExtensions
    • RequestTrafficLoggingFields
    • RequestTrafficLoggingOptions
    • RequestTrafficLoggingServiceCollectionExtensions
    • SensitiveValueMode
  • Eigenverft.WebLib.Infrastructure.Hosting.SelfHttpWarmup
    • SelfHttpWarmupOptions
    • SelfHttpWarmupServiceCollectionExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.StaticFiles
    • AdditionalMappings
    • StaticFileAdditionalMappings
    • StaticFileApplicationBuilderExtensions
  • Eigenverft.WebLib.Infrastructure.Transformations
    • AspNetDataProtectionStringTransforms

Class SelfHttpWarmupServiceCollectionExtensions

Registers optional self-HTTP startup warmup for ASP.NET Core applications.

Inheritance
object
SelfHttpWarmupServiceCollectionExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Eigenverft.WebLib.Infrastructure.Hosting.SelfHttpWarmup
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
Type Name Description
IServiceCollection services
Returns
Type Description
IServiceCollection
Remarks

Registration alone does not enable warmup. Set Enabled to true and configure at least one target URL to opt in through configuration.

| 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
Type Name Description
IServiceCollection services
Action<SelfHttpWarmupOptions> configure
Returns
Type Description
IServiceCollection
| 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
Type Name Description
IServiceCollection services
IEnumerable<string> targetUrls
Action<SelfHttpWarmupOptions> configure
Returns
Type Description
IServiceCollection
| 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
Type Name Description
IServiceCollection services
string targetUrl
Action<SelfHttpWarmupOptions> configure
Returns
Type Description
IServiceCollection
  • Edit this page
  • View Source
In this article
Back to top