Windows服务+Web服务+HttpHandle打造静态RSS解决方案
宏观描述
用户访问
http://rss.student.tsinghua.edu.cn/subscribe/news.aspx
被httpHandle重定向到
http://rss.student.tsinghua.edu.cn/data/bgtz.xml
同时追加访问记录
某台机器上配置了Windows服务
每隔一个小时get调用
http://rss.student.tsinghua.edu.cn/
上的WebService,形如
/info.asmx/getPage?siteName=bgtz
更新
/data/bgtz.xml
优点:
用户访问速度快
缺点:
服务器端读写xml文件频繁
posted on 2005-11-20 16:07 civ3's .NET studying 阅读(624) 评论(0) 编辑 收藏 举报