So after touting something you can do, you've never actually done it.
I have had to touch. Net code that hasn't been updated in years and bring it current. It isn't fun.
By the same token, I lost about a week and a half recently updating a front end project that was started about 5 years ago.
I'm either case, .Net is definitely not the panacea you seem to assert that it is.
.NET and Java definitely are when compared against many fashionable alternatives, naturally you can come up with corner cases like projects using remoting or RMI, while ignoring their ecosystem stability versus those alternatives.
It is still MSBuild, Maven and Gradle after all these years, three major IDEs, most libraries just work, there are hardly talks about why we are doing it all wrong and use framework XYZ or build system ABC instead and so on.
Thankfully only have to deal with JavaScript on the browser.