带有远程侦听器的 Azure Service Fabric ASP .net

用户2130332

我有一个通过 HTTPS 对外公开的服务,我也想通过服务远程处理在我的集群内部使用它。我知道我可以在 CreateServiceListeners 方法中设置侦听器,但我遇到的问题是我需要从同一个 StatelessService 类中实现接口,该类在控制器中实现该方法时不起作用。这是否可能,如果是,是否有我可以查看的示例?

洛克迪

我会推荐这个:

  • 将实现逻辑移至单独的类。
  • 使用依赖注入将该类传递给您的服务和控制器。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

如何在Azure Service Fabric ASP.NET Core有状态服务中获取PartitionInfo?

Azure Service Fabric:直接在ASP.NET Core有状态服务中使用可靠的集合

将Windows身份验证与带有ASP.NET Core的Azure Service Fabric一起使用

在Azure Service Fabric中,无状态Web API和ASP.NET Core Web API之间有什么区别?

在Azure Service Fabric中的ASP.NET Core中使用WebListener

Azure Service Fabric中ASP.NET Core应用程序中的WebpackDevMiddleware

如何使用共享群集上相同端口的子路径在Azure Service Fabric上部署Asp.Net Core应用

具有Asp.net核心依赖注入的Service Fabric状态服务

具有通用参数的Azure Service Fabric远程处理

Azure Service Fabric的使用

Azure Service Fabric 路由

Service Fabric(ASP.NET Core)中的Appsettings

找不到带有Azure DevOps路径的部署ASP.NET Core App Service

带有nginx和.NET核心服务的Service Fabric

Service Fabric服务中的多个通信侦听器

在 Azure Service Fabric 上创建 UDP 侦听服务

Azure Service Fabric:远程压缩格式化程序

Azure Service Fabric更改IP

Azure Service Fabric多租户

Azure Service Fabric激活错误

Azure Service Fabric提醒GetReminder

Azure Service Fabric v 单体

在Azure App Service上远程调试ASP.NET Core 1.0应用程序

登录失败远程调试作为Azure App Service托管的ASP.NET WebAPI服务

ASP.NET Web应用程序Azure App Service远程调试中的问题

Azure Service Fabric-具有状态的克隆Actor

有状态服务的Azure Service Fabric自动缩放

从Azure App Service Plan中的ASP.NET MVC操作返回内部服务器错误

Azure Service Fabric与Azure容器服务