From dae84a9660ed572dc150e548eb71ac38a0efbf6e Mon Sep 17 00:00:00 2001 From: Sjory Date: Thu, 5 Dec 2024 13:23:12 +0100 Subject: Updated to .Net v8.0 since there was almost no development made except a few test. i startet from scratch with .Net 8.0 and made a Blazor (Auot - Server/Web app) --- DrinksMachineWebsite/Program.cs | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 DrinksMachineWebsite/Program.cs (limited to 'DrinksMachineWebsite/Program.cs') diff --git a/DrinksMachineWebsite/Program.cs b/DrinksMachineWebsite/Program.cs deleted file mode 100644 index 3e4d1e0..0000000 --- a/DrinksMachineWebsite/Program.cs +++ /dev/null @@ -1,31 +0,0 @@ -using DrinksMachineWebsite.Data; -using Microsoft.AspNetCore.Components; -using Microsoft.AspNetCore.Components.Web; - -var builder = WebApplication.CreateBuilder(args); - -// Add services to the container. -builder.Services.AddRazorPages(); -builder.Services.AddServerSideBlazor(); -builder.Services.AddSingleton(); - -var app = builder.Build(); - -// Configure the HTTP request pipeline. -if (!app.Environment.IsDevelopment()) -{ - app.UseExceptionHandler("/Error"); - // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. - app.UseHsts(); -} - -app.UseHttpsRedirection(); - -app.UseStaticFiles(); - -app.UseRouting(); - -app.MapBlazorHub(); -app.MapFallbackToPage("/_Host"); - -app.Run(); -- cgit v1.3.1