OSDotNet.001: What Is .NET? The Platform, Runtime, SDK, and Libraries

.NET platform runtime and SDK educational illustration

.NET is a free, open-source software development platform, not a programming language. It combines languages, a runtime, reusable libraries and developer tools. Think of it as a workshop: the language describes what to make, the SDK builds it, and the runtime runs it.

Four Parts of .NET

Languages such as C#, F# and Visual Basic describe instructions. The software development kit (SDK) provides compilers and tools. Libraries provide reusable features such as files, networking and collections. The runtime executes managed code and provides services including memory management. These parts work together, but are not interchangeable. Read the official .NET introduction.

Runtime Versus SDK

A runtime-only installation can execute compatible existing applications. To create, compile, test and publish new projects, developers generally install the .NET SDK. The SDK includes runtime components. The distinction is like having a music player versus the tools for recording music.

What Can You Build?

Modern .NET supports command-line tools, desktop applications, websites, background services and web APIs. ASP.NET Core is a framework for web applications and services. .NET runs on Windows, Linux and macOS, although specific application frameworks have their own operating-system requirements. C# is a language commonly used with .NET, not another name for the platform. See the history of programming languages.

Diagram of .NET SDK libraries runtime and applications

Inspect an Installation

Open a terminal and run these commands. The first displays environment information, the second installed SDKs, and the third installed runtimes. If the command is missing, verify installation and the executable’s PATH setting.

dotnet --info
dotnet --list-sdks
dotnet --list-runtimes

Build a First Console Program

Install a supported SDK from the official download page. The following commands create a folder, generate a console application and run it. This is a demonstration of the toolchain; later lessons cover C# syntax and project files.

mkdir DotNetHello
cd DotNetHello
dotnet new console
dotnet run

Exercises

1. Explain why .NET is a platform rather than a language. 2. Describe the different jobs of the SDK, runtime and libraries. 3. Compare the outputs of dotnet --list-sdks and dotnet --list-runtimes. 4. If the SDK is installed, create and run a console project. 5. Explain why a runtime-only installation cannot normally run dotnet new console.

Knowledge Check and Answers

Q1: Is .NET itself a programming language? No, it is a platform. Q2: What executes managed code? The runtime. Q3: What builds new projects? The SDK. Q4: What provides reusable file and networking features? Libraries. Q5: Which command lists installed SDKs? dotnet --list-sdks.

Next Lesson

Remember: languages express instructions, SDK tools build programs, libraries supply reusable features, and the runtime executes managed code. Next in this track: OSDotNet.002 — What the Common Language Runtime Does. Sources: Microsoft Learn .NET introduction and SDK overview.

9 responses to “OSDotNet.001: What Is .NET? The Platform, Runtime, SDK, and Libraries”

  1. […] overview: the .NET platform gives programs a managed execution environment. The Common Language Runtime, usually shortened to […]

    Like

  2. […] Microchip Technology product announcement, October 8, 2026. Related: LLDP and device discovery; software development platforms; HART industrial […]

    Like

  3. […] is very different from participating in a long sequence of coordinated acts. Engineers must manage software timing, motion trajectories, joint control, balance, battery limits and transitions between […]

    Like

  4. […] local touch feedback is one route toward more useful robotic hands. For additional context, see our software platform primer and industrial sensor communication […]

    Like

  5. […] it. That simple idea helps power everything from personal laptops and hobbyist electronics to large software development platforms and internet infrastructure. Open source is not the same thing as software that merely costs […]

    Like

  6. […] similar to the broader difference between source code and the runtime/tooling layers discussed in our .NET platform lesson, although Zig produces native executables rather than relying on the .NET CLR execution […]

    Like

  7. […] first C# lesson connects directly to OSDotNet.001: What Is .NET? and OSDotNet.002: What the Common Language Runtime Does. It also builds on the practical idea […]

    Like

  8. […] the build-and-run loop; this lesson starts filling Program.cs with typed data. It also connects to OSDotNet.001: What Is .NET? and OSDotNet.002: What the Common Language Runtime […]

    Like

  9. […] This lesson continues directly from OSC#.002: C# Variables and Built-In Types. It also builds on the toolchain established in OSC#.001: .NET SDK and Compiler and the runtime foundation introduced in OSDotNet.001: What Is .NET?. […]

    Like

Leave a Reply