随笔分类 -  c#

摘要:Problem: Managing files web applications should be quick and easy and most importantly, consistent. The traditional way to store files is on the file system or within a RDBMS (SQL SERVER, Oracle, MySql) or on SharePoint. However what if you were developing several applications that shared a million files and each was 5MB. Which solution would you choose? This is commonly the case for large content driven sites (Music Stores, video sharing sites, content management systems, etc). Solutio 阅读全文
posted @ 2008-05-11 22:35 陋室 阅读(600) 评论(1) 推荐(0) 编辑
摘要:我想得到一个网页的源代码 传进去一个 url地址 其中这个url带有参数 当我输入的参数是字母或数字时候 可以正确的获得url地址网页的源代码 我用过的方法如下: 方法1 private string getWebresourceFile1(string url) { WebClient myWebClient = new WebClient(); byte[] myDataBuffer = myWebClient.DownloadData(url); string SourceCode = Encoding.Default.GetString(myDataBuffer); saveSourceCode(SourceCode); return SourceCode; } 阅读全文
posted @ 2007-09-04 17:44 陋室 阅读(286) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示