如何使用ASP.NET与Web进行通信 [英] How to communicate with Web using ASP.NET

查看:78
本文介绍了如何使用ASP.NET与Web进行通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


最近,我学到了很多有关Windows窗体和相关C#编码的知识,以设计一些桌面应用程序,然后我去后端使用C#设计了一些基于ASP.NET的网站.

但是现在我想设计一个网站,该网站可以与网络通信,例如自动阅读网页,下载内容,识别帖子标签,识别不同网站上的相似内容等.

我还学习了C#命令,例如HttpRequestWebRequestGetResponseStream等.但是这些命令仍然缺乏我的知识.

因此,请向我建议一些有趣的技术,C#内容,教程等,我可以使用C#来完成上述任务.

Upadte:对不起,您没有理解我的意思.让我举个例子....我想设计一个一个网络服务,该服务每天从我的收藏夹路由中获取当前添加的博客帖子,每天五个博客,然后在以下网站的首页上列出这些帖子:我自己的网站 [显然是基于ASP.NET的网站] 这就是我早些时候所说的网站.

希望你们能理解.

谢谢

Hi
Recently I learned a lot about Windows Forms and related C# coding to design some desktop applications and then I went to designing some ASP.NET based websites using C# at back end.

But now I would like to design a website which communicates with the web doing task such as automatically reading web pages, downloading content, recognizing tags of posts, recognizing similar content on different websites, etc.

I also learned the C# command like HttpRequest, WebRequest, GetResponseStream, etc. But still my knowledge is lacking with these commands.

So please suggest me some interesting techniques, C# stuff, tutorial and such with which I can do above mentioned task using C#.

Upadte : Sorry that you didn''t get what i meant to say. Let me give you an example....I want to design a web service which will fetch Currently added blog posts from my faviroute five blogs each day and then list those post on home page of my own website [obviously ASP.NET based site] That''s what i called a website to earlier.

Hope you guys got it.

Thanks

推荐答案

但现在我想设计一个与Web通信的网站..."

当有请求时,ASP.NET应用程序就会运行,例如在您喜欢的浏览器的地址栏中键入URL,然后按Enter.它不仅会自动启动并爬网.天网尚未激活.

使用Windows服务可以最好地完成您所描述的内容.
"But now I would like to design a website which communicates with the web..."

An ASP.NET application runs when there is a request for it, such as typing the URL into the address bar of your favorite browser and hitting enter. It doesn''t just automatically start and crawl the web. SkyNet hasn''t been activated yet.

What you are described is best accomplished using a Windows Service.


这篇关于如何使用ASP.NET与Web进行通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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