Windows Azure WorkerRole 响应

发布于 2024-08-14 01:25:31 字数 189 浏览 2 评论 0原文

我正在开发一个 Azure 演示,以在辅助角色中运行 Powershell。在我的 Web 角色中,我添加了要运行到 CloudQueue 对象的 Powershell 脚本的名称。

我可以将脚本输出打印到调试控制台,但需要能够将此输出返回到我的 Web 角色并将其显示在 ASP.NET 页面上。

关于如何做到这一点有什么建议吗?

I am working on an Azure demo to run Powershell in a worker role. In my web role I add the name of the Powershell script which is to be run to a CloudQueue object.

I can print the script output to the debug console but need to be able to get this output back into my web role and display it on the ASP.NET page.

Any suggestions on how this is done?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

带上头具痛哭 2024-08-21 01:25:31

检查一下:
http://code.msdn.microsoft.com/windowsazuresamples

它有一个 PowerShell 辅助角色示例,我目前正在这里运行:
http://marcoposh.cloudapp.net/

这里有一个简短的解释:
http://marcoshaw.blogspot.com/ 2009/12/running-powershell-in-cloud-with-azure.html

Check this:
http://code.msdn.microsoft.com/windowsazuresamples

It has a PowerShell worker role sample, that I have currently running here currently:
http://marcoposh.cloudapp.net/

A brief explanation is here:
http://marcoshaw.blogspot.com/2009/12/running-powershell-in-cloud-with-azure.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文