DEV Community

Discussion on: .Net 5 is PERFECT for DevOps

Collapse
akashkava profile image
Akash Kava

I am surprised to see no listing of Windows only features, if you look at the api, there are many features not supported on non Windows platform.

Unlike Java, .Net isn’t truly multi platform. If you drill down and try to use your existing projects on different platforms you end up with not supported exceptions.

Collapse
n3wt0n profile image
Davide 'CoderDave' Benvegnù Author

IIRC there is very little that is Windows-only. .Net Core was much more Windows-oriented. The things that are Windows-only are like that because they are not available in other platforms, like for example WinForms or Windows APIs.

As I've mentioned, .Net 5 is the first release in the .Net Unification, with .Net 6 and Maui basically everything that is not OS specific (again, if your project uses OS APIs that is of course something that is limiting) will be multiplatform.

Collapse
thebuzzsaw profile image
Kelly Brown

Unlike Java, .Net isn’t truly multi platform.

What makes it not truly multi-platform? I've been deploying projects to Linux + nginx for years. I've done extensive development on Mac. Zero issues.

If you drill down and try to use your existing projects on different platforms you end up with not supported exceptions.

If a legacy project was built for Windows, that is on that project, not the .NET ecosystem. Yes, .NET is in the middle of transitioning out of its Windows-only past, but new projects are plenty portable.