Table of Contents
API reference

Class HostBuilderExtensions

Namespace
DisCatSharp.Hosting.AspNetCore
Assembly
DisCatSharp.Hosting.AspNetCore.dll

Provides host builder extensions for registering DisCatSharp ASP.NET Core ingress services.

public static class HostBuilderExtensions
Inheritance
HostBuilderExtensions
Inherited Members

Methods

AddDisCatSharpAspNetCore(IHostApplicationBuilder, Action<DiscordWebIngressOptions>?, Action<DiscordAspNetCoreIngressOptions>?, Action<DiscordOAuthIngressOptions>?)

Registers the DisCatSharp ASP.NET Core ingress services on a host application builder.

AddDisCatSharpAspNetCore(IHostBuilder, Action<DiscordWebIngressOptions>?, Action<DiscordAspNetCoreIngressOptions>?, Action<DiscordOAuthIngressOptions>?)

Registers the DisCatSharp ASP.NET Core ingress services on a host builder.

AddDisCatSharpAspNetCoreSelfHost(IHostApplicationBuilder, Action<DiscordAspNetCoreSelfHostOptions>?, Action<DiscordWebIngressOptions>?, Action<DiscordAspNetCoreIngressOptions>?)

Registers the optional self-hosted DisCatSharp ASP.NET Core ingress services on a host application builder.

AddDisCatSharpAspNetCoreSelfHost(IHostBuilder, Action<DiscordAspNetCoreSelfHostOptions>?, Action<DiscordWebIngressOptions>?, Action<DiscordAspNetCoreIngressOptions>?)

Registers the optional self-hosted DisCatSharp ASP.NET Core ingress services on a host builder.