在Azure或Amazon的托管控制台应用程序,这可能吗? [英] Hosting console application on Azure or Amazon, is it possible?
问题描述
我想知道是否有可能写一个控制台应用程序的端口在Windows Azure上。
控制台应用程序不会有一个接口,它只是做它的工作没有通知它在做什么给用户。在这种情况下,这将是一个插座应用。
The console application wouldn't have an interface, it would just do its work without informing what it's doing to the user. In this case it would be a socket application.
我不希望它是一个网站。它不会是任何除项目。
I don't want it to be a website. It wouldn't be of any addition to the project.
的 修改的谢谢大家回答我这么快。现在我有一个答案,我一直在寻找。现在我qustion是:那会是什么在亚马逊叫什么名字?这是对Azure的辅助角色......现在我知道,感谢你们所有的人
推荐答案
您不能直接举办在Azure中的控制台应用程序或任何其他云。正如Ghyath说你将在Azure中的情况下,使用辅助角色。
You cannot directly host a console app in Azure or any other cloud. As Ghyath said you will have to use worker role in case of Azure.
看看这个示例演示如何您可以在Windows Azure的辅助角色转换控制台应用程序。见任务1。
Take a look at this sample which demonstrates how you can convert a Console App in to a worker role in windows azure. See Task1.
这篇关于在Azure或Amazon的托管控制台应用程序,这可能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!