Add project files.

This commit is contained in:
Arne Moerman
2024-03-31 14:24:31 +02:00
parent 02c2218ed3
commit 586b3558ae
78 changed files with 4432 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using wishlist.Client;
var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.Services.AddAuthorizationCore();
builder.Services.AddCascadingAuthenticationState();
builder.Services.AddSingleton<AuthenticationStateProvider, PersistentAuthenticationStateProvider>();
await builder.Build().RunAsync();