在設計和開發軟體時,我常想這實際就在創作,就像作家寫文章一樣。下面的內容是關於創造性的,儘管主要是講藝術和商業中的創造性的,但筆者以為對軟體的開發設計也有借鑒。1. Ignore everybody.走自己的路,讓別人去說吧。2. The idea doesn't have to be big. It just has to change the world.好的想法不在大小,關鍵是可以改變現狀。3. Put the hours in.全力以赴4. If your biz plan
we specify the pooling characteristics in the connection string when the SqlConnection is constructed, as shown in the following code sample. Please note: Pooling is implicit, you automatically get it unless you disable it. Therefore, "true" is the
最近花了很多時間研究.net效能提升問題,在ms的網站上也找到很多不錯的資料,下面這些內容估計大家或多或少的用過一些,在這裡貼出來,希望能對大家的工作有所協助。Performance Tips for All Applications:Throw Fewer Exceptions Make Chunky Calls Design with ValueTypes Use AddRange to Add Groups Trim Your Working Set Use
雖然才走馬觀花式的翻了一部分,但可以發現這的確是一本好書,深入淺出,對目前各公司專屬應用程式中常見的架構做了很好的講解,程式碼範例主要是Java和C#,就模式本身而言,就講了領域邏輯模式,資料來源架構模式,對象-關係行為模式,對象-關係結構模式,對象-關係中繼資料映射模式,Web表現模式,分布模式等,其中對象-關係結構模式中更是對目前流行的O/R Mapping技術做了很好的講解,包括Indentity Field , Foreign Key Mapping , Association
內容來自《.NET本質論》代碼如下:public interface ICommon{void DoIt();}public class Base : ICommon{ void ICommon.DoIt(){ a(); }; public virtual void DoIt() { b(); }}public class Derived : Base , ICommon{ void ICommon.DoIt() { c(); } public new virtual void