Files
Tobias.Walsted/Razer.App/Razer.App/Program.cs
7obi-Code 1ef6e6b7e6
Some checks failed
DMA-CSD-CICD/Tobias.Walsted/pipeline/head There was a failure building this commit
initial push
2026-04-07 12:27:51 +02:00

32 lines
701 B
C#

namespace Razer.App
{
public class Program
{
public static void Main(string[] args)
{
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddRazorPages();
var app = builder.Build();
// Configure the HTTP request pipeline.
if (!app.Environment.IsDevelopment())
{
app.UseExceptionHandler("/Error");
}
app.UseRouting();
app.UseAuthorization();
app.MapStaticAssets();
app.MapRazorPages()
.WithStaticAssets();
app.Run();
}
}
}