| 類別 | 軟件/版本 | 備註 |
|---|---|---|
| 作業系統 | Windows Server 2019/2022 | 內置 IIS 10 |
| .NET Runtime | .NET Framework 4.8 / .NET 6/8 | 按項目目標框架安裝 |
| 數據庫 | SQL Server 2019 Express / LocalDB | 或 MySQL/PostgreSQL |
| Web 服務器 | IIS 10 + URL Rewrite Module 2.1 | 偽靜態核心組件 |
| 其他 | VC++ Redistributable、第三方組件 | 按引用安裝 |
<system.webServer>
<rewrite>
<rules>
<rule name="Static" stopProcessing="true">
<match url="^(.*)$" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="/index.aspx?path={R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
不同路由庫 (UrlRewrite.NET、Microsoft.AspNet.FriendlyUrls) 配置不同,按項目引用庫查閱文檔。