Skip to content
Learn Netverks

Lesson

Step 2/36 6% through track

what-is-aspnet

What is ASP.NET Core?

Last reviewed Jun 1, 2026 Content v20260601
Track mode
server_compiled
Means
Compiled runner
Reading
~2 min
Level
beginner

This lesson

This lesson teaches What is ASP.NET Core?: the syntax, APIs, and habits you need before advancing in ASP.NET.

Teams ship What is ASP.NET Core? on every ASP.NET codebase—skipping it leaves gaps in debugging and code reviews.

You will apply What is ASP.NET Core? in contexts like: Line-of-business APIs, intranets, BFF layers, and cloud-hosted services on Linux or Windows.

Write C# (top-level or Program class), click Run on server—the dev runner uses dotnet build/run on a temp net8 project (requires .NET SDK; LEARNING_RUNNER_ENABLED=true).

After HTML fundamentals and basic programming concepts—before or alongside SQL.

ASP.NET Core is a web framework—not a language. It runs on the .NET runtime and lets you build sites, APIs, and microservices with C# (or F#). Version 8+ is cross-platform: Linux containers, Windows IIS, and macOS dev machines share the same codebase.

Core characteristics

  • Unified stack — MVC, Razor Pages, Web API, minimal APIs, SignalR, and Blazor share the same host and middleware pipeline
  • High performance — Kestrel web server and efficient async I/O; used in production at scale with tuning
  • Dependency injection built in — services registered in Program.cs and injected into controllers
  • Configuration everywhere — JSON, environment variables, Azure Key Vault providers

What ASP.NET Core is not

Not a front-end framework (pair with React/Vue/Blazor for rich UIs), not legacy .NET Framework-only (Core is the modern path), and not magic—you still need HTTP, SQL basics, and C# fundamentals.

Important interview questions and answers

  1. Q: ASP.NET vs ASP.NET Core?
    A: Core is cross-platform, modular, and the active development path; legacy ASP.NET ran on Windows IIS with System.Web.
  2. Q: What hosts ASP.NET Core?
    A: Kestrel is the default in-process server; reverse proxies (IIS, nginx, Azure Front Door) sit in front in production.
  3. Q: Is C# required?
    A: C# is the primary language; F# and VB.NET exist but C# dominates hiring and docs.

Self-check

  1. Name two app types ASP.NET Core supports (MVC, API, etc.).
  2. What language is most ASP.NET Core code written in?

Interview prep

What hosts ASP.NET Core by default?

Kestrel is the default in-process web server; production often places IIS, nginx, or Azure Front Door as a reverse proxy in front of Kestrel.

Interview tip Lesson completion confidence

Can you explain this lesson in 30 seconds without reading notes?

Not saved yet.

Playground

Runs on the configured server runner (dev: npm run runner with LEARNING_RUNNER_ENABLED=true). Output appears below the editor.

Check yourself

Multiple choice — immediate feedback.

Discussion

Past discussion is visible to everyone. Only logged-in users can post comments and replies.

Starter discussion topics

  • Core vs Framework?
  • Kestrel role?

Sign up or log in to post comments and sync lesson progress across devices.

No discussion yet. Be the first to ask a question.

Jump