當我們系統要用Junit 測試批量發郵件功能的時候,既要測試 這功能是否正常。但又不能真正意義上的把郵件發出去。在這裡有個不錯的類庫。幫我們解決 了問題。 http://ndumbster.sourceforge.net/樣本:Nunit Test Bacth EmailCode highlighting produced by Actipro CodeHighlighter
上次我寫的 【小技巧】如何得到一個網頁的所有a標記 herf 連結代碼這樣很是麻煩。這裡有個 非常好的分析 html的 類。節約了不少時間。項目地址http://www.codeplex.com/Wiki/View.aspx?ProjectName=htmlagilitypackFor example, here is how you would fix all hrefs in an HTML file: HtmlDocument doc = new
我的網站http://sps.oceanstudio.net中包含了不少的視頻教程。SPS有比較好的網站利用率分析,昨天開通了網站利用率分析,今天看到了結果。1天時間首頁有10幾次點擊,這個網站剛剛建立不久,我感覺挺多了。看看分析,能發現一些問題。比如瀏覽器Browser Total Visits Recent Month Most Recent Day VisitsInternet Explorer 6.0 15 2004-12-115Other 552004-12-1 5
Download the NHibernate source and go to the “src\NHibernate“ directoryCopy nhibernate-configuration-2.0.xsd, nhibernate-mapping-2.0.xsd, and nhibernate-generic.xsd to the Visual Studio “schemas“ directory. By default, the schemas directory is
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System.IO;using System.Text;using System.Text.RegularExpressions;using System.Net; 1.先取得網頁的原代碼Code highlighting produced by Actipro