原创 Design patterns V : Facade Pattern

/* Author: Jiangong SUN */ Facade Pattern (外觀模式) provides a unique interface to a set of methods of different subsyste

原创 Introduction to SharePoint hierarchy

/* Author: Jiangong SUN */ I've participated in a SharePoint 2010 project to build an intranet. Based on this experien

原创 SharePoint solution and feature management with PowerShell

/* Author: Jiangong SUN */ Hello,  I want to introduce SharePoint solution and feature management using powershell.

原创 ASP.NET - Application Life Cycle Principle

/* Author: Jiangong SUN */ Today, I want to share the knowledge about IIS, Application Life Cycle, request handling an

原创 How to disable Control + Space toggle key for switching to Chinese language ?

/* Author: Jiangong SUN */ The combined key Ctrl + Space for switching from en to cn is a default settings in Windows

原创 How to create custom snippet in Visual studio

/*Author: Jiangong SUN*/ To improve the programming productivity, you can your personal snippet in visual studio. If t

原创 SQL data reader reading data performance test

/*Author: Jiangong SUN*/ As I've manipulated a lot of data using SQL data reader in recent project. And people says it

原创 CSharp Algorithm - How to traverse binary tree by breadth (Part II)

/* Author: Jiangong SUN */ Here I will introduce the breadth first traversal of binary tree. The principe is that you

原创 How to unshelve a shelveset into another branch with TFS

/*Author : Jiangong SUN*/ If you have made a shelve in one branch, and want to unshelve it to another branch. This art

原创 CSharp Algorithm - Shell sort

/* Author: Jiangong SUN */ Shell algorithm is a sorting algorithm.  The principle is use a interval for switching two

原创 Some advice on tests

/*Author:Jiangong SUN*/ Many of us have created unit tests and integration tests, but some tests could be very huge. 

原创 CSharp Algorithm - Replace multiplication operator with a method

/* Author: Jiangong SUN */ How to replace multiplication operation with a method? For example, you have two integers a

原创 CSharp - Extension method usage

/* Author: Jiangong SUN */ Extension methods enable you to "add" methods to existing types without creating a new deri

原创 LINQ - Deferred execution

/* Author: Jiangong SUN */ Deferred Execution is used in LINQ, and it means the query is not executed when declaring it

原创 Design Patterns VI : Simple Factory, Factory Method, Abstract Factory

/*Author: Jiangong SUN*/ I want to introduce the factory patterns here, including Simple Factory, Factory Method and A