aspnetcore
ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
ASP.NET Core is Microsoft's open-source web framework for building APIs, server-rendered web apps, and real-time services in C#, providing routing, authentication, middleware, and HTML templating out of the box.
ASP.NET Core is Microsoft's open-source web framework for building server-side web applications, APIs, and real-time services using C#. The problem it solves is providing a structured, high-performance foundation for building web services that would otherwise require developers to handle low-level concerns like HTTP routing, request parsing, authentication, middleware pipelines, and response serialization from scratch. ASP.NET Core packages all of that into a cohesive, productized framework.
How it works: ASP.NET Core runs on top of the .NET runtime, which handles memory management, threading, and cross-platform execution. The framework is organized as a pipeline of middleware components — each incoming HTTP request passes through a chain of handlers (for logging, authentication, routing, compression, etc.) before reaching your application code. You define endpoints using either controller classes that map HTTP verbs to methods, or a newer "minimal API" style where routes are declared inline with short lambda functions. For web pages, Razor combines HTML templates with C# code to render dynamic HTML on the server. For real-time communication such as chat, ASP.NET Core includes SignalR, which maintains persistent WebSocket connections.
You would use ASP.NET Core when building REST APIs consumed by a frontend or mobile app, server-rendered web applications in the .NET ecosystem, microservices in an enterprise environment, or any backend that benefits from the strong typing and tooling of C# and the performance of the .NET runtime.
The tech stack is C# on the .NET runtime, running on Windows, macOS, and Linux. It integrates closely with Entity Framework Core for database access and can be deployed to the cloud, containers, or on-premises servers.
Where it fits
- Build a REST API in C# that serves JSON to a React or mobile frontend, with automatic content negotiation, authentication middleware, and request validation.
- Create server-rendered web pages using Razor templates that combine C# logic with HTML to return dynamic content without a separate frontend framework.
- Add real-time push features like live notifications or chat to a web app using SignalR's persistent WebSocket connections.
- Build and containerize microservices in a .NET enterprise environment and deploy them to Windows, Linux, or Docker containers.