从另一台PC运行基于Web的.net应用程序(在服务器上) [英] running a web based .net application(on server) from another PC

查看:70
本文介绍了从另一台PC运行基于Web的.net应用程序(在服务器上)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在一个要构建客户端和服务器的项目中工作.该服务器包含一个内置于.net的基于Web的应用程序.我要做的就是从另一台PC(即客户端)运行该应用程序.完成吗?

请帮帮我.


谢谢

问候

Bhagyashree

解决方案

您需要在为Web应用提供服务的计算机上设置IIS.


对我来说,您应该适应这种体系结构.

为服务器创建WCF项目或Web服务并公开不同的端点.

客户端可以是位置独立的和语言独立的,并且可以将WCF或Webservice添加为服务引用并可以发出请求.

在服务器上我们的服务将响应需求并发送响应.

我认为您应该只使用WCF.因为如果要使用毫米波,您想在使用TCP协议的防火墙内部使用此应用程序,则无法使用Webservice进行此操作.并提供更多功能.

仅Wcf可以托管用户IIS,因此您需要配置IIS.

我认为我的设计应根据您的要求完美匹配.如果需要任何帮助,请告诉我.如果我错了请纠正我.

谢谢


hi
I am working on a project where I want to build a client and server .The server contains a web based application built in .net.All that I want to do is run this application from another PC,i.e,client.What is needed to be done???

Please help me.


Thanx

Regards

Bhagyashree

解决方案

You need to setup IIS on the machine serving the web app.


According to me you should adapt this architecture.

for server create a WCF project or a webservice and expose different endpoints.

And client can be location independent and language independent, and can add the WCF or Webservice as a service reference and can make request.

On server Our service will respond to reqeust and send response.

I think you should go with WCF only. Because if tommarrow you want to use this application in inside firewall using TCP protocol you can not do that using Webservice. And it provide more features.

Wcf alone can be hosted user IIS so you need IIS configured.

I think my design should fit perfect according to your requirement. If need any help Please let me know. Correct me if I am wrong.

Thanks


这篇关于从另一台PC运行基于Web的.net应用程序(在服务器上)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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