KestrelServerOptions.ApplicationServices Property
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.
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