如何使用WCF服务获取网页数据 [英] how to fetch webpage data using wcf service

查看:93
本文介绍了如何使用WCF服务获取网页数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想使用wcf服务获取网页数据.我该怎么做.
任何人都可以向我发送代码或与此相关的任何资源.

等待回复

致以诚挚的问候
pathan

Hi,
I want to fetch the data of a webpage using wcf services. how can i do this.
can anyone send me the code or any resource related to this.

Waiting for reply

withe regards and thanks
pathan

推荐答案

您在这里问两个问题.

1)如何获取网页
阅读本文:使用.NET WebClient进行HTTP GET [实现基本的Hello World WCF服务 [ ^ ]

这两篇文章将为您提供使用wcf服务获取网页数据"所需的全部内容.
You are asking two questions here.

1) How to fetch a webpage
Read this article: HTTP GET with .NET WebClient[^]

2) How to serve the result using wcf
You can read a beginners article about WCF here:
Implementing a Basic Hello World WCF Service[^]

These two articles will give you all you need to "fetch the data of a webpage using wcf services"


这篇关于如何使用WCF服务获取网页数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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