dotnet-hosting-2.2.8-win安装步骤详解(附IIS部署与AspNetCoreModule配置)
一、准备工作
dotnet-hosting-2.2.8-win安装步骤详解(附IIS部署与AspNetCoreModule配置)
一、准备工作
找到安装包
安装包下载:https://pan.quark.cn/s/826b519ee2be,下载好的 dotnet-hosting-2.2.8-win.exe放桌面或固定文件夹。
先确认 IIS 已安装(很重要)
控制面板 → 程序 → 启用或关闭 Windows 功能 → 勾选 Internet Information Services (IIS)。
建议先装好 IIS,再装此 Hosting Bundle,否则可能要重装修复。
用管理员身份运行(必须)
右键 dotnet-hosting-2.2.8-win.exe→ 选”以管理员身份运行”。
二、安装步骤
双击运行安装包(右键过就直接双击)。
首屏许可条款 → 勾选 “I agree…”(我同意)”。
点 “Install(安装)”。
等待进度条走完(自动部署 .NET Core 运行时 + AspNetCoreModuleV2)。
完成 → 点 “Close / Finish(关闭)”。
重启 IIS:开始菜单搜 cmd(管理员)→ 输入 iisreset回车。
三、验证是否装好
打开 IIS 管理器(inetmgr)。
点击左侧你的计算机名(根节点)。
中间双击 “模块(Modules)”。
列表里有 AspNetCoreModule 和 AspNetCoreModuleV2 → ✅ 装好了,IIS 能跑 .NET Core 网站。
메타데이터
- post_id
- f64f28a34d1b
- slug
- dotnet-hosting-2-2-8-win安装步骤详解-附iis部署与aspnetcoremodule配置-f64f28a34d1b
- url
- https://medium.com/@xinling3539/dotnet-hosting-2-2-8-win%E5%AE%89%E8%A3%85%E6%AD%A5%E9%AA%A4%E8%AF%A6%E8%A7%A3-%E9%99%84iis%E9%83%A8%E7%BD%B2%E4%B8%8Easpnetcoremodule%E9%85%8D%E7%BD%AE-f64f28a34d1b
- canonical_url
- https://medium.com/@xinling3539/dotnet-hosting-2-2-8-win%E5%AE%89%E8%A3%85%E6%AD%A5%E9%AA%A4%E8%AF%A6%E8%A7%A3-%E9%99%84iis%E9%83%A8%E7%BD%B2%E4%B8%8Easpnetcoremodule%E9%85%8D%E7%BD%AE-f64f28a34d1b
- author_url
- https://medium.com/@xinling3539
- status
- ok
- fetched_at
- 2026-06-12 07:40:50