Files
ImageProcessor/Program.cs
spouliot@scppowdercoating.com cd9ba29e76 Initial commit: ASP.NET Core 10.0 MVC application
- Basic MVC structure with HomeController
- Bootstrap 5 and jQuery included
- CLAUDE.md for AI assistant guidance

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-29 14:48:34 -04:00

30 lines
669 B
C#

var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddControllersWithViews();
var app = builder.Build();
// Configure the HTTP request pipeline.
if (!app.Environment.IsDevelopment())
{
app.UseExceptionHandler("/Home/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.UseRouting();
app.UseAuthorization();
app.MapStaticAssets();
app.MapControllerRoute(
name: "default",
pattern: "{controller=Home}/{action=Index}/{id?}")
.WithStaticAssets();
app.Run();