. NET Core 2.1来!

Source: Internet
Author: User
Tags dotnet

It's great! The official release of. NET Core 2.0 has been over the past six months, this big six months said long not short, this period of time, I was fully aware of the sincerity of Microsoft, it is to seriously create a good open source platform. Over the past six months, Microsoft has been releasing new updates for. NET core, each with a little bit of progress, and has finally released. NET Core 2.1, which is a significant and improved version. The release time for. NET Core 2.1 is May 30, 2018, But considering the 14-hour time difference with Seattle, we should be on the May 31, and I got the news and I went straight to the download, read the update log, and put this latest framework in the current project, everything went very well, and there was only a little bit of a problem in the middle, but it was easy to solve. Compared to the previous tinkering, this 2.1 version is actually bringing me some surprises:
    1. Compilation performance greatly improved, compiled and published code is really fast, really did not brag this time;
    2. The response speed of the ASP. NET core has been significantly improved, the speed of the Web page "Brush Brushes", the program on my MacBook also "legs";
    3. There will be some warnings and error messages when compiling, (the bug in the official forum to determine the compiler) is now gone, fixed;
    4. ASP. NET core provides a number of new tags and help methods, very useful;
Of course, the change is definitely more than I mentioned these points, these points are only I can feel directly, other update information please refer to: https://blogs.msdn.microsoft.com/dotnet/2018/05/30/ announcing-net-core-2-1/Microsoft has announced that performance has improved a lot, I point I have not yet to empirical, but from the increase in the response speed of ASP. NET core should be true. After deciding to flatten out the possible "pits", I quickly applied the new framework to the company's production environment, everything was smooth, and the official release was no more than 20 hours, so I boasted in my colleague: "The technology we use is up to date!" To use this new development platform, just download the latest. NET Core SDK 2.1.300 and install it, in fact, the. NET Core SDK 2.1.x has long been, but a bit misleading is that these 2.1.x SDK has not been able to set the target The framework is set to. NET Core 2.1 and can only be set to 2.0 until 2.1.300. This can also be seen, why this arrangement I do not understand: Https://www.microsoft.com/net/download/all installed after the command line Knock >dotnet--version, to ensure that the display is 2.1.300, is done. Theoretically as long as the SDK can be opened, you can even use VIM or Notepad to do the project, but in reality we have to rely on the powerful visual Studio 2017 integrated environment, for this, VS2017 also to upgrade, upgrade method, such as open Notifications panel And then don't need me to say it (note: The desired version is 15.7.x): In your project configuration, set the target framework to. NET Core 2.1, complete!some feelingsAt the beginning of 2014, I left my work unit and my friends engaged in an internet project, when I was in the technology selection, I thought about what exactly? Tangled for a good while. Finally choose Java, the reason is: Java compiler strong type language, mature and reliable community power, key cross-platform, use it very accustomed to, and Android development is also Java, then do not have to engage in two sets of horses. Don't forget, however, that. NET core is still in womb, not even the name of. NET Core. NET has an open source project called Mono, which is not officially supported by Microsoft, and now looking back on this, I'm 100% going to choose. NET core instead of Java, and my point of view is somewhat incorrect-even if Android is using the Java language, Server-side development and Android-side development still require two sets of horses.   about. NET and Java dispute, in fact, more than 10 years has been uninterrupted, of course, the master of this very disdain, in fact, I generally do not mention this thing, but if who said, I do not shy talk, technology this thing sometimes "noisy noisy only lively", there are many things in and others "communication" before, I have never heard of. Now the company, too, had considered going. NET to Java, then I have argued with others, I am opposed, because the main strength of the company. NET, although Java is similar to. NET, but it is really a lot different, switching past is a big project, our developers to re-familiar with the environment, and the Java language is relatively difficult to use C #, C # syntax is simply perfect, we should continue to stay in. NET system, I further say: "Java can do that." NET has a corresponding implementation. "Opponents are very dismissive:". NET have any good open Source report library? "I was a bit stunned, and from that point of view, my opponent did bring me to the army, but that did not prevent us from continuing to use. NET, and I continued to refine and improve our" arsenal ",  to make our framework more sophisticated and adaptable to the company's business needs. And I stick to it. NET There is another reason why. NET core is already ready to be ready! At that time RC version has come out, I certainly immediately first experienced a, even try to transplant a small program in the past, but I quickly found that this version is indeed some lack, resulting in the transplant and not smooth, I think, according to Microsoft's consistent style, 1.0 is usually a very imperfect version, 2.0 is basically perfect, 2.0 subsequent iteration is maturing, and. NET core is also a reason, so I did not immediately do a full migration, but have been concerned about the development of. NET core, until last August 2.0 officially released, this is really exciting.   use. Net core There's another big reason--vIsual studio, known as the first IDE of the universe, does not oppose many people. I used a lot of Ides, such as Eclipse,idea,android studio,xcode,netbeans, and very old vc++6, the most powerful and useful or visual studio. If you think of vs slow, usually because your computer is too old, you have to equip a powerful computer, spend some money to get up, or persuade the boss to give you a new machine, this is the most time-saving posture, powerful CPU (so generally I do not recommend laptop), 16G of memory, solid-state drive is required ( Consider using the latest Optane SSD bar), these are real productivity tools, you know, the more powerful, the more slowly running, you do not see, the idea of users all day crying slow? Believe me, the improvement in your productivity will certainly be worth your investment in hardware. Visual studio is now very powerful, and even previous technologies that were not part of the "Microsoft Department" began to be supported, such as direct support for Python, node. js, Linux c++, Android (based on Xamarin) and other development technologies , even if you thought it was technically politically correct to oppose Microsoft, now try to Visual studio, I'm sure you won't regret it.   I don't know what else to say, a little bit of feeling. Hope. Net core development is getting better.  

. NET Core 2.1来!

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.