Both .NET Framework and .NET Core are software development frameworks created by Microsoft. They provide a set of tools, libraries, and components to help developers create a wide range of applications.
.NET Framework
It is introduced in 2002. The .NET Framework is a software development platform for building applications primarily for Windows. It includes a large class library, known as the Framework Class Library (FCL), and provides support for languages like C#, VB.NET, and F#.
Important Features
- Mainly used for Windows applications (like desktop software and websites).
- Includes built-in libraries to make coding easier.
- It works only on Windows.
.NET Core
It is introduced in 2016. .NET Core is a cross-platform version of the .NET framework. It was introduced to allow developers to create applications that can run on Windows, macOS, and Linux. It’s an open-source and more lightweight framework compared to the .NET Framework.
Important Features
- We can build apps for multiple operating systems.
- It’s faster and more modern than .NET Framework.
Differences Between .NET Framework and .NET Core
Overview of .NET Framework and .NET Core – Interview Questions
Q 1: What is .NET Framework?
Q 2: What is .NET Core?
Q 3: Is .NET Core faster than .NET Framework?
Q 4: Can we run .NET Framework on Linux?
Q 5: What is CLR?
Overview of .NET Framework and .NET Core – Objective Questions (MCQs)
Q1. The .NET Framework primarily runs on which platform?
Q2. Which of the following is cross-platform and open source?
Q3. CLR stands for:
Q4. Which runtime environment does .NET Core use?
Q5. What is the main advantage of .NET Core?