|
What is. Net .Net itself is a platform implemented based on the Common Language Infrastructure (CLI) independent public language development platform, but since it became a specification in 2006, only Windows itself supports it (except for mono), including the development languages C#, VB. Net, etc., as well as CLI implementations, .Net Framework. At its core is the implementation of the Virtual Execution System (VES) based on the Windows CLI. It should be equivalent to a virtual machine for Java. C# development. Why can't Net App be cross-platform? The Common Language Infrastructure (CLI) itself is designed for cross-platform. But at the beginning, Microsoft should have been out of Windows monopoly considerations, and had no intention of implementing VES based on other OS, so C# developers are basically Windows developers. The application system developed by C# is basically based on the Windows platform. What is .Net Core and how does it work cross-platform? In fact, as long as the CLI is implemented based on Linux, mainly its VES, apps developed in C# can run on Linux. Of course, due to the past. Net Framework provides many UI frameworks specific to Windows such as WPF and Windows Forms, and apps based on these frameworks can only theoretically run on Linux, but the actual cost of supporting them will be relatively high, perhaps not realistic at all. So, .Net Core was born. Net Core is a cropping of the .Net Framework (removing the UI-related frameworks mentioned above), implementing a CLR similar to JRE, and then implementing VES for multiple OS at the same time, thus achieving cross-platform. Why does Microsoft need . Net Core The reason why Microsoft is willing to do this is, to some extent, forced, or in line with the trend of history. In the current "cloud" environment, thanks to Azure, Microsoft has smoothly transformed from a weakened Windows business to a cloud service provider. As one of the cloud service models it provides, PaaS must be able to provide the OS that customers need, not just Windows. Of course, it wants the different operating systems on Azure to run applications developed using the development technology it provides. Will .Net Core be a bright future? However, the virtual execution environment enables cross-platform operation of developed applications, which JAVA has done since its inception. And today, many language rookies are competing for beauty, and JAVA, which was acquired by Oracle, is getting older and older. . . C# can really rely on it to achieve cross-platform. Net Core glows with a second spring? reference CLI Specification http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-335.pdf
|