search
HomeSystem TutorialWindows Series.NET Core Quick Start Tutorial 1. The beginning: Talking about .NET Core

.NET Core Quick Start Tutorial 1. The beginning: Talking about .NET Core

May 07, 2025 pm 04:54 PM
linuxpythoncentosdockerwindowsthe difference.netstandard library

1. The origin of .NET Core

When it comes to .NET Core, we must not mention its predecessor.NET. Java was in the limelight at that time, and Microsoft also favored Java. The Java virtual machine on the Windows platform was developed by Microsoft based on JVM standards. It is said to be the best performance Java virtual machine at that time. However, Microsoft has its own little abacus, trying to bundle Java with the Windows platform and add some Windows-specific features. Sun's dissatisfaction with this led to a breakdown of the relationship between the two parties, and Microsoft then launched .NET. .NET has borrowed many features of Java since its inception and gradually surpassed Java in language features and form development. Java developed slowly after version 1.6, and later borrowed from .NET in language features, partly due to Sun's poor performance. https://www.php.cn/link/7337bc5b4a00fa2ee237cf50a57b288d

Although .NET has been developing well and competitive frameworks such as WPF and Unity3D have emerged, .NET is not popular in some large projects, especially Internet companies. This is because .NET is not open source or cross-platform, which leads to the following problems:

Cost: Choosing .NET means choosing Visual Studio and Windows Server, and the license fee is a cost that cannot be ignored. Ecology: Without community contribution, .NET is difficult to nurture an excellent framework. Talent: It is impossible to attract excellent engineers from front-line Internet companies because they prefer to use Java, PHP, etc. Although there is a powerful framework like Mono that allows .NET to run on Linux, this is not enough because Mono can only play some of the functions of .NET. In addition, with the rise of container technology, the strong dependence of .NET and Windows makes it difficult to adapt to new technologies such as Docker. In short, due to the situation, Microsoft launched .NET Core.

2. The difference between .NET Core and .NET Framework. .NET Core is an open source and cross-platform version of .NET Framework. Although .NET Core is an open source version of the .NET Framework, Microsoft cannot maintain two different branches at the same time, one running on Windows and the other running on Linux (Unix Like) systems. Therefore, Microsoft abstracted a standard library, and both .NET Core and .NET Framework must implement the API of this standard library. In this way, .NET Core, .NET Framework and XAMARIN become three brothers, serving different platforms respectively.

.NET Core Quick Start Tutorial 1. The beginning: Talking about .NET Core Now the preview version of .NET Core 2.0 has been released, and .NET Core 2.0 is basically equivalent to .NET Framework 4.6.1. It took only one year to release version 1.0 in June 2016 to release version 2.0 in June 2017. Microsoft's efforts can be seen.

3. What preparations do you need to make to learn .NET Core? Basic programming experience (.NET, Java, Python, etc. are all possible) Windows / Mac as a development environment (it is recommended to use Windows, because the development environment is Windows, and the operation will be different in different environments) IDE: Visual Studio 2017 / Visual Studio Code Linux basic use (recommended CentOS and Ubuntu) Virtual machine installation tutorial: https://www.php.cn/link/8fc00922bc09442f10ff8a8be0973604 Quickly get started with CentOS: https://www.php.cn/link/cd3b6e78242b4c8faa986194ba2bfc58 Quick get started with Ubuntu: https://www.php.cn/link/32926f6c2eba28e293a6afa008a09f0a If you really don't have the conditions to build a Linux environment, Windows can do it, but it is not recommended.

The above is the detailed content of .NET Core Quick Start Tutorial 1. The beginning: Talking about .NET Core. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
This Limited-Edition 'Skeleton” HDD Shows You How It Writes BytesThis Limited-Edition 'Skeleton” HDD Shows You How It Writes BytesMay 08, 2025 pm 09:04 PM

The HD-SKL, a limited-edition hard drive, is a modern take on Buffalo's 1998 Skeleton Hard Disk. The original, a 4.3GB drive with a clear acrylic case, was produced in a limited run of 500 units. While Buffalo cites its 1978 Melco 3533 turntable as

The New Surface Pro Doesn't Feel ProThe New Surface Pro Doesn't Feel ProMay 08, 2025 am 06:01 AM

The new Surface Pro: A step back? Microsoft's latest Surface Pro offers connectivity via two USB-C ports, supporting charging, USB 3.2 data transfer, and DisplayPort 1.4a (up to two 4K monitors at 60Hz). However, the device ships without a power ad

Microsoft Challenges the MacBook Air With New Surface LaptopMicrosoft Challenges the MacBook Air With New Surface LaptopMay 08, 2025 am 03:02 AM

Microsoft's latest Surface Laptop aims to rival the MacBook Air, but with some notable compromises. The absence of a Surface Connect port marks a significant departure from previous models, reflecting the growing prevalence of Thunderbolt and USB do

Solve the problem that the svn plugin in eclipse always prompts for password inputSolve the problem that the svn plugin in eclipse always prompts for password inputMay 07, 2025 pm 05:03 PM

1. Background Recently, when using the svn plug-in to manage remote warehouse code in eclipse, prompts to enter passwords are always prompted to enter passwords, which is particularly annoying. After hard work, I finally solved the problem and shared it with you~ 2. Analysis of the password mechanism of the svn plug-in and the cause of the problem. When we use the svn plug-in for the first time and enter the password, a file that saves the password will be generated, and then the svn plug-in will read the username and password information by default every time. When eclipse is started, the configuration information will be automatically read into the program cache. After the password of svn is modified, it is impossible to log in again, and there is no prompt to re-enter the password. At this time, we can delete the relevant configuration files and let the svn plugin prompt us to re-enter the password. However, ec

How to restore the win8 system details stepsHow to restore the win8 system details stepsMay 07, 2025 pm 05:00 PM

The steps to start system restore in Windows 8 are: 1. Press the Windows key X to open the shortcut menu; 2. Select "Control Panel", enter "System and Security", and click "System"; 3. Select "System Protection", and click "System Restore"; 4. Enter the administrator password and select the restore point. When selecting the appropriate restore point, it is recommended to select the restore point before the problem occurs, or remember a specific date when the system is running well. During the system restore process, if you encounter "The system restore cannot be completed", you can try another restore point or use the "sfc/scannow" command to repair the system files. After restoring, you need to check the system operation status, reinstall or configure the software, and re-back up the data, and create new restore points regularly.

'Modern Operating System Original Book 3rd Edition''Modern Operating System Original Book 3rd Edition'May 07, 2025 pm 04:57 PM

"Modern Operating Systems (English Edition 3rd Edition)" is a classic work written by Professor Tanenbaum. With his profound experience in the design of three operating systems, the book perfectly integrates theory and practice. The third edition of the book explores a number of topics in depth, such as process, threading, storage management, file systems, I/O deadlock, interface design, multimedia, performance trade-offs, and introduces the latest trends in operating system design. The book not only explains the principles and practices of modern operating systems in detail, but also pays special attention to Linux operating systems, Windows Vista operating systems, embedded operating systems, real-time operating systems and multimedia operating systems. Covering Windows Vista and the latest Linux/Unix operations

.NET Core Quick Start Tutorial 1. The beginning: Talking about .NET Core.NET Core Quick Start Tutorial 1. The beginning: Talking about .NET CoreMay 07, 2025 pm 04:54 PM

1. The Origin of .NETCore When talking about .NETCore, we must not mention its predecessor .NET. Java was in the limelight at that time, and Microsoft also favored Java. The Java virtual machine on the Windows platform was developed by Microsoft based on JVM standards. It is said to be the best performance Java virtual machine at that time. However, Microsoft has its own little abacus, trying to bundle Java with the Windows platform and add some Windows-specific features. Sun's dissatisfaction with this led to a breakdown of the relationship between the two parties, and Microsoft then launched .NET. .NET has borrowed many features of Java since its inception and gradually surpassed Java in language features and form development. Java in version 1.6

Solve the problem that the 80 port under Windows 10 is occupied by the System with PID 4Solve the problem that the 80 port under Windows 10 is occupied by the System with PID 4May 07, 2025 pm 04:51 PM

1. Background Recently, out of curiosity, I updated the Windows 10 system, which is very easy to operate and the experience is quite good. However, when developing in IDEA, when starting the project using port 80, it is found that the port has been occupied. After some attempts, I found a solution and I will share it with you. 2. Solution steps 1. Check the process number PID that occupies port 80 by executing the netstat-ano|findstr "80" command. 2. Since port 80 is occupied by system services, the process cannot be terminated directly. Therefore, use the netshhttpshowservicestate command to view the current HTTP service status. The result is as shown in the figure: from the figure

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools