﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title><![CDATA[Donma Lab | 當麻實驗室]]></title>
    <link>https://donmalab.com/</link>
    <description><![CDATA[Donma Lab — Blog / AI Viewpoint / Github Repos.]]></description>
    <language>zh-TW</language>
    <atom:link href="https://donmalab.com/rss/blog.xml" rel="self" type="application/rss+xml"/>
    <item>
  <title><![CDATA[ .NET 10 如何動態載入 cshtml？使用 RazorEngineCore 實現免重新編譯]]></title>
  <link>https://donmalab.com/articles/dotnet-10-dynamic-razor-template-razorenginecore-202608070726</link>
  <guid isPermaLink="true">https://donmalab.com/articles/dotnet-10-dynamic-razor-template-razorenginecore-202608070726</guid>
  <pubDate>Fri, 07 Aug 2026 15:27:00 GMT</pubDate>
  <description><![CDATA[解決 ASP.NET Core Razor Pages 預設編譯進 DLL 的問題，透過 RazorEngineCore 實作執行期載入 .cshtml 模板，讓設計師或 AI Agent 能直接修改頁面樣式而無需重新發佈網站。]]></description>
</item>
<item>
  <title><![CDATA[[C#] Agnes AI 影片生成 API 教學：自動產生影片並下載 MP4]]></title>
  <link>https://donmalab.com/articles/agnes-ai-video-generation-api-csharp-guide-202608040822</link>
  <guid isPermaLink="true">https://donmalab.com/articles/agnes-ai-video-generation-api-csharp-guide-202608040822</guid>
  <pubDate>Tue, 04 Aug 2026 16:22:00 GMT</pubDate>
  <description><![CDATA[詳細介紹如何使用 Agnes AI 的 agnes-video-v2.0 模型透過 API 生成 AI 影片。包含 C# 完整程式碼、非同步任務輪詢流程以及影片下載的注意事項。]]></description>
</item>
<item>
  <title><![CDATA[[C#] 串接 Agnes AI 生圖 API：agnes-image-2.1-flash 完整實作 ]]></title>
  <link>https://donmalab.com/articles/csharp-agnes-ai-image-generation-api-202607310720</link>
  <guid isPermaLink="true">https://donmalab.com/articles/csharp-agnes-ai-image-generation-api-202607310720</guid>
  <pubDate>Fri, 31 Jul 2026 15:22:00 GMT</pubDate>
  <description><![CDATA[詳細教學如何使用 C# HttpClient 呼叫 Agnes AI 的 agnes-image-2.1-flash API 產生圖片，包含完整程式碼、API Key 取得步驟及免費帳號 RPM 限制說明。]]></description>
</item>
<item>
  <title><![CDATA[Chrome 內建 AI 模型，直接從網頁呼叫]]></title>
  <link>https://donmalab.com/articles/chrome-ai-202607200255</link>
  <guid isPermaLink="true">https://donmalab.com/articles/chrome-ai-202607200255</guid>
  <pubDate>Mon, 20 Jul 2026 10:56:00 GMT</pubDate>
  <description><![CDATA[Chrome 已可透過 JavaScript 呼叫瀏覽器管理的內建 AI 模型，不需要 API Key，也不用安裝 Ollama。本文實際測試 LanguageModel API，說明如何判斷裝置是否支援模型、建立 Session 並取得回應，同時整理 iframe、file://、模型下載與執行環]]></description>
</item>
<item>
  <title><![CDATA[[C#] 解決 GitHub 圖片 429 錯誤：轉換 jsDelivr CDN 網址]]></title>
  <link>https://donmalab.com/articles/c-github-429-jsdelivr-cdn-202607100620</link>
  <guid isPermaLink="true">https://donmalab.com/articles/c-github-429-jsdelivr-cdn-202607100620</guid>
  <pubDate>Fri, 10 Jul 2026 14:21:00 GMT</pubDate>
  <description><![CDATA[GitHub Raw 圖片在單一 Client 短時間大量存取時，可能出現 429 Too Many Requests。本篇記錄如何將 GitHub Raw 與 Blob 圖片網址改寫為 jsDelivr CDN，並提供可直接使用的 C# Function，快速解決既有 Blog 圖片載入與限流問題。]]></description>
</item>
<item>
  <title><![CDATA[AI 眼中的美到底長怎樣？我燒 token 做了一批網站樣板實驗]]></title>
  <link>https://donmalab.com/articles/ai-design-aesthetic-experiment-omniscient-202606150658</link>
  <guid isPermaLink="true">https://donmalab.com/articles/ai-design-aesthetic-experiment-omniscient-202606150658</guid>
  <pubDate>Mon, 15 Jun 2026 15:00:00 GMT</pubDate>
  <description><![CDATA[透過讓 Qwen, Gemini, Claude, DeepSeek 等多個 AI 模型大量產出網站樣板，探索 AI 在面對「美」與「高質感」等抽象要求時的設計習慣與邏輯。]]></description>
</item>
<item>
  <title><![CDATA[小米 Mimo2.5 Pro 免費 Token 實測：接 opencode 掃描 C# 專案心得]]></title>
  <link>https://donmalab.com/articles/xiaomi-mimo2-5-pro-creator-incentive-plan-opencode-test-202605040746</link>
  <guid isPermaLink="true">https://donmalab.com/articles/xiaomi-mimo2-5-pro-creator-incentive-plan-opencode-test-202605040746</guid>
  <pubDate>Mon, 04 May 2026 15:47:00 GMT</pubDate>
  <description><![CDATA[分享如何申請小米 Mimo2.5 Pro 百萬億創造者激勵計畫，並詳細教學如何串接 opencode，包含關鍵的 Provider 設定以及分析 1.5 萬行程式碼的實測數據。]]></description>
</item>
<item>
  <title><![CDATA[CopilotClawD 開發心得：用 GitHub Copilot 打造可控的 AI Coding Agent]]></title>
  <link>https://donmalab.com/articles/copilotclawd-github-copilot-ai-coding-agent-202604301433</link>
  <guid isPermaLink="true">https://donmalab.com/articles/copilotclawd-github-copilot-ai-coding-agent-202604301433</guid>
  <pubDate>Thu, 30 Apr 2026 14:33:41 GMT</pubDate>
  <description><![CDATA[This article shares my experience building CopilotClawD, a small AI coding agent based on GitHub Copilot SDK. Instead of chasing a powerful all-in-one]]></description>
</item>
<item>
  <title><![CDATA[一句「幫我編譯、執行、開 Edge、截圖」，Agent 到底跟 LLM 講了什麼？]]></title>
  <link>https://donmalab.com/articles/ai-edge-agent-llm-202604301441</link>
  <guid isPermaLink="true">https://donmalab.com/articles/ai-edge-agent-llm-202604301441</guid>
  <pubDate>Mon, 20 Apr 2026 22:41:00 GMT</pubDate>
  <description><![CDATA[這篇文章用「幫我編譯、執行、開 Edge、截圖」這個例子，拆解 AI Agent 與 LLM 的分工。LLM 不是自己做事，而是判斷下一步與產生 tool call；真正執行 build、run、開瀏覽器、截圖的是 Agent 與 tools。重點是理解 orchestration、context、]]></description>
</item>
<item>
  <title><![CDATA[不用本地部署也能玩 Gemma 4，OpenCode 搭配 Google AI Studio 實測]]></title>
  <link>https://donmalab.com/articles/gemma-4-opencode-google-ai-studio-202604301449</link>
  <guid isPermaLink="true">https://donmalab.com/articles/gemma-4-opencode-google-ai-studio-202604301449</guid>
  <pubDate>Thu, 09 Apr 2026 22:49:00 GMT</pubDate>
  <description><![CDATA[這篇整理 OpenCode 接入 Google AI Studio 使用 Gemma 4 的實測流程，包含 API Key 建立、模型啟用方式、目前限制與使用心得，適合想免本地部署直接上手測試的人。]]></description>
</item>
<item>
  <title><![CDATA[不走 Ollama，我用 C# + llama.cpp 把 Gemma 4 本地跑起來]]></title>
  <link>https://donmalab.com/articles/ollama-c-llama-cpp-gemma-4-202604301453</link>
  <guid isPermaLink="true">https://donmalab.com/articles/ollama-c-llama-cpp-gemma-4-202604301453</guid>
  <pubDate>Wed, 08 Apr 2026 22:53:00 GMT</pubDate>
  <description><![CDATA[這篇記錄用 C# 直接接 llama.cpp，繞開 Ollama，拿最近很紅的 Gemma 4 最小模型做本機聊天系統測試。內容包含踩坑、串流輸出處理，還有 Web 與 Console 實際成果。]]></description>
</item>
<item>
  <title><![CDATA[NVIDIA Build 太香了吧？搭配 OpenCode 免費幫你寫程式]]></title>
  <link>https://donmalab.com/articles/nvidia-build-opencode-202604301458</link>
  <guid isPermaLink="true">https://donmalab.com/articles/nvidia-build-opencode-202604301458</guid>
  <pubDate>Tue, 31 Mar 2026 22:59:00 GMT</pubDate>
  <description><![CDATA[用 NVIDIA Build 搭配 OpenCode，免費體驗 AI 幫你寫程式。本文整理註冊、取得 API Key、模型設定與使用重點。]]></description>
</item>
<item>
  <title><![CDATA[C# 串 GitHub Copilot CLI 實測，不用 Visual Studio 也能讓 AI 幫忙寫程式]]></title>
  <link>https://donmalab.com/articles/c-github-copilot-cli-visual-studio-ai-202604301511</link>
  <guid isPermaLink="true">https://donmalab.com/articles/c-github-copilot-cli-visual-studio-ai-202604301511</guid>
  <pubDate>Thu, 19 Mar 2026 23:11:00 GMT</pubDate>
  <description><![CDATA[這篇記錄實際測試如何不靠 Visual Studio 或 VS Code，直接用 GitHub Copilot CLI 搭配 C# 與 GitHub Copilot SDK 呼叫模型產生程式碼，也順手比較 gpt-4.1 和 gpt-5-mini 的差異，整理成可直接上手的做法。]]></description>
</item>
<item>
  <title><![CDATA[Async 常見誤區：不是所有方法都需要 async Task]]></title>
  <link>https://donmalab.com/articles/async-async-task-202604301518</link>
  <guid isPermaLink="true">https://donmalab.com/articles/async-async-task-202604301518</guid>
  <pubDate>Fri, 06 Mar 2026 23:19:00 GMT</pubDate>
  <description><![CDATA[本文整理 C# async 在實務開發中常見的幾個觀念，包括 Task 與 ValueTask 的差異、什麼是 Hot Path，以及 allocation 對效能的影響。透過簡單範例說明什麼情況適合使用 ValueTask，並提醒並不是所有方法都需要寫成 async，幫助釐清 async 使用時常]]></description>
</item>
<item>
  <title><![CDATA[用 AI 重現 Zune Now Playing 的 Tile 特效]]></title>
  <link>https://donmalab.com/articles/ai-zune-now-playing-tile-202604301647</link>
  <guid isPermaLink="true">https://donmalab.com/articles/ai-zune-now-playing-tile-202604301647</guid>
  <pubDate>Sun, 22 Feb 2026 00:48:00 GMT</pubDate>
  <description><![CDATA[把以前很喜歡的 Zune Now Playing 畫面，用 HTML、CSS、JavaScript 重新做回來，包含動態專輯拼貼背景、播放控制，還有一些實作時真的會卡住的細節調整。]]></description>
</item>
<item>
  <title><![CDATA[C# 中 Record 與 class 的真正差別，其實不在語法]]></title>
  <link>https://donmalab.com/articles/record-vs-class-design-intent-202604301706</link>
  <guid isPermaLink="true">https://donmalab.com/articles/record-vs-class-design-intent-202604301706</guid>
  <pubDate>Wed, 04 Feb 2026 01:07:00 GMT</pubDate>
  <description><![CDATA[record 與 class 的差異，重點不在怎麼寫，而在於你怎麼看待這個型別在系統中的角色..]]></description>
</item>
<item>
  <title><![CDATA[[C#] 從 try/catch 到 Result Pattern：讓錯誤回到主流程的寫法]]></title>
  <link>https://donmalab.com/articles/csharp-result-pattern-handle-expected-failure-202604301710</link>
  <guid isPermaLink="true">https://donmalab.com/articles/csharp-result-pattern-handle-expected-failure-202604301710</guid>
  <pubDate>Mon, 02 Feb 2026 01:11:00 GMT</pubDate>
  <description><![CDATA[Use Result Pattern in C# to handle expected business failures instead of throwing exceptions, improving readability, control flow, and testability.]]></description>
</item>
<item>
  <title><![CDATA[[C#] 處理農曆及潤月自由輸入生日的 DateTime 解析]]></title>
  <link>https://donmalab.com/articles/csharp-parse-roc-lunar-date-with-leap-month-202605010756</link>
  <guid isPermaLink="true">https://donmalab.com/articles/csharp-parse-roc-lunar-date-with-leap-month-202605010756</guid>
  <pubDate>Sat, 17 Jan 2026 15:56:00 GMT</pubDate>
  <description><![CDATA[分享如何使用 C# 與 TaiwanLunisolarCalendar 實作一個日期解析工具，將使用者自由輸入的國曆、民國或農曆字串（包含潤月、中文月份與日期）轉換為 DateTime 物件。]]></description>
</item>
<item>
  <title><![CDATA[[C#] 別再手寫 Select - Facet.Net 扁平化 Model 的優點與實務限制]]></title>
  <link>https://donmalab.com/articles/facet-net-data-model-flattening-202604301715</link>
  <guid isPermaLink="true">https://donmalab.com/articles/facet-net-data-model-flattening-202604301715</guid>
  <pubDate>Thu, 15 Jan 2026 01:16:00 GMT</pubDate>
  <description><![CDATA[介紹小眾套件 Facet.Net 如何透過簡單的 Attribute 將複雜的巢狀資料模型扁平化，減少重複的 Mapping 程式碼，適合快速開發 API 輸出。]]></description>
</item>
<item>
  <title><![CDATA[[C#] 還在手寫 .Select 轉換 ? 改用 Expression 讓你的 LINQ 查詢高效又好維護]]></title>
  <link>https://donmalab.com/articles/useful-linq-expression-projections-202604301719</link>
  <guid isPermaLink="true">https://donmalab.com/articles/useful-linq-expression-projections-202604301719</guid>
  <pubDate>Wed, 14 Jan 2026 01:19:00 GMT</pubDate>
  <description><![CDATA[探討在 C# 中將資料庫物件轉換為 API 輸出模型的三種方法，分析為何使用 Expression 能提高程式碼的共用性與維護性。]]></description>
</item>
<item>
  <title><![CDATA[[C#] CancellationToken 一直都有寫，但專案其實從來沒有真的取消過]]></title>
  <link>https://donmalab.com/articles/csharp-cancellationtoken-common-mistakes-async-refactor-202605010800</link>
  <guid isPermaLink="true">https://donmalab.com/articles/csharp-cancellationtoken-common-mistakes-async-refactor-202605010800</guid>
  <pubDate>Mon, 12 Jan 2026 16:01:00 GMT</pubDate>
  <description><![CDATA[分享在 .NET 非同步化重構中，關於 CancellationToken 的五個常見錯誤寫法與正確實作方式，避免在 async/await 流程中失效的取消機制。]]></description>
</item>
<item>
  <title><![CDATA[[C#] Server 與 Client 全程走 MessagePack：一個 .NET 10 Web API 的實作紀錄]]></title>
  <link>https://donmalab.com/articles/dotnet-10-messagepack-web-api-example-202605010807</link>
  <guid isPermaLink="true">https://donmalab.com/articles/dotnet-10-messagepack-web-api-example-202605010807</guid>
  <pubDate>Wed, 07 Jan 2026 23:58:00 GMT</pubDate>
  <description><![CDATA[學習如何在 .NET 10 中實作一個僅接受 MessagePack 的 Web API，包含 Server 端控制器設定與 Client 端呼叫範例，提升 Server-to-Server 溝通效能。]]></description>
</item>
  </channel>
</rss>