.NET Core vs .NET Standard vs .NET Framework

Human Digital
5 min readMar 7, 2022

--

Microsoft’s .Net platform provides a comprehensive environment for developers to create applications. Whether you’re creating an app for the web, desktop, mobile, gaming, AI, or the Internet of Things, .NET contains everything you need to get started.

Understanding the differences between .NET Core, .NET Standard, and .NET Framework is crucial regardless of whether your application is cross-platform or focused on a specific operating system.

So, without further ado, let’s get started.

Table of contents

  1. What is .NET?
  2. What is .NET Framework?
  3. What is .NET Core?
  4. What is .NET Standard?
  5. .NET Framework vs .NET Core
  6. .NET Framework and .NET Core vs .NET Standard
  7. Conclusion

What Is .NET?

Before we deep dive into .NET Core, .NET Standard, or even .NET Framework, it is important to understand what .NET is.

.NET is a cross-platform programming language that may be used to create online, cloud, mobile, and desktop applications. You can also use it to create artificial intelligence, gaming, and IoT apps. .NET is open source and extremely adaptable, allowing developers to create a variety of applications efficiently.

The .NET ecosystem has a single runtime, library, tools, and language compilers, and it is a unified platform. In .NET, you can write programs in a variety of languages, including F#, C#, and Visual Basic.

Developers must ensure that their software and applications work on all devices when they create them. The diversity is unlimited with so many platforms like Linux, Windows, and Mac, as well as devices like tablets, smartphones, laptops, and desktops. .NET simplifies this by providing a uniform platform for software development across all platforms and devices.

What is .NET Framework?

The .NET Framework is typically an execution environment that offers a number of services to its running applications, as well as a large class library for writing various applications.

The .NET Framework is made up of two key parts:

  • The CLR (Common Language Runtime) is a program that manages the execution of applications.
  • BCL stands for Base Class Library, and it is a library of proven and reusable code that developers can utilize in their projects.

Any .NET compatible language’s code is compiled into a special language called Intermediate Language (IL) and is stored in assembly files with the .dll or .exe file extension.

When an application runs, the CLR converts the assembly to machine code via a technique known as just-in-time (JIT) compilation.

Many services are provided by the.NET Framework to its running applications. Memory management, a common type system, and language interoperability are all included.

What is .NET Core?

Software development patterns have evolved dramatically in recent years thanks to the rise of various gadgets and cloud computing. For various platforms, a great variety of software and services are now being produced. As a result, even Microsoft began building a new framework that could meet the needs of both current and future software development.

Thus, they created the .NET Core framework. It’s an open-source, cross-platform .NET implementation. Many of its qualities are similar to those of the .NET Framework, but there are some distinctions that we will understand later in the blog.

Class libraries, runtimes, compilers, languages, and application frameworks are all open-source components of .NET Core. C#, Visual Basic, and F# are also supported by .NET Core. It can run the application code on several architectures, including x64, x86, and ARM, with the same behavior.

It features a flexible deployment approach that allows it to be integrated into an application or placed beside it (user-wide or system-wide). Docker may also be utilized with .NET Core. It also contains command-line tools for local development and, more importantly, for continuous integration.

In summary, a lot of new features and upgrades are now being implemented in.NET Core. The .NET Framework, on the other hand, is still being developed, but at a much slower pace.

What is .NET Standard?

The .NET Standard is a standard (not a .NET implementation) that specifies the set of APIs that must be provided by all .NET implementations. By bringing APIs across diverse settings, it solves the challenge of code sharing for.NET developers across all platforms.

It’s similar to the .NET Framework, except that it’s exclusively used to create class libraries.

The portable class library has been replaced by .NET Standard. This means the APIs that must be implemented are defined by the .NET Standard. The .NET Standard is available in several versions.

.NET Framework vs .NET Core

First, we will summarize the differences between .NET Framework and the .NET core. Post this, we will see how they both are different from .NET Standard.

  • The .NET Framework is the first version of .NET that only runs on Windows.
  • Although the source code is open to the public, Microsoft does not accept third-party additions.
  • It includes Windows Forms and WPF, as well as a very sophisticated desktop top development platform for Windows.
  • It also has access to a large third-party package library.
  • The in-app deployment model is not supported.
  • It can be used with a Docker container, but its image is huge and can only be deployed on Windows containers.
  • .NET Core is the most recent version of .NET that works on Windows, Linux, and macOS. It is open-source, and Microsoft accepts contributions from third parties.
  • Since version 3.0, it has supported desktop frameworks like Windows Forms and WPF.
  • .NET Core also supports a huge number of third-party packages, but it still falls short of the .NET Framework in this regard.
  • It is compatible with the in-app deployment model.
  • Working with Docker containers is the best option.

.NET Framework and .NET Core vs .NET Standard

Let us now compare .NET Framework and .NET Core with .NET Standard.

.NET Framework and .NET Core

  • The .NET Framework and .NET Core are two examples of .NET implementations.
  • Both frameworks contain a runtime that controls how applications are executed.
  • Both frameworks use the same basic class library.
  • In any framework, we can construct a variety of projects.
  • The .NET Standard is a specification, not a runtime environment.
  • It defines a set of APIs that all .NET implementations must support.
  • It can only be used to construct class library projects.

Conclusion

In this post, you have got a conceptual brief about the differences between .NET Core, .NET Standard, and .NET Framework. This should help you clearly differentiate between them the next time someone asks what these terms are.

If you want to read more articles about .NET, take a look at our website for more publications: https://www.partech.nl/en/publications

Originally published at https://www.partech.nl.

--

--

Human Digital

The people first agency. Digitale oplossingen, professionals en trainingen waarin de mens altijd voorop staat | humandigital.nl