<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ai on Iqduke Blog</title>
    <link>https://blog.wq.fakehistory.top/categories/ai/</link>
    <description>Recent content from Iqduke Blog</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    
    <managingEditor>iqduke@gmail.com (IQDUKE)</managingEditor>
    <webMaster>iqduke@gmail.com (IQDUKE)</webMaster>
    
    <copyright>本博客所有文章除特别声明外，均采用 BY-NC-SA 许可协议。转载请注明出处！</copyright>
    
    <lastBuildDate>Wed, 25 Mar 2026 10:34:59 +0800</lastBuildDate>
    
    
    <atom:link href="https://blog.wq.fakehistory.top/categories/ai/index.xml" rel="self" type="application/rss&#43;xml" />
    

    
    

    <item>
      <title>Aspire Dapr Ai Prompt</title>
      <link>https://blog.wq.fakehistory.top/post/technolog/aspire-dapr-ai-prompt/</link>
      <pubDate>Wed, 25 Mar 2026 10:34:59 &#43;0800</pubDate>
      <author>iqduke@gmail.com (IQDUKE)</author>
      <guid>https://blog.wq.fakehistory.top/post/technolog/aspire-dapr-ai-prompt/</guid>
      <description>
        <![CDATA[<h1>Aspire Dapr Ai Prompt</h1><p>作者：IQDUKE（iqduke@gmail.com）</p>
        
          <h2 id="一套可直接运行可直接上线生产的-net-10-完整微服务项目技术栈与架构提示词">
<a class="header-anchor" href="#%e4%b8%80%e5%a5%97%e5%8f%af%e7%9b%b4%e6%8e%a5%e8%bf%90%e8%a1%8c%e5%8f%af%e7%9b%b4%e6%8e%a5%e4%b8%8a%e7%ba%bf%e7%94%9f%e4%ba%a7%e7%9a%84-net-10-%e5%ae%8c%e6%95%b4%e5%be%ae%e6%9c%8d%e5%8a%a1%e9%a1%b9%e7%9b%ae%e6%8a%80%e6%9c%af%e6%a0%88%e4%b8%8e%e6%9e%b6%e6%9e%84%e6%8f%90%e7%a4%ba%e8%af%8d"></a>
一套可直接运行、可直接上线生产的 .NET 10 完整微服务项目，技术栈与架构提示词：
</h2><h3 id="技术栈">
<a class="header-anchor" href="#%e6%8a%80%e6%9c%af%e6%a0%88"></a>
技术栈：
</h3><ul>
<li>.NET 10</li>
<li>.NET Aspire（AppHost 项目编排、服务启动、生成 docker-compose）</li>
<li>Aspire Dashboard（独立容器，用于日志、指标、分布式追踪）</li>
<li>Dapr（服务调用、状态、事件总线）</li>
<li>YARP ApiGateway（统一API网关、路由转发）</li>
<li>JWT 认证授权（网关统一鉴权）</li>
<li>CORS（网关统一配置）</li>
<li>Nginx（唯一对外入口，反向代理，仅暴露 80 端口）</li>
<li>PostgreSQL 数据库</li>
<li>Redis 缓存</li>
<li>Docker + docker-compose 生产部署</li>
<li>dotnet add package ChainExecutor.NetCoreApp &ndash;version 2.0.0 使用该包，所有得业务使用这种链式调用</li>
</ul>
<h3 id="项目结构">
<a class="header-anchor" href="#%e9%a1%b9%e7%9b%ae%e7%bb%93%e6%9e%84"></a>
项目结构：
</h3><ol>
<li>
<p>AppHost：Aspire 编排项目，自动启动所有服务、Dapr Sidecar、数据库、Redis、网关</p>
        
        <hr><p>本文2026-03-25首发于<a href='https://blog.wq.fakehistory.top/'>Iqduke Blog</a>，最后修改于2026-03-25</p>]]>
      </description>
      
        <category>technolog</category><category>ai</category>
      
    </item>
    
  </channel>
</rss>
