POS Ready 2009 上的 WCF 命名管道
我们正在构建一个将在 Windows POS Ready 2009 上运行的触摸屏信息亭应用程序。我们需要确保该应用程序始终运行,因此我们构建了一个看门狗进程,我们的应用程序会定期对其进行 ping,如果看门狗不运行得到一个 ping,它会启动/重新启动应用程序 - 一个相当标准的想法。
我们的应用程序是 WPF,需要 .net 4(这很好),并且我们选择使用 WCF 命名管道进行进程间通信。现在这似乎是一个坏主意,因为我认为 POS Ready 2009 本身不支持使用命名管道的 WCF,而且我无法在互联网上找到如何安装/配置对其支持的位置。
任何人都知道我是否/如何可以在 POS Ready 2009 上使用 WCF 命名管道运行我的应用程序。
编辑:我的错误 - 文件位于“Too Stupid to Live”下。感谢您的回答,Chris,您完全正确,它在 POS Ready 2009 上运行得非常好。其他部署问题让我感到困惑。
We're building a touch screen kiosk application that will run on Windows POS Ready 2009. We need to ensure that the application is always running, so we've built a watchdog process that our application pings periodically, and if the watchdog doesn't get a ping, it'll start/restart the app - a fairly standard idea.
Our application is WPF and requires .net 4 (which is all fine) and we chose to use WCF named pipes for the inter-process communication. This now seems like a bad idea because I don't think WCF using named pipes is natively supported on POS Ready 2009 and I can't find an where on the internets how to install/configure support for it.
Any one know if/how I can run my application with WCF named pipes on POS Ready 2009.
EDIT: My bad - file under "Too Stupid to Live". Thanks for your answer Chris, you are completely right and it does work perfectly on POS Ready 2009. Other deployment issues had me flummoxed.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我没有任何 POS Ready 2009 的实践经验,但 Microsoft 的产品网站声称对 Win32 应用程序具有开箱即用的“完全 Win32 兼容性”,并且可以选择支持 .NET 4。如果正如所暗示的那样存在 Win32 命名管道 API,则 WCF NetNamedPipeBinding 应该可以工作。
I don't have any hands on experience with POS Ready 2009, but Microsoft's product web site claims "Full Win32 compatibility" for Win32 applications out-of-the-box, and support for .NET 4 as an option. If the Win32 Named Pipe APIs are present as this implies, then the WCF NetNamedPipeBinding ought to work.