aboutsummaryrefslogtreecommitdiff
path: root/DrinksMachineWebsite/Program.cs
diff options
context:
space:
mode:
authorSjory <Mgj32000@gmail.com>2024-12-05 13:23:12 +0100
committerSjory <Mgj32000@gmail.com>2024-12-05 13:23:12 +0100
commitdae84a9660ed572dc150e548eb71ac38a0efbf6e (patch)
tree285a1321c9cc0a403122449d81970729522930b7 /DrinksMachineWebsite/Program.cs
parentca3e50a78787685fb5a39c6f751a87b2beb65c17 (diff)
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)
Diffstat (limited to 'DrinksMachineWebsite/Program.cs')
-rw-r--r--DrinksMachineWebsite/Program.cs31
1 files changed, 0 insertions, 31 deletions
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<WeatherForecastService>();
-
-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();