原创 Redirect Following
One very handy feature in HTTP is “redirect following”. Many web sites make use of theHTTP redirect internally, so you
原创 XAML語法積累
XAML文件中的element有時表示對象(object)有時表示對象的屬性(property),比如 <Button Content="Hello" Click="OnButtonClick"> <Button.Backgrou
原创 關係數據庫知識
By 1980, enough was known about the relational model for Codd to identify three principlecomponents: The structural com
原创 socket編程(二)
IP地址用來標識主機,是一個邏輯地址,IPv4是4字節,常用點分十進制的格式表示,每個字節用一個十進制的整數來表示; 端口號用來標識運行在主機上的每個網絡通信程序; 網絡體系結構解決異質性問題採用的是分層的方法--把複雜的網絡互聯問題
原创 [積累][網絡]What is Servlet?
Servlet是一種服務器端的Java應用程序,具有獨立於平臺和協議的特性,可以生成動態的Web頁面。 它擔當客戶請求(Web瀏覽器或其他HTTP客戶程序)與服務器響應(HTTP服務器上的數據庫或應用程序)的中間層。 Servlet是位於
原创 Socket編程(一)
http://www.kuqin.com/networkprog/20090221/35953.html Socket是應用層與TCP/IP協議族通信的中間軟件抽象層,它是一組接口。在設計模式中,Socket其實就是一個門面模式,它把複雜
原创 C#調試輸出
示例代碼: 1.) // Code to execute if a navigation fails void RootFrame_NavigationFailed(object sender, Navi
原创 C#線程同步
http://msdn.microsoft.com/en-us/library/ms173179.aspx
原创 Encoding的使用
示例: System.Text.ASCIIEncoding encoding=new System.Text.ASCIIEncoding();socket.Send(encoding.GetBytes(str) );socket.Send
原创 字符串與數字轉換
int.Parse(str);
原创 C++學習網站
http://www2.research.att.com/~bs/bs_faq2.html
原创 Layered Pattern
分層模式的用途首先是將複雜的問題進行分解. 其次是允許複用Business logic以及conserve valuable connections to expensive resources such as databases。
原创 Attached Properties
To assign child elements to a given row in the container grid, each one of the child elements must specify a value for
原创 Windows Phone app的生命週期
爲了讓用戶有Seamless Navigation的體驗,Windows Phone不允許多個app同時運行,說俗點兒,如果一個app在頁面上不可見了,那它的進程就被關閉了,它也就不再處於running狀態了,Windows
原创 對話框之一
During the life cycle of a dialog box, the user invokes the dialog box, typically inside a command handler that create