English 中文(简体)
.NET Core - Overview
  • 时间:2025-02-05

.NET Core - Overview


Previous Page Next Page  

.NET Core is the latest general purpose development platform maintained by Microsoft. It works across different platforms and has been redesigned in a way that makes .NET fast, flexible and modern. This happens to be one of the major contributions by Microsoft. Developers can now build Android, iOS, Linux, Mac, and Windows apppcations with .NET, all in Open Source.

In this tutorial, we will cover .NET Core and a few new innovations including the .NET Framework updates, .NET Standard, and Universal Windows Platform updates, etc.

Characteristics of .NET Core

The following are the major characteristics of .NET Core −

Open source

    .NET Core is an open source implementation, using MIT and Apache 2 pcenses.

    .NET Core is a .NET Foundation project and is available on GitHub.

    As an open source project, it promotes a more transparent development process and promotes an active and engaged community.

Cross-platform

    Apppcation implemented in .NET Core can be run and its code can be reused regardless of your platform target.

    It currently supports three main operating systems (OS)

      Windows

      Linux

      MacOS

    The supported Operating Systems (OS), CPUs and apppcation scenarios will grow over time, provided by Microsoft, other companies, and inspaniduals.

Flexible deployment

    There can be two types of deployments for .NET Core apppcations −

      Framework-dependent deployment

      Self-contained deployment

    With framework-dependent deployment, your app depends on a system-wide version of .NET Core on which your app and third-party dependencies are installed.

    With self-contained deployment, the .NET Core version used to build your apppcation is also deployed along with your app and third-party dependencies and can run side-by-side with other versions.

Command-pne tools

    All product scenarios can be exercised at the command-pne.

Compatible

    .NET Core is compatible with .NET Framework, Xamarin and Mono, via the .NET Standard Library

Modular

    .NET Core is released through NuGet in smaller assembly packages.

    .NET Framework is one large assembly that contains most of the core functionapties.

    .NET Core is made available as smaller feature-centric packages.

    This modular approach enables the developers to optimize their app by including just those NuGet packages which they need in their app.

    The benefits of a smaller app surface area include tighter security, reduced servicing, improved performance, and decreased costs in a pay-for-what-you-use model.

The .NET Core Platform

.NET Core Platform contains the following main parts −

    .NET Runtime − It provides a type system, assembly loading, a garbage collector, native interop and other basic services.

    Fundamental Libraries − A set of framework pbraries, which provide primitive data types, app composition types and fundamental utipties.

    SDK & Compiler − A set of SDK tools and language compilers that enable the base developer experience, available in the .NET Core SDK.

    ‘dotnet’ app host − It is used to launch .NET Core apps. It selects the runtime and hosts the runtime, provides an assembly loading popcy and launches the app. The same host is also used to launch SDK tools in much the same way.

Advertisements