使用 web api 通过 .net 标准访问 Service Fabric 集群

Access Service Fabric cluster via .net standard with web api

我有一个 service fabric 无状态服务,我 运行 在我的 Azure 集群中

目前相关服务只有 1 个实例

我希望能够通过网络访问服务中的数据api

如何使用 .net 标准而不是 .net 核心执行此操作?

有很多用于创建 Web api 的链接,但它们似乎要么是旧的,要么是指 .net 核心

一些人还提供了通过 visual studio 添加的说明,现在似乎在 visual studio 2017

内不可用

保罗

ASP.Net Core 仅兼容.Net Framework 和.Net Core。不幸的是,不是 .Net 标准。

ASP.NET Core is a new open-source and cross-platform framework for building modern cloud based internet connected applications, such as web apps, IoT apps and mobile backends. ASP.NET Core apps can run on .NET Core or on the full .NET Framework. It was architected to provide an optimized development framework for apps that are deployed to the cloud or run on-premises. It consists of modular components with minimal overhead, so you retain flexibility while constructing your solutions. You can develop and run your ASP.NET Core apps cross-platform on Windows, Mac and Linux. Learn more about ASP.NET Core.

https://github.com/aspnet/Home