KestrelServerOptions.ApplicationServices Property

Definition

Enables the UseKestrel options callback to resolve and use services registered by the application during startup. Typically initialized by UseKestrel(IWebHostBuilder, Action<KestrelServerOptions>).

public:
 property IServiceProvider ^ ApplicationServices { IServiceProvider ^ get(); void set(IServiceProvider ^ value); };
public IServiceProvider ApplicationServices { get; set; }
member this.ApplicationServices : IServiceProvider with get, set
Public Property ApplicationServices As IServiceProvider

Property Value

Applies to