Junlong WangC#- Basics about building custom ExpressionThis short article tries to explain the relationship between classes that are used to build a custom Expression, and the basic steps to do…Apr 10, 2019Apr 10, 2019
Junlong WangOverview of SOLID PrinciplesIf a class has more than one reasons to change, it may leads two teams to work on the same class, which means this class is hard to be…Aug 10, 2018Aug 10, 2018
Junlong WangSQL — Mistakes using LEFT JOIN, Sub-query and SELECTA recent ticket did give me a good chance to look back at JOIN, Sub-query and SELECT, and most importantly, to think what happens when…Jul 12, 20181Jul 12, 20181
Junlong WangSQL Data Type Casting With CASEWhen we are doing SELECT from database, there's an interesting data type casting if we use CASE expression.Jul 12, 2018Jul 12, 2018
Junlong WangUsing Generic Repository with DbContextWhen using Repository pattern, we can have a Generic Repository that has the DbContext type property that stores all DbSets. When other…Jun 20, 2018Jun 20, 2018
Junlong WangEvent handlers for HttpApplication — Global.asax.csEvent handlers for HttpApplication events are stored in file Global.asax.csMay 2, 2018May 2, 2018
Junlong WangExperience from external ticketThe time spent on maintenance should be under 10 percent of the total working hour, which means we should fix it as quick as possible. But…Apr 5, 2018Apr 5, 2018
Junlong WangKnow whether you’re fixing a bugWhen dealing with a new external ticket, I might think of reproducing the bug/issue, analysing, locating and debugging, but I didn’t…Apr 5, 2018Apr 5, 2018