You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The UseTwitchLibEventSubWebhooks extension method is currently defined on IApplicationBuilder, which is being phased out in favor of IHostApplicationBuilder.
HostApplicationBuilder is returned by Host.CreateApplicationBuilder() and implements IHostApplicationBuilder. WebApplicationBuilder is returned by WebApplication.CreateBuilder() and also implements IHostApplicationBuilder.
Can we get support for this new interface?
The text was updated successfully, but these errors were encountered:
I was actually wrong about part of this. WebApplication.CreateBuilder().Build() returns a WebApplication, which does indeed implement IApplicationBuilder.
Host.CreateApplicationBuilder().Build() returns an IHost though, so that doesn't work. That said, I'm not sure if you want it to work or just want to require people to use a WebApplication. Feel free to close if you see fit.
The
UseTwitchLibEventSubWebhooks
extension method is currently defined onIApplicationBuilder
, which is being phased out in favor ofIHostApplicationBuilder
.HostApplicationBuilder
is returned byHost.CreateApplicationBuilder()
and implementsIHostApplicationBuilder
.WebApplicationBuilder
is returned byWebApplication.CreateBuilder()
and also implementsIHostApplicationBuilder
.Can we get support for this new interface?
The text was updated successfully, but these errors were encountered: