webapp: .NET 9 Razor Pages, neue rezepte, systemd service
This commit is contained in:
1 parent
07428b0456
commit
466cb09d1c
20 files changed
+969
-4
No files matched your search
@@ -0,0 +1,12 @@
|
||||
using Kochstube.Services;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
builder.Services.AddRazorPages();
|
||||
builder.Services.AddSingleton<RezeptService>();
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
app.UseStaticFiles();
|
||||
app.MapRazorPages();
|
||||
|
||||
app.Run();
|
||||
Reference in new issue
Block a user