在本地不进入visual studio运行网站的方法

1、快捷键
Win + R → 输入 cmd → 回车
开始菜单
右键点击"开始"按钮 → "终端" 或 "Windows PowerShell"
2、
# 进入项目目录后 dotnet run # 或指定端口 dotnet run --urls="http://localhost:5000"
3、打开浏览器
输入 http://localhost:5000
posted @ 2026-05-21 09:41  Biyuanguang  阅读(18)  评论(0)    收藏  举报