ASP.NET Core yaiku framework web modern, cross-platform, lan berperforma dhuwur kanggo ngbangun aplikasi web lan API kanthi C#. Konsep sentral yaiku middleware pipeline — rantai komponen sing bisa dikonfigurasi sing saben-sabene ngolah HTTP request/response, nangani hal-hal cross-cutting kayata authentikasi, logging, lan routing.
API ASP.NET Core minimal
builder = WebApplication.CreateBuilder();
builder.Services.AddScoped<IUserService, UserService>();
app = builder.Build();
app.UseHttpsRedirection();
app.UseAuthentication();
app.UseAuthorization();
app.MapGet(, ( id, IUserService svc) => svc.Get(id));
app.MapPost(, (User user, IUserService svc) => svc.Create(user));
app.Run();
