Wonderful. NET 2015

Source: Internet
Author: User
Tags dotnet

Understanding translation for understanding or understanding, for. NET, 2015 is destined to be more exciting, so the title uses the word "wonderful", translated this article for two reasons: learn English, and follow the author review of last year's. NET.

After last year's BUILD conference, I wrote an article exciting times for. NET, and since then I've been having fun working in the. NET team, including runtime, framework, languages, and compilers. Although during the past year, my focus has been on internal communities, such as arranging internal meetings for our colleagues, I have also spent some time helping. NET Foundation Build and learn some of the content of the open source community and. NET Foundation projects. Oh, yes, I'm married, too,:-). This is a transition period for me, from the community of "evangelists" more and more become the "coordinator" or "connector", I really like Alex Hillman's Term:tummler.

Now that we are approaching the next BUILD, I am very excited about the progress we have made, especially around the. NET platform itself, and the way the team is going to open source, and more complex things will happen, so I want to write a higher level of "event stickers" to help you understand some of the main parts, and know how to participate in the project, in other words, this is learning. NET 20,151 A good start, at least, this is my hope!

. NET 2015–10,000 Foot View (10,000 ft aerial view)

The following are the main components of ". NET 2015":

It is important to note that the three key components of. NET Core are:

    1. . NET Change – Keeping the platform moving forward and innovating, we are modernizing every layer, including: languages, compilers, base class libraries, application models, runtimes, and tools.
    2. Open source – Our work processes remain open and constantly developed to help nurture a vibrant. NET community.
    3. Cross-platform – because our customers are increasingly looking for cross-platform support, we cross-platform.
The main composition of. NET 2015 frameworks and runtimes

The. NET Framework is a management execution environment that provides a variety of services for running applications. It includes two major components: the common language Runtime (CLR), which is used to process the execution engine that is running the application, and the. NET Framework class Library, which provides testing, reusable code that developers can invoke from their own applications.

The. NET Framework 4.6 builds on the 4.5.2 version, which contains new APIs, improved event tracking, and fixes for some bugs. This is the next version of the complete. NET Framework that we know today. The. NET Framework 4.6 will be included in Windows 10 and will also be rolled out and updated in Windows OSes (Vista and above), see :. NET Framework for Preview.

. NET Core 5 is a common modular framework that can be used across a wide range of application patterns and platforms, and it is open source, modular and component-ready, and supports Microsoft Windows,linux and Mac OSX. This is a set of refactoring base class libraries (COREFX) and runtimes (CORECLR), which includes a new JIT compiler ("RyuJIT"),. NET garbage mechanism, local interop, and some other. NET runtime components. Today,. NET Core is built and running on Windows. In the next few months, we are adding components under Linux and MAC-specific platforms, see: Introducing. NET Core and CoreCLR are now Open Source.

If you only click on a link from this article, it is of course introducing. NET Core,immo explains in great detail why we need it and how it is used.

compilers-compiler

. NET Compiler Platform ("Roslyn") provides the open source C # and Visual Basic compilers, as well as the rich Code Analysis API, which is the same as the API that Visual Studio builds code analysis tools to use. Roslyn produces platform-independent intermediate language (IL) and is used for. NET 2015, including the Framework and Core build. At the time of publishing, the entire. NET Framework will be compiled with Roslyn. There are also key language changes in VB and C #, see: Roslyn on GitHub, also has the F # language and compiler changes, see: F # on GitHub.

"RyuJIT" is the new default immediate (JIT) compiler, which compiles IL into a specific machine language and executes at run time for the first time. For desktop and server-based scenarios, RyuJIT is a fixed version of the previous 64-bit JIT compiler, significantly reducing startup time, which also includes support for SIMD (single instruction, majority), which allows mathematical operations to execute a set of values in parallel, which can provide an acceleration, For some application types that rely on vector operations, see: The next-generation JIT compiler for. NET.

. NET Native, like C + +, compiles C # directly to local machine code execution, so developers continue to benefit from the. NET Framework performance and efficiency. Typically,. NET applications are compiled into intermediate language (IL), and at run time, the JIT compiler compiles the IL to the cost code. In contrast,. NET Native is a ahead-of-time compiler that compiles the application directly to the cost code and contains a small CLR runtime. When compiling using the. Net Native method, the popular Windows Store application starts at up to 60% faster and reduces the memory usage of 15–20%, and universal Windows applications will run on. NET Native (ARM, x86, x64) , see: Compiling Apps with. NET Native.

App models-app model

The application model extends the. NET Framework 4.6 base Class library and. NET Core 5,windows forms, WPF, ASP. NET Web forms, MVC 5, and so on, and the application model that you are familiar with today is the. NET Framework 4 Part of the. 6 is equipped with a number of new features, as well as new language changes, Roslyn compilers and RyuJIT. There are many occurrences in. NET 4.6, see: ASP. Overview–what about Web Forms? , the roadmap for WPF and. NET Framework.

In addition, there are a number of new application models that run in the optimization design of. NET Core 5.

ASP. NET 5 is a streamlined application model for building modern WEB applications. It is built from the local to the optimized development framework, which consists of minimal overhead modular components, allowing you to stay flexible while building your solution. ASP. NET 5 can be run on the. NET Framework 4.6 or. NET core 5, and today, ASP. NET 5 runs on Linux and Mac, using the Mono runtime, once Mac, then ASP. NET 5 will be used for these platforms, see: Introducing ASP.

A common Windows application is an application model that lets you share source code between Windows Phone and Windows applications (8.1+) and deploy to the Windows store. Common Windows applications will run on. NET Native, compile IL as local machine code, and include a minimal CLR runtime, see: Building Universal Windows Apps for all Windows device S and Getting Started with. NET Native.

What is. NET Core?

. NET Core 5 is a common, modular framework that can be used extensively in a wide variety of application models and platforms because it is the Foundation Class Library (COREFX) and runtime (CORECLR) refactoring. For different application models, the APIs for these. NET Core base class libraries (BCL) are the same, and these APIs do not just look the same-they share the same implementation, most of the APIs or assemblies are more modular, and the platform is independent.

The deployment of app-local (or side-by-side) is also a key feature of. NET Core, you can deploy for your application, select the packages you need, and the modular package uses NuGet, which means that your application can run alone and will not be complete. NET Framework version, your application can be x-copy deployed without worrying about it at all.

. NET core supports Windows, Linux, and Mac OS X, and today,. NET core builds and runs only on windows, but we are joining the implementation of components under Linux and Mac-specific platforms, all of which are open source, which is very important for the. N ET cross-platform based on building a powerful ecosystem.

From code to running application-.net Core development

When we learn technology know that they are the way to work, I think it is very helpful, this is my simple view of developing applications and. NET Core, from code/build/debug cycles to application deployment and execution, deployment and execution make different, depending on your application model.

The code you write is very modular to reference the parts of the BCL and application models you need, the Roslyn compiler will generate your code independently of the platform's Intermediate language (IL), and in addition to the compiler's pipeline, there is a rich set of APIs that you can use to analyze your code in a variety of ways if you are using Visual Studio, which is a new feature of the IDE, leverages these APIs to give you a more efficient coding experience.

If you are building a generic Windows application, the. NET Native Toolchain will be taken from there, and your application references are built into a local deployment native image and a small runtime if you are building an ASP. 5 application, referencing and CoreCLR With your application deployed on the local server, use Ryujit,jit compilation to occur at startup.

In addition, ASP. NET 5 allows you to change your code, save changes, and refresh the browser (without explicitly rebuilding the project), use Roslyn to enable dynamic compilation in Visual Studio, and you have all the structure and power of the compilation framework, But the development experience feels more like an interpretive language.

Note: If you are looking at the full. NET Framework 4.6, then you can still enjoy the new changes in the language and Roslyn compiler, the deployment of the application has not changed since it appeared, it still relies on the complete framework installed on the machine, but the JIT Compilation becomes an optimized JIT compilation, which is RyuJIT.

What is open, now?

Many. NET 2015 projects are open source and, under the management of the. NET Foundation, we and the community are working actively to make these projects open to the source as early as possible.

You can see the repository and activity records for all projects in the. NET Foundation, github:http://dotnet.github.io/.

Here are a few good items to start with, check out very detailed instructions and submit specifications.

    • ASP. 5:https://github.com/aspnet/home
    • . NET Core CLR:HTTPS://GITHUB.COM/DOTNET/CORECLR
    • . NET Core Framework:https://github.com/dotnet/corefx
    • Roslyn:https://github.com/dotnet/roslyn

In addition, it is worth mentioning that the complete. NET Framework is "open source", that is, we are not not fully committed, it is not a full version of the OSI approval agreement, but you can view all the source code here:/HTTP referencesource.microsoft.com/.

Project is in the open

For Microsoft, the OSS is not new, but it is a new. NET Runtime and Class library, which is a pretty big idea, a 15-year old project, so many people are working internally, long-term not just mobile code, but all the engineering process is open, which takes time, That's why teams start with a small base class library and have been released more and more and learned in this process, and these experiences and best practices have affected the entire team, We ' ve been humbled by the overwhelming Contributions so far.

You might think of yourself: "In the daytime, I don't have enough time to build my own applications, let alone figure out how to write code clr! "It's fair, I'm with you!" You can choose the way you want to participate, you don't have to write code is a contributor, File an issue, comment on a proposal, answer a question, or just view the activity.

You might think: "I don't want to lose the simplicity, nor do I get used to the quality and support!" "Don't worry!" We remain committed to quality and service levels as before. To put it simply, what we have done is to make our project open, and we have previously built the software internally, and it is now open.

I really feel excited about our team culture and the future of. NET.

Enjoy it!

[Updated February 26, 2015]-I should also mention that dotnetconf 2015 is almost there, you can learn a lot, this is a free virtual event and speech, from the community and product team, March 18, 19th on time live.

Translation of an English article time, can write a few articles, took the time, translated but like "Xiang" the same, miserable unbearable to see, suggest you read the original.

But then again, this translation process, for me, is really rewarding, which is enough.

Wonderful. NET 2015

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.