使用 .NET Core Kestrel 和 Node 设置虚拟路径

Setup virtual path with .NET Core Kestrel and Node

是否可以在 localhost:5000 上设置一个 .NET Core 项目和另一个在前一个项目旁边运行但在 localhost:5000/api 的 Node 项目?

我已经使用 .NET 4.6 和 IISExpress 完成了此操作,但是 Kestrel 服务器发生了很多变化,我不知道如何操作。

我之前的表现 添加路径,然后单击“创建虚拟目录”。

我认为单独使用 kestrel 是不可能的。查看解释使用 kestrel 与传统 IIS 进行开发的体系结构的文章

https://weblog.west-wind.com/posts/2016/Jun/06/Publishing-and-Running-ASPNET-Core-Applications-with-IIS