如何注册Surface Service应用程序 [英] How to register Surface Service Application

查看:209
本文介绍了如何注册Surface Service应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试注册一个Surface服务应用程序,其中包含SDK文档中的步骤。它是一个简单的控制台应用程序,将承载Surface应用程序和远程管理客户端的WCF服务。我认为我根据规范
制作了所有内容但是当我启动shell时应用程序没有启动。我在模拟器和设备上都尝试了这个,但两者都失败了。有没有可用的示例演示如何正确执行?

I'm trying to register a Surface service application folowing the steps in SDK documentation. It's a simple console app that will host the WCF service for Surface application and remote administration client. I think I made everything acording to the spec but the application doesn't start when I start the shell. I tried this both in the Simulator and on the unit but failed on both. Is there any sample available that demonstrates how to do it correctly?

谢谢,

-Szymon

Thanks,
-Szymon

推荐答案

Shell实际上并没有启动服务应用程序 - 它们是由另一个仅在User& UserDebug模式。 尝试进入用户模式,看看是否有效。 在开发方案(模拟器或管理员模式)
中,您需要自己启动服务应用程序。 也许写一个启动Shell和你的服务应用程序的小脚本?

Service applications aren't actually launched by Shell -- they're launched by another process which is only present in User & UserDebug modes.  Try entering user mode and see if that does the trick.  In dev scenarios (Simulator or Admin mode) you'll need to launch the service app yourself.  Maybe write a little script that launches Shell and your service app?

 


这篇关于如何注册Surface Service应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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