Skip to main content

.NET Platform vs Framework Explained

1. The different between ASP.NET Core, .NET Core, or .NET?

The naming evolved over time, which is why it can be confusing. Here's the correct current terminology.

1️⃣ .NET (current name of the platform)

Today the platform is simply called .NET

Starting with .NET 5 (2020), Microsoft dropped the word "Core" and unified everything under .NET.

Examples:

  • .NET 6\
  • .NET 7\
  • .NET 8\
  • .NET 9

So when someone says ".NET" today, they usually mean the modern cross‑platform runtime and libraries.


2️⃣ ASP.NET Core (web framework)

The web framework built on top of .NET is still called:

ASP.NET Core

Examples:

  • ASP.NET Core Web API\
  • ASP.NET Core MVC\
  • ASP.NET Core Razor Pages

Even though the platform dropped "Core", ASP.NET kept it to distinguish it from the old framework.


3️⃣ .NET Core (old name of the runtime)

This name refers only to the 2016--2020 generation of the platform.

Versions:

  • .NET Core 1.x\
  • .NET Core 2.x\
  • .NET Core 3.x

After that, it became .NET 5+.


Summary

Name Status Meaning


.NET Current The main platform/runtime ASP.NET Core Current Web framework for .NET .NET Core Legacy name Platform name before .NET 5

✔️ How developers usually say it today

  • "This project runs on .NET 8"
  • "It's an ASP.NET Core Web API"

2. What is the difference between a Platform and a Framework?

The difference is mainly scope: a platform is bigger, and a framework usually runs on top of a platform.


1️⃣ Platform

A platform is the complete environment needed to build and run software.

It usually includes:

  • Runtime (the engine that executes programs)
  • Core libraries
  • Tools (compilers, CLI, SDK)
  • APIs
  • Sometimes frameworks

Example:

.NET is a platform.

It includes:

  • CLR (runtime)
  • Base Class Library
  • CLI tools (dotnet)
  • SDK
  • Multiple frameworks

So the platform gives you everything needed to build many types of applications.

Examples of platforms:

  • .NET
  • Java Platform
  • Node.js
  • Android

2️⃣ Framework

A framework is a structured set of libraries and rules for building a specific type of application.

It:

  • Runs on a platform
  • Provides prebuilt components
  • Enforces architecture patterns

Example:

ASP.NET Core is a framework.

It helps you build:

  • Web APIs
  • Web apps
  • Web services

But it runs on the .NET platform.

Other examples:

  • Spring Framework (runs on Java)
  • Angular (runs in JavaScript environments)
  • Django (runs on Python)

3️⃣ Simple analogy

Think of building a house:

  • Platform = the land + infrastructure
    (roads, electricity, water)

  • Framework = the building template
    (a structured way to build the house)


4️⃣ In the .NET ecosystem

Layer Example


Platform .NET Framework ASP.NET Core Application Your Web API


In one sentence

  • Platform → the environment where software runs\
  • Framework → a structured toolkit for building a specific kind of application on that platform