客户端的silverlight流程
我是一名php开发人员,对silverlight了解不多,我正在开发一个需要在客户端浏览器上处理请求的项目,例如发布http请求并处理它们,它是一个自动目录提交器,可以在silverlight应用程序中完成吗?
我希望用户打开 silverlight 应用程序,它将从客户端提交 post 请求,并处理成功和失败的过程。
是否可以?
请指导我。
谢谢
i am a php developer, not knowing much about silverlight, i am working on a project which needs to process request on client browser, like post httprequests and process them, its a auto directory submitter, can it be done in silverlight application?
i want the user to open the silverlight application, which will submit the post request from client side, and also process for success and failure.
is it possible?
please guide me.
thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当您运行 silverlight 应用程序时,您基本上会下载一个 .xap 文件(其中包含 dll)。这些是在您的机器上执行的。我不是 PHP 专家,但我似乎记得 PHP 是在服务器端执行的 - 所以现在您知道其中的区别了。
为了与服务器通信,您可以使用一种流行的方法:
我不确定,但我认为使用 WebClient 对象也可以通过POST 动词(不过你需要查找它)。
您可以访问 silverlight.net 的学习部分,获取一些有关使用 WCF 服务或动手实验室的精彩视频。我还推荐 Matthew McDonald 的 Pro Silverlight(3 或 4)书籍,其中有一些很好的套接字示例。
希望有帮助。
问候
When you run a silverlight application, you basically download a .xap file (with dlls inside). Those are executed on your machine. I'm no PHP expert but I seem to recall that PHP is executed server-side - so now you know the difference.
In order to communicate with the server you can use one of the popular methods :
I'm not sure but I think that using a WebClient object is also possible with a POST verb (you'd need to look it up though).
You can access silverlight.net's learning section for some good videos about using WCF services or hand-on labs. I'd also recommend Matthew McDonald's Pro Silverlight (3 or 4) books, those have some good socket examples.
Hope that helps.
Regards