2007年10月16日

Executing ASPX pages without a web server

摘要: Executing ASPX pages without a web server For the last couple of days, I?ve been writing about creating a standalone ASPX execution environment?a Windows Forms application that executes an ASP.NET page and displays the results in a Web Browser control.Because of the way the ASP libraries are written 阅读全文

posted @ 2007-10-16 18:46 老代哥哥 阅读(174) 评论(0) 推荐(0) 编辑

自定义轻量级的HTTP WebServer (WEB服务器)

摘要: 一直觉得网站www.studyez.com 处理静态文件不怎么快,就想能不能把这些静态文件单独放在另外一台服务器(StaticFileServer)上面。让主服务器只处理.aspx文件即可。StaticFileServer只负责输出静态文件,减轻主服务器的压力。远景的想法是把它用C/C++改写。不过,发现用C/C++哪是相当的麻烦,而且也没有必要。反正就是自己用用。先搭个架子先吧。对于以后的GET请求的分析,稍后在发上来。网上找的一些基上都是把接收到byte[]转化成字符串然后来分析,个人觉得这种做法效率不怎么好。不过目前也没想到什么好法子。特别对于POST请求的分析。下面涉及到异步回调《As 阅读全文

posted @ 2007-10-16 18:44 老代哥哥 阅读(299) 评论(0) 推荐(0) 编辑

导航