[英]Simple Azure C# Server for sending, receiveng and running .exe
Here is my case: 这是我的情况:
I configured virtual machine in Azure for executing solver.exe. 我在Azure中配置了用于执行Solver.exe的虚拟机。 Now i want to develop simple client and server apps with C# or any other language/tool from MS stack to use in this scenario:
现在,我想使用C#或MS堆栈中的任何其他语言/工具来开发简单的客户端和服务器应用程序,以在这种情况下使用:
So what do I use to write server - C# or some script language? 那么,我该如何编写服务器-C#或某些脚本语言? Should I write file transfer from the scratch?
我应该从头开始写文件传输吗? Any links to relevant guidelines are welcome.
欢迎链接到相关指南。
The best you can do is create a service using WCF (Windows Communication Foundation). 最好的办法是使用WCF(Windows Communication Foundation)创建服务。
Here some useful links: 这里有一些有用的链接:
http://blogs.msdn.com/b/brunoterkaly/archive/2013/10/18/getting-started-with-wcf-windows-communication-foundation-running-and-debugging-quickly.aspx http://blogs.msdn.com/b/brunoterkaly/archive/2013/10/18/getting-started-with-wcf-windows-communication-foundation-running-and-debugging-quickly.aspx
Then to consume your service, just create a console application for example and add a service reference to your wcf service. 然后,要使用您的服务,只需创建一个控制台应用程序,然后向wcf服务添加服务引用即可。
http://msdn.microsoft.com/en-us/library/bb628652.aspx http://msdn.microsoft.com/en-us/library/bb628652.aspx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.