C# 6.0 - Null propagation

— layout: post title: “C# 6.0 - Null propagation” date: 2014-08-21 00:03:00 comments: true tags: [CSharp, CSharp 6.0] keywords: “C#” description: “C# 6.0 - Null propagation” ...

August 21, 2014 · 1 min · 26 words · Larry Nung

Visual Studio 14 CTP 2 - Light Bulb Editor Adornment

Light Bulb Editor Adornment 是Visual Studio 14 的新功能,能讓開發人員快速識別及修正程式的錯誤。 ...

August 16, 2014 · 1 min · 194 words · Larry Nung

Auto assign assembly's build/revision number

在做軟體開發時,總是會碰到遞增產品版號的需求,通常這種時候我們會撰寫 Script 在建置之前對 Assembly.vs 檔內的版本資訊進行修改,以達到像這樣的需求。 ...

August 12, 2014 · 1 min · 277 words · Larry Nung

ReSharper - Heap Allocation Viewer Extension

Heap Allocation Viewer 是 Reshaper 的擴充套件,能將 Heap 相關的操作 (像是 Local object allocation、Boxing、Delegate creation、Closure creation ) 進行 Highlight。 ...

August 12, 2014 · 1 min · 296 words · Larry Nung

Visual Studio 14 CTP 2 - Save and Apply Custom IDE Layouts

Save and Apply Custom IDE Layouts 是 Visual Studio 14 所釋出的新功能,能讓開發人員儲存並套用 IDE 的版面配置。藉此開發人員可依不同的開發情境或是需求下去設置適合的版面配置。像是要專注於程式碼的撰寫時,我們可以配置一個以程式碼編輯區為主較不被打擾的版面配置;要撰寫單元測試,可配置一個嵌有測試結果視窗的版面配置。 ...

August 7, 2014 · 1 min · 289 words · Larry Nung

C# 6.0 - Exception filters

Exception filters 是預計要在 C# 6.0 釋出的新功能,目前已可在 Visual Studio 14 中透過設定將功能開啟進行體驗,只要在方案檔中加上: ...

July 30, 2014 · 1 min · 435 words · Larry Nung

Visual Studio - Use 64 Bit IISExpress

雖然 .Net 程式支援位元適應性,Visual Studio 也允許我們做 64 位元的網站開發,但 Visual Studio 預設啟用的 IISExpress 是 32位元的。 ...

July 27, 2014 · 1 min · 264 words · Larry Nung

T4MVC - Add Timestamp To Static Links

T4MVC 除了解決 ASP.NET MVC Magic String 的問題外,還能解決常見的網頁 Cache 問題。 ...

July 24, 2014 · 1 min · 103 words · Larry Nung

T4MVC - Generate a single file with everything

T4MVC 預設在產生程式碼時會依 Controller 產生不同的檔案,這樣會在專案目錄下產生很多的檔案,然而以自動產出的檔案來說,只要產生無誤,功能都正常,那麼產生的程式是不是照 Controller 分開,說實話一點都不重要。 ...

July 24, 2014 · 1 min · 199 words · Larry Nung

C# 6.0 - Using static members

Using static members 是預計要在 C# 6.0 釋出的新功能,目前已可在 Visual Studio 14 中透過設定將功能開啟進行體驗,只要在方案檔中加上: ...

July 21, 2014 · 1 min · 335 words · Larry Nung