Microsoft's modern, cross-platform web framework — high performance, batteries-included, and consistently near the top of TechEmpower benchmarks.
← Back to Server Sidevar builder = WebApplication.CreateBuilder(args); builder.Services.AddDbContext<StoreDb>(); var app = builder.Build(); app.MapGet("/api/products", async (StoreDb db) => await db.Products.ToListAsync()); app.MapPost("/api/products", async (Product p, StoreDb db) => { db.Products.Add(p); await db.SaveChangesAsync(); return Results.Created($"/api/products/{p.Id}", p); }); app.Run();
Minimal APIs are great for small services and microservices. MVC controllers add structure (filters, model binding, conventions) for larger codebases. The two coexist in the same project.
The default ORM — code-first migrations, LINQ queries, change tracking. Supports SQL Server, PostgreSQL, MySQL, SQLite, Cosmos DB, and more.
First-class DI baked in — no third-party container required. Lifetimes: Singleton, Scoped (per request), Transient.
SignalR for real-time (WebSockets, SSE, long-poll) — chat, notifications, dashboards. gRPC built in for service-to-service RPC with HTTP/2.
Native AOT compilation produces small, fast-starting binaries — ideal for serverless. ASP.NET Core regularly tops TechEmpower benchmarks.
Large internal services on the Microsoft stack.
Trading, gaming, real-time analytics.
SignalR for chat, notifications, live dashboards.
Functions, App Service, AKS — first-class .NET support.