9 lines
210 B
C#
9 lines
210 B
C#
var builder = WebApplication.CreateBuilder(args);
|
|
builder.Services.AddControllersWithViews();
|
|
var app = builder.Build();
|
|
|
|
app.UseStaticFiles();
|
|
app.MapControllers();
|
|
app.MapDefaultControllerRoute();
|
|
|
|
app.Run(); |