托管WCF服务的要求 [英] Requirements to host WCF Service

查看:77
本文介绍了托管WCF服务的要求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

晚安,



我需要知道实时托管我的WCF网络服务的要求。



我购买了一台VPS,它有一个专用的IP。我是否需要购买单独的域名?



请帮助我了解我的所有要求。



谢谢。

解决方案

无需购买专用域..您希望用它来访问WCF服务。或只是IP会这样做。

看看这里给出的步骤:

http://stackoverflow.com/questions/1712778/how-do-i-host-a-wcf-service-on-the-internet [ ^ ]



1.我假设您已经创建了一个有效的WCF应用程序并通过IIS托管。

2.接下来要做的是从IIS浏览应用程序。它会在地址栏中为您提供以下内容的URL:http://localhost/myservice/service.svc

3.接下来访问www.whatismyip.com。这将为您提供系统的WAN IP(例如,45.34.56.200)。

4.将步骤2中的URL替换为:http://45.34.56.200/myservice/service.svc

5.现在您可以使用此URL在这个世界上消费你的服务。



希望这会有所帮助。感谢。

Good Evening,

I need to know what are the requirements for hosting my WCF web services in real time.

I have purchased a VPS and it have a dedicated IP. Do I need to purchase a separate domain??

Please help me to know all my requirements.

Thank you.

解决方案

No need to purchase dedicated domain..until you like to access WCF service with it. or Just IP will do.
Have a look in steps given here:
http://stackoverflow.com/questions/1712778/how-do-i-host-a-wcf-service-on-the-internet[^]

1. I am assuming that you have made a working WCF application and hosted over the IIS.
2. The next thing to do is to browse the application from the IIS. It will give you url in the address bar something like: http://localhost/myservice/service.svc
3. Next go to www.whatismyip.com. this will give you your system's WAN IP (say, 45.34.56.200).
4. Replace the URL you got in step 2 with: http://45.34.56.200/myservice/service.svc
5. Now you can use this URL any where in this world to consume your service.

Hope this will help. Thanks.


这篇关于托管WCF服务的要求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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