The fantastic world of interoperability with .NET 6
.NET 6 brought Windows developers the ability to deliver their software to various platforms. And you, as a software architect, need to pay attention to this. Linux and macOS are no longer a problem for a C# lover – it is much better than that – they are great opportunities to deliver to new customers. Therefore, we need to ensure performance and multi-platform support, two common non-functional requirements for many systems.
Both console applications and web apps designed with .NET 6 in Windows are almost completely compatible with Linux and macOS, too. This means you do not have to build the app again to run it on these platforms. Also, very platform-specific behaviors now have multi-platform support, as shown, for instance, by the System.IO.Ports.SerialPort
class, which, starting from .NET Core 3.0, is on Linux.
Microsoft offers scripts to help you install .NET on Linux and macOS. You can find them at https...