10 lines
305 B
C#
10 lines
305 B
C#
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
|
|
|
|
var builder = WebAssemblyHostBuilder.CreateDefault(args);
|
|
|
|
builder.Services.AddAuthorizationCore();
|
|
builder.Services.AddCascadingAuthenticationState();
|
|
builder.Services.AddAuthenticationStateDeserialization();
|
|
|
|
await builder.Build().RunAsync();
|