The difference between .net core and .net
The difference between .net core and .net
To put it simply, they are both implementations of the interfaces defined by .net standard, and they are all sons of .net standard.
C# is a programming language that allows you to create programs with new features in version 7.
.Net Standard is a rule (well, a standard) by which libraries should be built to understand each other.
Portable class libraries are special versions of libraries that can be used by .NetFramework or .Net Core.
.Net Core is a universal .Net-like framework with a different architecture, supporting .Net Standard starting from v1.6, so it cannot easily interact with earlier versions of .Net.
.Net 4.7 is the new version of .Net Framework which also supports .Net Standard 1.6 so it can interact with .Net Core applications.
The announced .Net Standard 2.0 will provide a common platform for .Net Framework, .Net Core, Xamarin and more to run on.
.NET Core & .NET Framework are both implementations of NET Standard Library. One is cross-platform, and the other is unique to Windows. In addition to implementing NET Standard Outside the Library, .NET Core and .NET Framework have their own unique implementations. .NET Standard Library is the key to cross-operating systems. It defines a set of interfaces, and each operating system has its own implementation. .NET Core can dynamically download the implementation of the current operating system through nuget, thus achieving cross-operating systems (cum Sharing code across operating systems). .NET Core relies more on Nuget, allowing local applications to dynamically download required class libraries during deployment. The .NET Framework needs to be pre-installed in the system.
In this way, the deployment of .NET Core is simpler, faster and lighter than the .NET Framework.ASP.NET Core exists in two forms:
ASP.NET Core Web Application (.NET Core)
ASP.NET, which depends on .NET Core, can only call the API of .NET Core and can run on multiple operating systems.
(You can see the Reference Manager in the lower half of the picture below, there is no library in the .NET Framework in the assemblies)ASP.NET Core Web Application(.NET Framework)
ASP.NET that depends on .NET Core & .NET Framework can call the API of .NET Core&.NET Framework and can only run under Windows
.NET Core & Mono
Mono is an implementation of the open source version of the .NET Framework. It is very similar to .NET Core in some features, such as open source and cross-operating systems. At present, .NET CORE will learn from Mono's experience and develop and eventually be able to run better on other operating systems besides Windows. In addition, Mone supports more App Models than .NET Core (such as Windows Forms).
The above is the detailed content of The difference between .net core and .net. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Whether you are a beginner or an experienced professional, mastering C# will pave the way for your career.

The development of artificial intelligence (AI) technologies is in full swing today, and they have shown great potential and influence in various fields. Today Dayao will share with you 4 .NET open source AI model LLM related project frameworks, hoping to provide you with some reference. https://github.com/YSGStudyHards/DotNetGuide/blob/main/docs/DotNet/DotNetProjectPicks.mdSemanticKernelSemanticKernel is an open source software development kit (SDK) designed to integrate large language models (LLM) such as OpenAI, Azure

If you are a .NET developer, you must be aware of the importance of optimizing functionality and performance in delivering high-quality software. By making expert use of the provided resources and reducing website load times, you not only create a pleasant experience for your users but also reduce infrastructure costs.

In terms of high-concurrency request processing, .NETASP.NETCoreWebAPI performs better than JavaSpringMVC. The reasons include: AOT early compilation, which reduces startup time; more refined memory management, where developers are responsible for allocating and releasing object memory.

C#.NET interview questions and answers include basic knowledge, core concepts, and advanced usage. 1) Basic knowledge: C# is an object-oriented language developed by Microsoft and is mainly used in the .NET framework. 2) Core concepts: Delegation and events allow dynamic binding methods, and LINQ provides powerful query functions. 3) Advanced usage: Asynchronous programming improves responsiveness, and expression trees are used for dynamic code construction.

C# is a modern, object-oriented programming language developed by Microsoft and as part of the .NET framework. 1.C# supports object-oriented programming (OOP), including encapsulation, inheritance and polymorphism. 2. Asynchronous programming in C# is implemented through async and await keywords to improve application responsiveness. 3. Use LINQ to process data collections concisely. 4. Common errors include null reference exceptions and index out-of-range exceptions. Debugging skills include using a debugger and exception handling. 5. Performance optimization includes using StringBuilder and avoiding unnecessary packing and unboxing.

C#.NETisversatileforbothwebanddesktopdevelopment.1)Forweb,useASP.NETfordynamicapplications.2)Fordesktop,employWindowsFormsorWPFforrichinterfaces.3)UseXamarinforcross-platformdevelopment,enablingcodesharingacrossWindows,macOS,Linux,andmobiledevices.

Interview with C# senior developer requires mastering core knowledge such as asynchronous programming, LINQ, and internal working principles of .NET frameworks. 1. Asynchronous programming simplifies operations through async and await to improve application responsiveness. 2.LINQ operates data in SQL style and pay attention to performance. 3. The CLR of the NET framework manages memory, and garbage collection needs to be used with caution.
