From 819338d2808d8aee57e9018a00497496f87b634b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Pilgaard=20Gr=C3=B8ndahl?= Date: Mon, 26 Feb 2024 21:35:06 +0100 Subject: [PATCH] removing unused stuff --- src/Pilgaard.Blog/Pilgaard.Blog.csproj | 1 - src/Pilgaard.Blog/Program.cs | 10 ++-------- src/Pilgaard.Blog/Routes.razor | 2 +- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/Pilgaard.Blog/Pilgaard.Blog.csproj b/src/Pilgaard.Blog/Pilgaard.Blog.csproj index 1cbc982..637e677 100644 --- a/src/Pilgaard.Blog/Pilgaard.Blog.csproj +++ b/src/Pilgaard.Blog/Pilgaard.Blog.csproj @@ -58,7 +58,6 @@ - diff --git a/src/Pilgaard.Blog/Program.cs b/src/Pilgaard.Blog/Program.cs index c0fefd6..76225fe 100644 --- a/src/Pilgaard.Blog/Program.cs +++ b/src/Pilgaard.Blog/Program.cs @@ -1,4 +1,3 @@ -using Microsoft.Azure.SignalR; using MudBlazor.Services; using Pilgaard.Blog; using Pilgaard.Blog.Features.Feed; @@ -7,14 +6,10 @@ var builder = WebApplication.CreateBuilder(args); builder.Services.AddMudServices(); -builder.Services.AddSignalR().AddAzureSignalR(options => - options.ServerStickyMode = ServerStickyMode.Required); builder.Services.AddScoped(); -builder.Services.AddRazorPages(); -builder.Services.AddRazorComponents() - .AddInteractiveServerComponents(); +builder.Services.AddRazorComponents(); var app = builder.Build(); @@ -32,8 +27,7 @@ app.UseAntiforgery(); -app.MapRazorComponents() - .AddInteractiveServerRenderMode(); +app.MapRazorComponents(); app.MapRssFeed(); diff --git a/src/Pilgaard.Blog/Routes.razor b/src/Pilgaard.Blog/Routes.razor index 81459fa..ae44095 100644 --- a/src/Pilgaard.Blog/Routes.razor +++ b/src/Pilgaard.Blog/Routes.razor @@ -1,6 +1,6 @@  - +