Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sachin SinghRank #66 · 26.2K reputationPosted Nov 2, 2022, 12:32 AM EDT
When we say runtime we basically mean the CLR.
SDK is the combination of CLR + debug/code libraries.
Inshort if you just want to host your app on a windows server then you just need Runtime not SDK.
If you want to code and run your app lets say in your local system then you need SDK.
Amit MohantyRank #112 · 20K reputationPosted Nov 2, 2022, 12:48 AM EDT
A .NET runtime is a software component that implements the execution model of a programming language, which provides a type system, assembly loading, a garbage collector, native interop and other basic services. This is the "virtual machine" that hosts/runs the application and abstracts all the interaction with the base operating system.
The SDK includes everything we need to build and run .NET Core applications, such as the CLI and a compiler, using command-line tools and any editor (like Visual Studio). The runtime is also included in the SDK
In short, the runtime will allow your OS to run compiled your programs, and the sdk will allow you to compile programs.
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Nov 2, 2022, 5:36 AM EDT
The SDK is all of the stuff that is needed/makes developing a .NET Core application easier, such as the CLI and a compiler.
The runtime is the "virtual machine" that hosts/runs the application and abstracts all the interaction with the base operating system.
Only the latter is required to run the application, but the former is needed to develop the application.