diff --git a/app/Components/Components/NavBar.razor b/app/Components/Components/NavBar.razor index 4540a47..e5f9a16 100644 --- a/app/Components/Components/NavBar.razor +++ b/app/Components/Components/NavBar.razor @@ -11,9 +11,9 @@
  • Home
  • -
  • + @*
  • Events -
  • + *@
  • .NET Conf 2024
  • diff --git a/app/Components/Pages/Events.razor b/app/Components/Pages/Events.razor index aba8eb7..2aff4bd 100644 --- a/app/Components/Pages/Events.razor +++ b/app/Components/Pages/Events.razor @@ -1,4 +1,4 @@ -@page "/events" +@* @page "/events" *@ @using app.business.Services @using app.domain.Models.EventAggregate @inject IEventService EventService diff --git a/app/Extensions/Extensions.cs b/app/Extensions/Extensions.cs index c1d3839..66b5ea5 100644 --- a/app/Extensions/Extensions.cs +++ b/app/Extensions/Extensions.cs @@ -35,18 +35,19 @@ public static IServiceCollection AddServices( services.AddApplicationInsightsTelemetry(configuration); services.AddExceptionHandler(); } - services.AddHangfire(cfg => cfg - .UseSimpleAssemblyNameTypeSerializer() - .UseRecommendedSerializerSettings() - .UseMemoryStorage()); + + // services.AddHangfire(cfg => cfg + // .UseSimpleAssemblyNameTypeSerializer() + // .UseRecommendedSerializerSettings() + // .UseMemoryStorage()); + + // services.AddHangfireServer(); + // services.AddJobsFromAssembly(typeof(IJob).Assembly); // We currently use the memory cache because it's enough for our simple application // We will scale to a distributed Redis Cache if needed services.AddCacheManager(); services.AddSingleton(); - - services.AddHangfireServer(); - services.AddJobsFromAssembly(typeof(IJob).Assembly); services.AddScoped(); services.AddScoped(); services.AddScoped(); diff --git a/app/Program.cs b/app/Program.cs index 5dfb44a..5b7fc51 100644 --- a/app/Program.cs +++ b/app/Program.cs @@ -34,7 +34,7 @@ app.UseAntiforgery(); -app.MapHangfireJobs(); +// app.MapHangfireJobs(); app.MapRazorComponents() .AddInteractiveServerRenderMode()