Ask HN:在 Windows 上开发 .NET 但部署到 Linux - 常见问题?

1作者: ghostlyInc5 个月前
我在 Windows 上开发 Blazor Server 应用,但将其部署到 Linux 服务器上(主要是出于成本考虑)。 很多时候,一切在本地运行良好,但在 Linux 上却失败。 很多情况下,这都是因为像区分大小写的路径或文件系统差异之类的问题。 我很好奇其他人是如何处理这种工作流程的。 你们也是在 Windows 上开发,然后部署到 Linux 吗? 你们遇到了哪些问题?
查看原文
I develop a Blazor Server app on Windows but deploy it to Linux servers (mostly for cost reasons).<p>Quite often everything works locally but fails on Linux. In many cases it turns out to be things like case-sensitive paths or filesystem differences.<p>I&#x27;m curious how others handle this workflow.<p>Do you also develop on Windows and deploy to Linux? What kinds of issues did you encounter?