Twenty years ago, in 2002, Microsoft announced its vision and route for the next generation of software and services. On February 13, Visual Studio. NET was launched, and the first version of the. NET development platform was officially released to the world.
By now,. NET is 20 years old, and it has grown into a mature and stable platform.
However, I have found that many developers still have some prejudices and misunderstandings about. NET. Let's dispel these misunderstandings!
If you have such friends around you, please forward this article to them.
Myth 1:. NET can only run on Windows?
In fact, this statement has existed since the early days of. NET, and it is true. The. NET Framework was originally built for Windows, because it contained many references to the Win 32 API, making cross-platform difficult.
It wasn't until Microsoft took. NET Core seriously in 2016 that they began to address some of the issues in Mono and its lingering reliance on the Win32 API. But in the early days,. NET Core,. NET Framework, and. NET Standard also confused developers, but fortunately, in. NET 5 and now. NET 6, all this has become a thing of the past.
Today,. NET 6 (the latest. NET) runs on Windows, Linux, and macOS, and supports x86, x64, Arm32, and Arm64.

Microsoft provides SDKs and runtimes for multiple platforms.
This means you can build. NET applications on the latest M1 MacBook:

Myth 2:. NET is slower than Node/Python/Go/Rust?
In fact,. NET 6 has extremely high throughput and provides multiple throughput in Web testing than any framework running on Node and Python.
In recent years, the. NET team has focused a lot on core performance in almost all aspects of runtime, and while it obviously won't beat Rust or C++ in raw performance, it doesn't lag behind when it comes to running Web applications.
Task Parallel Library and Span provide higher caps on build throughput and performance.
According to the Web framework test report provided by TechEmpower Benchmarks, in Round 15 from February 14, 2018, you can see that ASP.NET actually lags behind Node.js:

2018: Node.js ranked 8th, ASP.NET Core ranked 13th, Express ranked 28th, Flask ranked 57th, Django ranked 61th.
In Round 20 in February 8, 2021, just three years later,. NET has definitely overtaken Node and Python, and is second only to Rust based services.

2021:. NET Core is 8th, Node.js is 56th, Express is 94th, Flask is 111th, Django is 118th.
In the gRPC benchmark,. NET also performed very well.

If you are using gRPC, don't consider Node or Python.
Myth 3: Is. NET obsolete?
Compared to Rust and Go, many people think. NET is an outdated platform. In fact,. NET is constantly being updated and has advanced syntax and features, generics, async/await, anonymous types, tuples, pattern matching, Expression, etc.
With the powerful LINQ, C#looks very much like JavaScript:

According to GitHub's 2021 Octopse status report, C#has recovered slightly in the past few years:

Myth 4: Development tools are expensive?
In fact, early Visual Studio development tools were really expensive!
But now, not only is Microsoft offering a free, full-featured Community Edition of Visual Studio, you have other options:
- JetBrains Rider
- Visual Studio for macOS
- And of course, VS Code.
Recently, I used VS Code to complete most of my C#/. NET development on a MacBook Pro M1:

Myth 5:. NET is not open source friendly?
That was true in the early days of. NET, but since Satya Nadella took power, Microsoft's entire trajectory with open source has shifted dramatically. However, Microsoft still has a long way to go before its transformation and growth in this area.
NET itself is managed by the. NET Foundation, the. NET compiler (Roslyn) and many other internal components are on GitHub, and it has been certified for Red Hat Enterprise Linux since 2015.
Myth 6:. NET can only develop enterprise management systems?
In fact,. NET has now evolved into a unified platform where you can use it to develop a wide variety of applications, including desktop software, Web services, 3D games, and more.
NET also has many frameworks for building cross-platform applications, such as:
- Multi-platform App UI
- Uno Platform
- Avalonia
End of the full text...
Original author: Charles Chen
Original title: 6. NET Myths Dispelled - Celebrating 21 Years of. NET
Original link: blog.devgenius.io/6-net-myths-dispelled-celebrating-21-years-of-net-652795c2ea27