DEV Community

Discussion on: Loving C# 9 So Far

Collapse
zoedreams profile image
☮️✝️☪️🕉☸️✡️☯️

i use visual studio enterprise as well. Depends on what i am using it for.

Having to include .net runtimes to ship with your code or making sure its running. Ive had issues with portability onto various linux and unix environments.

Thread Thread
sharpninja profile image
The Sharp Ninja Author

Why not include a bash script that tests the environment and launches the official install script to install a copy of the runtime if necessary?

Thread Thread
zoedreams profile image
☮️✝️☪️🕉☸️✡️☯️ • Edited

You can and I do, and sometimes on headless installs on lots of servers it doesn't work all the time, which means you need to preload the system with .NET. Also I have worked for a few organization where they did not allow .NET because of licensing and they paid X $ for oracle licensing and vice verses. Node is a bit easier because it is open source and can bundle the runtimes in with the release which works a lot like the cpp ecosystem.. like electron for example. Organization licensing can be Dumb sometimes.

However Microsoft has realize this too and has been migrating over to open source after acquiring GitHub. Which now .NET is open source so technically you can compile it directly on the end system, which yes you can py / bash it.

Don't get me wrong, i love .NET i think its. fantastic framework for authoring robust software quickly. I am just happy the rest of the world is starting to see this too.

Thread Thread
sharpninja profile image
The Sharp Ninja Author

I don't understand your point about licensing .net 5.0. Can you elaborate?

Thread Thread
zoedreams profile image
☮️✝️☪️🕉☸️✡️☯️

The latest version is not, but previous versions were not open source which required enterprise licensing from microsoft. Like i mention in my last reply microsoft has migrated over to open source licensing which is not an issue.

Thread Thread
sharpninja profile image
The Sharp Ninja Author

I believe that Dotnet Core has always been completely free and open source. If I'm wrong please let me know.