Directory Image
This website uses cookies to improve user experience. By using our website you consent to all cookies in accordance with our Privacy Policy.

Pros and Cons of.NET Core

Author: Ritesh Mehta
by Ritesh Mehta
Posted: Sep 08, 2017

.NET Core is a significant.NET redesign. It is a new open source and cross-platform framework to build modern cloud-based web connected applications, like IOT applications, web apps and mobile back-ends. The applications could run on.NET Core on full.NET. Moreover, it was architected to provide optimized development for applications deployed to the cloud or run on-premises.

On its advertising campaign, Microsoft bet on unusual positions for it. High scalability, performance and cross platform, those are what Microsoft is set with the new.NET Core framework.

THE NEW.NET CORE

The framework by Microsoft is a whole rewrite which unites the previous separate.NET MVC as well as Web API to one programming model. Regardless of its being a new framework, created on a new web stack, it does possess high degree of concept compatibility with Asp.net MVC. It has modular components with less overhead, thus one retains flexibility while construing solutions. One could develop and run the Core applications cross-platform Windows, Linux and Mac.

.NET Core is not only a new version, it is an entirely new platform. Switching to it could bring a lot of benefits. The benefits include better performance, code and scalability. It contains a lot of components, which a developer is used to dealing with.

CHARACTERISTIS THAT BEST DEFINE.NET CORE

  1. Flexible deployment. It could be added in an application or installed side-by-side user-or machine-wide.
  2. Compatible. It is compatible with.NET, Mono and Xamarin through.NET Standard Library.
  3. Cross-platform. It runs on Windows, Linux and MacOS. It could be ported to other operating systems. The supported operating systems, app scenarios and CPUs would grow over time, provided by Microsoft, other persons and companies.
  4. Open source..NET Core is open source and uses MIT and Apache 2 licenses. The documentation is licensed under CC-BY.NET Core is a.NET Foundation project.
  5. Supported by Microsoft. It is supported by Microsoft as per.NET Core Support.

THE PROS OF.NET CORE

It is much better than its predecessor. The largest advantage is its being modular. One could add and remove features by managing NuGet packages. It is also much easier and simple to set up. There’s just one class that is called Startup and allowing everything up there. Another great thing is the fact that WebAPI is now a part of the MVC, thus one could have class UserController that would return a view, but provide a JSON API as well.

.NET Core is portable and based on.NET. Therefore, back-end developers need not use JavaScript nor learn an entirely new language. Node.js is non-blocking, and is based on callbacks.

It has async framework that is much easier to code against. The.NET Core website claimed that the framework is up to three times faster than Go and also up to nine times than Node.js.

With it being open source, a developer is no longer constrained by Windows, nor installing Mono. It is light, fast, and container-friendly and enables one to continue with C# as the main language.

THE CONS OF.NET CORE

One of the biggest issues are the documentation gaps. Luckily, most of the things for building API are covered, but when creating an MVP application, there could be problems.

The changes. Even if one finds a solution to an issue, it could have been written for a previous version and may not work in the present one. Nevertheless, with its open source nature, there is support available on GitHub.

There is lack of support in the tooling. It is still too raw and most of the basic things, like Data Access is not designed for 100 percent. There isn’t a guarantee that the code used now will work in the release version.

Similar to every RC or Beta version, one gets bugs and errors. This is completely normal. Furthermore, Visual Studio has issues with adding reference to a class library from the ASP.NET Core project. One has to manually add a dll from the object folder, when then is not compiled automatically when making changes and building a website.

SUMMARY

Overall, it is nice to work on something new, even if there could be some issues from time to time. Doing the same thing again and again could be frustrating at times and definitely could take more time at the start as one gets used to new things. Nevertheless, when it is released, one should already be affluent with it..NET Core is a great solution by Microsoft that many consider to be beneficial to different industries.

The same as with all other things, there are pros and cons to the new.NET Core framework. Nevertheless, there are various ways of making the work easier and simplified.

About the Author

Ritesh Mehta is the Sales Director at TatvaSoft Australia, a Software & mobile app development company. For Over 15 years, he has been professionally active in financial management, software development.

Rate this Article
Leave a Comment
Author Thumbnail
I Agree:
Comment 
Pictures
Author: Ritesh Mehta

Ritesh Mehta

Member since: Apr 26, 2017
Published articles: 70

Related Articles