BytexDigital.Blazor.Components.CookieConsent
BytexDigital.Blazor.Components.CookieConsent copied to clipboard
Issues with Blazor Web App setup
When configuring the .Net 8 blazor web app, following the instructions, I face two issues:
<BytexDigital.Blazor.Components.CookieConsent.CookieConsentInitializer @rendermode="@RenderMode.Server" />
is not found. and, when adding
builder.Services.AddCookieConsent(o =>
{
// The same configuration as on the server! Best to put this lambda in a shared project to reuse to reduce duplication.
}, withUserInterface: false);
no AddCookieConsent
which takes two inputs is found.