IntroductionMoslty in site directory web sites there is a need to have the thumbnail image of each web site. Of course this feature can be needed in a wide range of projects handling with high amount of web sites.Capturing screenshots with Windows
public class PageValidate { private static Regex RegNumber = new Regex("^[0-9]+$"); private static Regex RegNumberSign = new Regex("^[+-]?[0-9]+$"); private static Regex RegDecimal = new Regex("^[0-9]+[.]?[0-
asp.net2.0內建的Provider源碼下載我一直覺得Asp.Net2.0的Membership不夠用,例如:不能自訂密碼類型,不能擷取角色Id,不能方便的檢測使用者名稱或Email是否存在……,總之還是不能完全滿足自己的要求,那麼就自己擴充吧,但是總是不那麼爽,重新實現一套Provider吧,太麻煩了。今天偶然讀到這個blog:《Source Code for the Built-in ASP.NET 2.0 Providers Now Available for
我們在上傳大檔案時都遇到過這樣或那樣的問題。設定很大的maxRequestLength值並不能完全解決問題,因為ASP.NET會block直到把整個檔案載入記憶體後,再加以處理。實際上,如果檔案很大的話,我們經常會見到Internet Explorer顯示 "The page cannot be displayed - Cannot find server or DNS Error",好像是怎麼也catch不了這個錯誤。為什嗎?因為這是個client side錯誤,server
Ajax在應用中使用有3個部分(個人觀點):1.資料(一般通過IE內建群組件Microsoft.XMLHTTP來取得或者發送資料);2.事件(事件指的是用戶端事件,如果是服務端事件,那麼AJAX也就沒什麼意義了);3.綁定(暫且就叫綁定吧,也可以說是顯示,一般通過DHTML來完成)。從上面看,Ajax就使用了Microsoft.XMLHTTP組件和DHTL。其實還有另外一部分,就是伺服器端的處理。一、簡單樣本就最簡單的原型來說,就是取得資料:a.aspx的內容如下: < div