Inquiring about Consistency of ASP.NET Core Across Supported Operating Systems #55682
Replies: 1 comment 1 reply
-
This isn't an exhaustive list but maybe it'll give you a high-level sense of the differences. Most of the differences are at the operation system level itself..NET does a really good job of abstracting that away from the user, but it will bleed through in various ways:
One of the best ways to do this is to run in a linux VM. If you're a windows user then you can use WSL (https://learn.microsoft.com/en-us/windows/wsl/setup/environment). There's support in visual studio for launching your application under WSL (https://learn.microsoft.com/en-us/visualstudio/debugger/debug-dotnet-core-in-wsl-2?view=vs-2022).
Any that are tied to Windows. Anything that does native interop will be a problem unless it's multiplatform. It's hard to know this off the bat but maybe tools like https://www.ndepend.com/ can help you understand what your dependencies are doing.
.NET comes with https://learn.microsoft.com/en-us/dotnet/standard/analyzers/platform-compat-analyzer. We flagged sets of API that do no work cross platform so that you are aware at compile time. This isn't full proof though as its about APIs that you are using, not your dependencies. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
I'm reaching out to gather insights and experiences regarding the consistency of ASP.NET Core across the various operating systems it supports. As a software developer primarily working with ASP.NET Core, I'm interested in understanding any potential challenges or issues that developers might have encountered when deploying and running ASP.NET Core applications across different operating systems.
While ASP.NET Core is known for its cross-platform capabilities, I recognize that there may still be nuances or discrepancies between different operating systems that could impact the development and deployment process. These could range from file system differences to networking behaviors and third-party library compatibility.
Could anyone share their experiences or observations regarding:
Looking forward to hearing your insights and tips!
Beta Was this translation helpful? Give feedback.
All reactions