Bmbsqd.JilMediaTypeFormatter - Json MediaTypeFormatter based on JIL

如果要將 Web API 的 JSON 處理改用 Jil 替換,我們可以使用 Bmbsqd.JilMediaTypeFormatter 這個 NuGet 套件。 ...

October 3, 2015 · 1 min · 116 words · Larry Nung

Jil - Ignore amp; Custom Element Name

使用 Jil 處理 JSON 時,如果要在序列化時忽略處理某特定屬性,可在其屬性加上 IgnoreDataMemberAttribute,像是下面這樣: ...

October 2, 2015 · 1 min · 340 words · Larry Nung

Jil - Serialize DateTime to ISO8601 Format

Jil 在做時間的序列化,預設出來的資料會跟 JavaSriptSerializer 一樣,會序列化成下面這個樣子: ...

September 30, 2015 · 1 min · 108 words · Larry Nung

Jil - Fast .NET JSON (De)Serializer

Jil 是 JSON 處理的套件,號稱比 JSON.NET 更快,甚至是當前套件中處理起來第二快的,僅次於 Protobuf。 ...

September 30, 2015 · 2 min · 515 words · Larry Nung

Boxing amp; UnBoxing

Boxing 是種隱含的處理,當 Value Type 物件塞到 Reference Type 時發生,會幫我們在 Managed Heap 建立一塊空間,並將本來 Value Type 的值賦予其中。 ...

September 21, 2015 · 2 min · 949 words · Larry Nung

PL/SQL amp; SQL CODING GUIDELINE 5 - Avoid using literals in your code

條款五,避免在程式中直接使用字串。 ...

September 21, 2015 · 1 min · 118 words · Larry Nung

PL/SQL amp; SQL CODING GUIDELINE 2 - Always have a matching loop or block label

條款二,如果程式中有迴圈區塊,為其加上 label 讓他的區塊範圍更為清楚。 ...

September 20, 2015 · 1 min · 132 words · Larry Nung

PL/SQL amp; SQL CODING GUIDELINE 1 - Try to label your sub blocks

條款一,如果程式中有子 block,嘗試使用 label 讓他的區塊範圍更為清楚。 ...

September 20, 2015 · 1 min · 119 words · Larry Nung

PL/SQL Cop for SQL Developer

PL/SQL Cop for SQL Developer 是 SQL Developer 的外掛元件,能幫靜態分析 PL/SQL 程式碼中哪些地方是寫的不好的。 ...

September 18, 2015 · 2 min · 536 words · Larry Nung

Code Analysis Error CA0058

最近抽空把開發中的專案設定了一下 Code Analysis,運行時發生了 CA0058 這個錯誤。 ...

September 18, 2015 · 1 min · 311 words · Larry Nung