19 lines
495 B
C#
19 lines
495 B
C#
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
|
|
|
|
namespace App.Client
|
|
{
|
|
internal class Program
|
|
{
|
|
static async Task Main(string[] args)
|
|
{
|
|
var builder = WebAssemblyHostBuilder.CreateDefault(args);
|
|
|
|
builder.Services.AddAuthorizationCore();
|
|
builder.Services.AddCascadingAuthenticationState();
|
|
builder.Services.AddAuthenticationStateDeserialization();
|
|
|
|
await builder.Build().RunAsync();
|
|
}
|
|
}
|
|
}
|