ServiceStack 的 web 和 dotnet-new 工具的区别

Difference between ServiceStack's web and dotnet-new tools

ServiceStack 目前似乎提供了两种基于模板创建项目的工具。

dotnet-new (https://docs.servicestack.net/dotnet-new) and the new web .Net Core tool (https://docs.servicestack.net/web-new).

我使用这两种工具创建了相同的项目类型,结果看起来完全相同。

它们看起来很相似,那么哪个工具有什么不同或不同的用途?

它们都创建相同的项目模板,主要区别在于 dotnet-new 是一个 npm 工具,需要安装 npm,而 web 是一个 .NET Core 工具,需要安装 .NET Core。

所以他们都可以创建相同的项目模板,尽管 web tool itself has a lot more other features