


.NET Core Quick Start Tutorial 1. The beginning: Talking about .NET Core
May 07, 2025 pm 04:54 PM1. 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. http://ipnx.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.
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: http://ipnx.cn/link/8fc00922bc09442f10ff8a8be0973604 Quickly get started with CentOS: http://ipnx.cn/link/cd3b6e78242b4c8faa986194ba2bfc58 Quick get started with Ubuntu: http://ipnx.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!

Hot AI Tools

Undress AI Tool
Undress images for free

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

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

ArtGPT
AI image generator for creative art from text prompts.

Stock Market GPT
AI powered investment research for smarter decisions

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)

Windows 11 can enable the taskbar clock to display seconds through settings, registry, command line, or third-party tools. 1. Turn it on in settings: Go to Personalization → Taskbar → Taskbar Behavior and turn on "Show seconds in system tray clock"; 2. Registry modification: Create a new DWORD value ShowSecondsInSystemClock under HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced and set it to 1; 3. Command line execution: Run PowerShell as an administrator and enter regaddHKCU\Softw

1. Refreshing the DNS cache can solve the problem of web pages failing to load or domain name resolution errors. 2. Execute ipconfig/flushdns through the command prompt to clear the system DNS cache. 3. Run the command prompt as an administrator and restart the DNSClient service (netstopdnscache and netstartdnscache) to restore service functions. 4. Visit chrome://net-internals/#dns in the Chrome browser and click "Clearhostcache" to clear the browser's independent DNS cache. 5. Changing the DNS server to 8.8.8.8 and 8.8.4.4 can improve the resolution speed and accuracy.

IfanolderapphasissuesonWindows11,usecompatibilitymode:runthebuilt-introubleshooter,manuallyselectapastWindowsversion,enableadministratorrights,oradjusthigh-DPIsettingsforbetterdisplayandperformance.

Screen tearing is caused by the graphics card frame rate being out of sync with the monitor refresh rate, which can be solved by enabling windowed optimization, turning off full-screen optimization, setting vertical sync, calibrating the refresh rate, and turning off automatic HDR.

Use -v or --mount to mount the host file to the Docker container. Make sure the file exists and the path is correct, for example: dockerrun-v/home/user/app.conf:/app/app.confnginx.

IfyourWindowsPCisslow,trydiskdefragmentation:1.Usethebuilt-inDefragmenttooltoanalyzeandoptimizedrives.2.Scheduleautomaticoptimizationweeklyormonthly.3.UseCommandPromptwithadminrightsforadvancedcontrolviadefragcommands.

IfairplanemodeisstuckonyourWindowsdevice,trythesesteps:1.ToggleitviaActionCenter.2.RestarttheWLANAutoConfigservice.3.Updateorreinstallnetworkdrivers.4.RuntheNetworkAdapterTroubleshooter.5.Checkphysicalswitchesorfunctionkeys.6.Resetnetworksettingsusin

ToquicklylaunchappsinWindows,enableappexecutionaliasesinSettingsunderApps>Installedapps.UsetheRundialog(Win R)withaliasnameslike"notepad"or"wt.exe".Forcustomshortcuts,addentriesintheWindowsRegistryunderAppPathsorincludeappdirec
