需要有关在哪里发布我需要的应用程序的建议. [英] Need advice on where to publish the app I need.

查看:93
本文介绍了需要有关在哪里发布我需要的应用程序的建议.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I need to develop an application that was originally thought to be a windows service but is now to be deployed to Azure. The app is a scheduling application that reads from a DB and calls a couple of different APIs when it's time to either start or stop an event. The DB will be stored in Azure as well.

Initially, this sounds like a WebJob, but the issue is I also need for the app to be both host and client for a SignalR WebSocket. The intent of this is to have two instances communicate with each other and a backup self-promote if it loses communication with the primary. My understanding is that WebJobs don't support things like WebSockets.

推荐答案

这听起来像是Azure函数的工作. :)

This sounds like a job for Azure Functions. :)

您可以创建一个计时器触发的函数来执行所需的操作.

You can create a Timer triggered function which performs the actions that you need.

对于WebSocket连接对,如果仅出于备份和可靠性的目的,Functions运行时将确保执行您的函数.

As for the WebSocket connected pair, if the purpose is just for backup and reliability, the Functions runtime will make sure your function is executed.


这篇关于需要有关在哪里发布我需要的应用程序的建议.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆