在客户端应用程序和 Web 应用程序之间传递数据 [英] Passing data between Client Application and Web Application

查看:52
本文介绍了在客户端应用程序和 Web 应用程序之间传递数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建一个可以在工程师 PC 上与 3D CAD 交互的 Web 应用程序.我在想的是 [Web 应用程序] 将允许他们下载 [Windows 服务],然后在服务器主机上使用 [WCF],然后到 [Web 应用程序].我需要来回传递数据,并能够通过 [WCF] 将一些代码发送到 [Windows 服务] 到 [3D CAD].这完全合乎逻辑吗?作为 [WCF] 的替代方案,可以使用 [Web Service] 吗?

I have a need to create a Web Application that can interact with 3D CAD on an engineers PC. What I was thinking is the [Web Application] would allow them to download a [Windows Service], then use [WCF] on the Server Host, then to the [Web Application]. I would need to pass data back and forth with the ability to fire off some code through the [WCF] to [Windows Service] to [3D CAD]. Is this at all logical? As alternative to [WCF] could [Web Service] be used?

推荐答案

听起来您走在正确的轨道上.WCF 服务或 Web 服务是处理客户端和 Web 应用程序之间通信的首选方式.是的,如果您愿意,您可以使用网络服务,因为无论环境或平台如何,XML 都是普遍理解的.

It sounds like you're on the right track. A WCF service or Web Service is the preferred way to handle communication between client and web applications. And yes, you can use a web service if you prefer, as XML is universally understood regardless of environment or platform.

这篇关于在客户端应用程序和 Web 应用程序之间传递数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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