Activate InteractiveServer rendermode to whole app, add and use Blazor.Storage package, display current render mode, remove added stuff that was required for static rendering
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using Blazored.LocalStorage;
|
||||
using Sandbox;
|
||||
using Sandbox.Components;
|
||||
using Sandbox.Models.ViewModels;
|
||||
@@ -10,6 +11,9 @@ var builder = WebApplication.CreateBuilder(args);
|
||||
builder.Services.AddRazorComponents()
|
||||
.AddInteractiveServerComponents();
|
||||
|
||||
// Blazor.Storage
|
||||
builder.Services.AddBlazoredLocalStorage();
|
||||
|
||||
// Blazor client services
|
||||
builder.Services.AddScoped<ClientServices.AuthService.IAuthService, ClientServices.AuthService.AuthService>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user