How to use open-source. Net and open-source. Net

Source: Internet
Author: User
Tags building windows

How to use open-source. Net and open-source. Net
. NET is a cross-platform development stack. It has a Standard Library called. NET Standard Library, which contains a large number of APIs. This standard library is implemented by various. NET runtime environments:. NET Framework,. NET CoreAndXamarin-flavored Mono. 1:. NET FrameworkIs the. NET Framework that is used by existing developers. It implements. NET Standard Library, that is, any code that only depends on. NET Standard Library can run on. NET Framework. It includes other Windows-specific APIs, such as APIs for Windows desktop development, such as Windows Forms and WPF .. NET Framework is optimized for building Windows desktop applications.
2:. NET CoreIt is a new cross-platform runtime environment optimized for server workloads. It implements. NET Standard Library, that is, any code that uses. NET Standard Library can run on. NET Core. This running environment is suitable for the use of the new Web development stack ASP. NET Core. It is modern and efficient and designed to handle large-scale servers and cloud workloads.
3:Xamarin-flavored MonoIs the runtime environment of Xamarin applications. It implements the. NET Standard Library, that is, any code that relies only on the. NET Standard Library can run on the Xamarin application. It contains other APIs used for iOS, Android, Xamarin. Forms, and Xamarin. Mac. It optimizes the construction of mobile applications on iOS and Android. When talking about the problem of selecting the runtime environment, the selection method should be as follows:
1:. NET Framework is a Windows-centered Framework that provides the best services for Windows developers. If you are building a Windows-centered application, please select it.
2:. NET Core is a cloud Optimization engine, which is cross-platform. It uses the same high-performance JIT compiler, but runs code on all supported operating systems (Windows, Linux, and macOS. It does not have a specific Windows APIs because it is contrary to the cross-platform goal.
3: Mono is a running environment for mobile apps and Apple platforms (Android, iOS, watchOS, and tvOS). It is used for game controllers and Unix desktop applications. What should be used for your new project? It depends on your needs. Windows desktop applications? Please use. NET Framework, just as you have always done before. Server or Web application? Use ASP. NET Core to run on. NET Core. Mobile applications? Use Xamarin. Class Library and NuGet package? Use. NET StandardLibrary.Using a standard library is important for sharing code across all your applications.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.