ServiceStack 与 IdentityServer 集成是否需要 Web Api 项目?

Does ServiceStack Integration With IdentityServer Require A Web Api Project?

我正在测试 ServiceStack,看看使用此产品的开发速度比使用 Asp.Net Core 的 Web API 或类似产品快多少。

我已经使用我自己的 IdentityServer4 配置成功设置了服务堆栈,一切运行良好。

我的疑惑是,使用 IdentityServer4 是否意味着我现在需要与 ServiceStack 一起维护一个 Web Api 项目? API 在那里的原因是什么?

我可以看到我可以直接调用端点(需要身份验证、角色等)并且与 IdentityServer4 结合使用。

想知道为什么需要 Web Api 项目以及我是否可以完全摆脱它,因为我的印象是 ServiceStack 是 WCF/Web Api?

ServiceStack 的 mvcidentityserver project template that's used in the documentation of ServiceStack's integration with IdentityServer4 was an enhanced version of Identity Server's "OpenID Connect Hybrid Flow Authentication and API Access Tokens" example project that used to be maintained at https://github.com/IdentityServer/IdentityServer4.Samples/

项目模板包含 Auth 与 ServiceStack、MVC 和 Web 的集成示例 API。 Web API 示例继承自已有的IdentityServer 示例项目,该项目是可选的,可以完全删除。