.Net Core had its first version released in June 2016. In the past September, we received the 3.0 version that brought support to resources that already existed in the .Net Framework like, for example, Windows Form applications and others.
But it is not our intention to approach a version, or even a specific resource, to highlight .Net Core’s advantages. Our intention is to show the main reason that makes Core beneficial for your next project.
Core’s idea is to be Cross-Platform, which means it can adapt to any environment, be it Windows, Linux ou Mac. And it is at this point that we have one of the best advantages of Core: the cost-benefit of the host/server where the application will be hosted.
Doing a quick comparison of some virtual machines that will be on for 24 hours, 30 days straight in three well-known hostage services (Amazon AWS, Azure and Google Cloud), we can conclude that the biggest difference between services goes up to 42% when you compare the lowest price for a Linux machine with the highest price of a Windows machine (see table down).
It is important to reinforce that the minimum considerate for this analysis was a machine with 1 Core, 1.75 Gb RAM and 70Gb of HDD. There might be a slight difference between the machines compared thanks to the availability in the services compared.
With the capacity chosen, there may be some questions popping up about the type of machine chosen (small, t1, a1). There is where we highlight another great advantage of dotnetcore: the framework was conceived to be light and, this way, depending on the type of application that will be developed, there is no need for a big server to execute the application.
The comparison does not contemplate the use of a database.
|Amazon AWS||Azure||Google Cloud|
An extra note: .Net Core was conceived to function also in Docker. And precisely because of that, we leave the door open to another article, which is the .Net Core hostage in environments using Docker.