.Net Core Introduction

by | Sep 6, 2023 | .Net Core, Learn | 0 comments

INTRODUCTION

.NET Core is a modern, cross-platform, and open-source development platform developed and maintained by Microsoft. It provides developers with a fast, flexible, and modular framework for building applications for Windows, Linux, macOS, iOS, and Android.

In this article, we’ll take a look at the characteristics of .NET Core, its platform components, and some of its new innovations.

CHARACTERISTICS OF .NET CORE

Here are some of the major characteristics of .NET Core:

  1. Open Source: .NET Core is an open-source framework, licensed under MIT and Apache 2 licenses. It is a .NET Foundation project and is available on GitHub, promoting a more transparent development process and an active and engaged community.
  2. Cross-Platform: Applications developed using .NET Core can be run and its code can be reused across different platforms, including Windows, Linux, and macOS.
  3. Flexible Deployment: .NET Core supports two types of deployment: framework-dependent and self-contained. With framework-dependent deployment, your app depends on a system-wide version of .NET Core. With self-contained deployment, the .NET Core version used to build your application is also deployed along with your app and third-party dependencies. Read More..
  4. Command-Line Tools: All product scenarios can be exercised at the command-line.
  5. Compatible: .NET Core is compatible with .NET Framework, Xamarin, and Mono, via the .NET Standard Library.
  6. Modular: .NET Core is released through NuGet in smaller assembly packages, enabling developers to optimize their app by including just those NuGet packages which they need in their app.

THE .NET CORE PLATFORM

The .NET Core Platform contains the following main parts:

  1. .NET Runtime: It provides a type system, assembly loading, a garbage collector, native interop, and other basic services.
  2. Fundamental Libraries: A set of framework libraries, which provide primitive data types, app composition types, and fundamental utilities.
  3. SDK & Compiler: A set of SDK tools and language compilers that enable the base developer experience, available in the .NET Core SDK.
  4. ‘dotnet’ App Host: It is used to launch .NET Core apps. It selects the runtime and hosts the runtime, provides an assembly loading policy, and launches the app. The same host is also used to launch SDK tools in much the same way.

Revision Notes:

Cross-platform support: .NET Core allows developers to create applications that run on multiple operating systems, including Windows, Linux, and macOS.

Open-source: .NET Core is open-source, which means its source code is freely available for anyone to view, modify, or distribute.

Command-line tools: Developers can use command-line tools to create and manage .NET Core applications.

High-performance: .NET Core is designed for high performance and can handle large workloads efficiently.

Cloud-ready: .NET Core works well in cloud environments, and can easily be deployed to platforms such as Azure.

Easy to deploy: .NET Core applications can be deployed as self-contained executables or framework-dependent executables, making them easy to deploy and run on various systems.

Containerization support: .NET Core works well with containerization technologies such as Docker, allowing developers to easily package and deploy their applications in a container.

Compatibility with .NET Framework: .NET Core is compatible with .NET Framework, which allows developers to migrate their existing .NET Framework applications to .NET Core.

Community-driven: .NET Core has a large and active community of developers who contribute to its development and provide support for other developers.

0 Comments

Related Posts

Delegates in C#: Complete tutorial

Learn Delegates c# In C#, a delegate is a type that represents references to methods with a particular parameter list and return type. Delegates provide a way to encapsulate a method, and they are often used for defining callback methods and implementing event...

Inheritance in C# oops complete guide

Inheritance Table of content: Topics1Why i wrote this article2Inheritance - complete guide3All possible scenarios based/ tricky in/out type of Interview questions Why i wrote this article? When I was preparing c#/oops, the main challenge was information was scattered...

Learn Angular Directives

Angular Directives Angular directives are an essential part of the Angular framework, allowing you to extend the HTML vocabulary to build dynamic and interactive web applications. There are three main types of directives in Angular: Components: Components are the most...

.Net Core Garbage Collector

Garbage collection   Garbage collection (GC) in .NET Core is an automatic memory management technique that reclaims unused memory. It simplifies memory management for developers and reduces memory leaks and bugs.   The GC identifies and collects objects that...

Most Useful Git Commands

Git commands you should know: git init: Initializes a new Git repository in the current directory. git clone [repository_url]: Creates a copy of a remote repository on your local machine. git add [file]: Stages changes for commit. You can use git add . to stage all...

.Net Framework Basics CLR CTS CTS MSIL

CLR (Common Language Runtime) Responsible for program execution in .Net Framework Some crucial role of CLR- Memory Management: The CLR is responsible for managing memory allocation and deallocation in .NET applications. It includes automatic memory management through...

Delegates in C#: Complete tutorial

Learn Delegates c# In C#, a delegate is a type that represents references to methods with a particular parameter list and return type. Delegates provide a way to encapsulate a method, and they are often used for defining callback methods and implementing event...

Inheritance in C# oops complete guide

Inheritance Table of content: Topics1Why i wrote this article2Inheritance - complete guide3All possible scenarios based/ tricky in/out type of Interview questions Why i wrote this article? When I was preparing c#/oops, the main challenge was information was scattered...

Learn C# oops Polymorphism

Polymorphism Simplifying Polymorphism in C# with Examples Polymorphism is a fundamental concept in object-oriented programming (OOP), and it can be understood more easily by breaking it down into its key components. What is Polymorphism? At its core, polymorphism...

Learn Angular Directives

Angular Directives Angular directives are an essential part of the Angular framework, allowing you to extend the HTML vocabulary to build dynamic and interactive web applications. There are three main types of directives in Angular: Components: Components are the most...

.Net core Fun FACTS to choose other backend but NOT .Net Core

Funny Excuses to Avoid Learning and Using .NET Core for Your Next Backend Web API (And Why You Should Consider Node.js and Other Popular Alternatives Instead) In the world of backend web development, there are numerous technologies to choose from. One option that...

.Net Core Garbage Collector

Garbage collection   Garbage collection (GC) in .NET Core is an automatic memory management technique that reclaims unused memory. It simplifies memory management for developers and reduces memory leaks and bugs.   The GC identifies and collects objects that...

Most Useful Git Commands

Git commands you should know: git init: Initializes a new Git repository in the current directory. git clone [repository_url]: Creates a copy of a remote repository on your local machine. git add [file]: Stages changes for commit. You can use git add . to stage all...

Commonly used commands for .net Core Good to remember

Most userful commands for .net Core. Good to remember. dotnet new: This command is used to create a new project based on a specified template. It generates the basic structure and files required for a .NET Core application. Example: dotnet new console dotnet clean:...

.Net Framework Basics CLR CTS CTS MSIL

CLR (Common Language Runtime) Responsible for program execution in .Net Framework Some crucial role of CLR- Memory Management: The CLR is responsible for managing memory allocation and deallocation in .NET applications. It includes automatic memory management through...

.Net Core vs .Net Framework differences

CLR vs Core CLR What is CoreCLR The CoreCLR provides many similar functionalities as the CLR, but it is specifically designed for the cross-platform nature of .NET Core. General CLR feature includes features like Just-In-Time (JIT) compilation, garbage collection,...

Understand Middleware in .Net Core

Middleware is a piece of software that handles http request and response. In simple term, .net core works with middleware in order to enhance performance of our application rather than having big chunk of framework component/ libraries at once, for which most of the...

Learn How .Net Core Hosting Works

Hosting In .NET CoreIn ASP.NET Core, there are two hosting models available: in-process hosting and out-of-process hosting.In-process Hosting (Default): In the in-process hosting model, a single web server (e.g., IIS) is used directly to host the application. To...