多年前的一篇 https://dotblogs.com.tw/yc421206/archive/2009/03/24/7675.aspx 有寫到如何利用 InstallUtil 安裝 Windows Service,這次剛好碰到 Windows Service 專案,把部署過程自動化也是剛好而已
[Windows Service] 替 Windows Service 專案加上 Debug 模式
- 6105
- 0
- Windows Service
Windows Service 專案並不能直接按 F5 進入除錯模式,這對開發人員來說還挺麻煩的,對 Windows Service 專案按下 F5,它會不客氣的跳出一個對話視窗

[TFS 2017] 使用 Sandcastle 自動產生 Code Contract 說明文件
- 1454
- 0
- Living Document
- 2021-03-08
續上篇 https://dotblogs.com.tw/yc421206/2017/04/05/tfs_build_vnext_sandcastle_generate_live_document
我們已經自動化產生 API 說明文件了,若程式碼裡面有用到 Code Contract 還需要一些動作才能自動產生 Code Contract 的說明文件
[TFS 2017] 使用 Sandcastle 自動產生 API 說明文件
- 2841
- 0
- Living Document
- 2021-03-08
Sandcastle 是用來產生 .NET 文件,今天我要通過 TFS 自動化產生 .NET 說明文件
[TFS 2017.1] Build vNext Agent 不需要安裝 VS IDE 也能 Build
- 1176
- 0
- Team Foundation Server 2017
- 2018-02-09
TFS 2017 改變了 VSTest 的設定,也支援了測試涵蓋率,微軟漸漸的把功能慢慢的抽出來,不需要為了某個功能安裝一大包的東西,安裝體驗變得很不一樣,這裡要分享 TFS 2017 不需要安裝 VS IDE 也能建置的步驟
[TFS 2015.3] 安裝 Build vNext Agent
最近又需要用到 TFS 2015,設定到這裡的時候卡了一下,隨手記一下比較好....
[TFS 2015.3] Build vNext Agent 不需要安裝 VS IDE 也能 Build
- 877
- 0
- Team Foundation Server 2015
- 2018-03-27
一直以來認為 Build Agent 的環境要安裝 VS 才能 Build 不是很好,若不安裝 VS 能夠 Build 嗎?請教過其他高手(小白),也從網路上找資料,但一直試不成功,今天我終於成功了,泣
[XtraGrid] 實作分頁並整合 GridView 的排序、過濾
續上篇,接下來我要把 XtraGrid 的排序跟過濾拿出來
關鍵技術
- 過濾事件:ColumnFilterChanged
- 取出過濾語法:CriteriaToWhereClauseHelper.GetDynamicLinqWhere(op)
- 排序事件:複寫OnColumnSortInfoCollectionChanged
- 取出排序欄位:GridView.SortInfo
[XtraGrid] 實作動態載入明細
續上篇,這篇要分享的是展開 Master 後,去撈 Deatil 的資料
關鍵技巧
ViewModel:
Master 要有 Detail 屬性,型別要用 List<T>
MainView:
this.Master_GridView.OptionsDetail.AllowExpandEmptyDetails = true;
this.Master_GridView.MasterRowExpanding += this.Master_GridView_MasterRowExpanding;
[XtraGrid] 實作分頁控制項分頁
續上篇,這裡要分享的是分頁控制項的實作方式,給需要的夥伴