{"id":77690,"date":"2026-02-25T07:19:43","date_gmt":"2026-02-24T23:19:43","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/77690.html"},"modified":"2026-02-25T07:19:43","modified_gmt":"2026-02-24T23:19:43","slug":"vue3-element-plus%e9%a1%b9%e7%9b%ae%e5%92%8cc-net-7-0-core%e5%90%8e%e7%ab%afapi%e9%a1%b9%e7%9b%ae%e5%8f%91%e5%b8%83%e9%83%a8%e7%bd%b2%e5%88%b0%e6%9c%8d%e5%8a%a1%e5%99%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/77690.html","title":{"rendered":"Vue3 + Element Plus\u9879\u76ee\u548cC# .Net 7.0 Core\u540e\u7aefAPI\u9879\u76ee\u53d1\u5e03\u90e8\u7f72\u5230\u670d\u52a1\u5668"},"content":{"rendered":"<p>Vue3 &#043; Element Plus\u9879\u76ee\u548cC# .Net 7.0 Core\u540e\u7aefAPI\u9879\u76ee\u53d1\u5e03\u90e8\u7f72\u5230\u670d\u52a1\u5668&#xff0c;\u8fd9\u662f\u524d\u540e\u7aef\u5206\u79bb\u7684&#xff0c;\u4e2d\u95f4\u9047\u5230\u4e86\u5f88\u591a\u95ee\u9898&#xff0c;\u7ec8\u4e8e\u5f04\u597d\u4e86&#xff0c;\u7279\u6b64\u8bb0\u5f55<\/p>\n<p id=\"main-toc\">\u76ee\u5f55<\/p>\n<p id=\"%23%20Vue%E5%89%8D%E7%AB%AF%E5%9C%A8%E6%9C%8D%E5%8A%A1%E5%99%A8%E9%83%A8%E7%BD%B2-toc\" style=\"margin-left:0px\">Vue\u524d\u7aef\u5728\u6d4b\u8bd5\u670d\u52a1\u5668\u90e8\u7f72<\/p>\n<p id=\"%E7%AC%AC%E4%B8%80%E7%A7%8D-toc\" style=\"margin-left:40px\">\u7b2c\u4e00\u79cd<\/p>\n<p id=\"%E7%AC%AC%E4%BA%8C%E7%A7%8D-toc\" style=\"margin-left:40px\">\u7b2c\u4e8c\u79cd<\/p>\n<p id=\"%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%89%8D%E7%AB%AF%E9%83%A8%E7%BD%B2-toc\" style=\"margin-left:40px\">\u670d\u52a1\u5668\u524d\u7aef\u90e8\u7f72<\/p>\n<p id=\"C%23%20%E5%90%8E%E7%AB%AF%E5%8F%91%E5%B8%83%E5%88%B0%E6%9C%8D%E5%8A%A1%E5%99%A8%EF%BC%8C%E9%83%A8%E7%BD%B2-toc\" style=\"margin-left:0px\">C# \u540e\u7aef\u53d1\u5e03\u5230\u6d4b\u8bd5\u670d\u52a1\u5668\u548c\u90e8\u7f72<\/p>\n<p id=\"%E5%8F%91%E5%B8%83%E9%A1%B9%E7%9B%AE-toc\" style=\"margin-left:40px\">\u53d1\u5e03\u9879\u76ee<\/p>\n<p id=\"HTTP%20404%E9%94%99%E8%AF%AF-toc\" style=\"margin-left:40px\">HTTP 404\u9519\u8bef<\/p>\n<p id=\"%C2%A0%E4%BF%AE%E6%94%B9Program.cs%E6%96%87%E4%BB%B6-toc\" style=\"margin-left:40px\">\u00a0\u4fee\u6539Program.cs\u6587\u4ef6<\/p>\n<p id=\"%E9%85%8D%E7%BD%AEIIS%E7%9A%84%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E6%B1%A0-toc\" style=\"margin-left:40px\">\u914d\u7f6eIIS\u7684\u5e94\u7528\u7a0b\u5e8f\u6c60<\/p>\n<p id=\"%E5%AE%89%E8%A3%85ASP%20.NET%20Core%207.0%20runtime%E8%BF%90%E8%A1%8C%E6%97%B6%20Hosting%20Bundle-toc\" style=\"margin-left:40px\">\u5b89\u88c5ASP .NET Core 7.0 runtime\u8fd0\u884c\u65f6 Hosting Bundle<\/p>\n<p id=\"%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%9A%84%E6%B5%8F%E8%A7%88%E5%99%A8%E6%9C%AC%E5%9C%B0%E6%B5%8B%E8%AF%95-toc\" style=\"margin-left:40px\">\u670d\u52a1\u5668\u7684\u6d4f\u89c8\u5668\u672c\u5730\u6d4b\u8bd5<\/p>\n<p id=\"%E9%98%B2%E7%81%AB%E5%A2%99%E7%9A%84%E9%85%8D%E7%BD%AE-toc\" style=\"margin-left:0px\">\u9632\u706b\u5899\u7684\u914d\u7f6e<\/p>\n<p id=\"%E5%A4%96%E9%9D%A2%E6%B5%8F%E8%A7%88%E5%99%A8%E6%B5%8B%E8%AF%95-toc\" style=\"margin-left:40px\">\u5916\u9762\u6d4f\u89c8\u5668\u6d4b\u8bd5<\/p>\n<p id=\"%E6%95%B0%E6%8D%AE%E5%BA%93%E5%88%86%E7%A6%BB%E7%9A%84%E9%97%AE%E9%A2%98-toc\" style=\"margin-left:40px\">\u6570\u636e\u5e93\u5206\u79bb\u7684\u95ee\u9898<\/p>\n<p id=\"%E5%85%B3%E9%94%AE%E4%BB%A3%E7%A0%81%E5%92%8C%E6%AD%A5%E9%AA%A4-toc\" style=\"margin-left:0px\">\u5173\u952e\u4ee3\u7801\u548c\u6b65\u9aa4<\/p>\n<p id=\"C%23%E7%9A%84Program.cs%E6%96%87%E4%BB%B6-toc\" style=\"margin-left:40px\">C#\u7684Program.cs\u6587\u4ef6<\/p>\n<p id=\"C%23%E7%9A%84Web.config-toc\" style=\"margin-left:40px\">C#\u7684Web.config<\/p>\n<p id=\"Vue%E7%9A%84%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%E6%96%87%E4%BB%B6%E9%85%8D%E7%BD%AE-toc\" style=\"margin-left:40px\">Vue\u7684\u73af\u5883\u53d8\u91cf\u6587\u4ef6\u914d\u7f6e<\/p>\n<p id=\".env.test-toc\" style=\"margin-left:80px\">.env.test<\/p>\n<p id=\"package.json-toc\" style=\"margin-left:80px\">package.json<\/p>\n<p id=\"wwwroot%E6%96%87%E4%BB%B6%E5%A4%B9-toc\" style=\"margin-left:40px\">wwwroot\u6587\u4ef6\u5939<\/p>\n<p id=\"%E6%95%B0%E6%8D%AE%E5%BA%93%E7%9A%84%E9%99%84%E5%8A%A0-toc\" style=\"margin-left:40px\">\u6570\u636e\u5e93\u7684\u9644\u52a0<\/p>\n<p id=\"%E6%9C%8D%E5%8A%A1%E5%99%A8IIS%E7%9A%84%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E6%B1%A0%E7%9A%84%E9%85%8D%E7%BD%AE-toc\" style=\"margin-left:40px\">\u670d\u52a1\u5668IIS\u7684\u5e94\u7528\u7a0b\u5e8f\u6c60\u7684\u914d\u7f6e<\/p>\n<p id=\"%E5%AE%89%E8%A3%85ASP%20.NET%20Core%207.0%20runtime%20hosting-bundle-runtime-aspnetcore-7.0.9-windows-hosting-bundle-installer-toc\" style=\"margin-left:40px\">\u5b89\u88c5ASP .NET Core 7.0 runtime hosting-bundle-runtime-aspnetcore-7.0.9-windows-hosting-bundle-installer<\/p>\n<p id=\"%E4%B8%8B%E8%BD%BD%E5%AE%89%E8%A3%85%E5%8C%85-toc\" style=\"margin-left:80px\">\u4e0b\u8f7d\u5b89\u88c5\u5305<\/p>\n<p id=\"%E7%BD%91%E7%AB%99%E6%A0%B9%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84-toc\" style=\"margin-left:80px\">\u7f51\u7ad9\u6839\u76ee\u5f55\u7ed3\u6784<\/p>\n<hr id=\"hr-toc\" \/>\n<\/p>\n<\/p>\n<h2 id=\"%23%20Vue%E5%89%8D%E7%AB%AF%E5%9C%A8%E6%9C%8D%E5%8A%A1%E5%99%A8%E9%83%A8%E7%BD%B2\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#be191c\"><span style=\"background-color:#fef2f0\">Vue\u524d\u7aef\u5728\u6d4b\u8bd5\u670d\u52a1\u5668\u90e8\u7f72<\/span><\/span><\/h2>\n<\/p>\n<p style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#1e4e79\">\u6d4b\u8bd5\u4e00\u4e0b\u53d1\u5e03\u5230\u6d4b\u8bd5\u670d\u52a1\u5668<\/span><\/p>\n<h3 id=\"%E7%AC%AC%E4%B8%80%E7%A7%8D\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#0d0016\"><span style=\"background-color:#c7e6ea\">\u7b2c\u4e00\u79cd<\/span><\/span><\/h3>\n<p style=\"margin-left:0;margin-right:0\">\u70b9\u51fb\u201c\u5de5\u5177\u201d&#xff0c;\u70b9\u51fb\u201c\u5916\u90e8\u547d\u4ee4\u201d&#xff0c;\u70b9\u51fb\u201cnpm run build:test\u201c&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"523\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224231936-699e3208b1e47.png\" width=\"1033\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"466\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224231937-699e320910c5a.png\" width=\"961\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<h3 id=\"%E7%AC%AC%E4%BA%8C%E7%A7%8D\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#0d0016\"><span style=\"background-color:#e7fafa\">\u7b2c\u4e8c\u79cd<\/span><\/span><\/h3>\n<p style=\"margin-left:0;margin-right:0\">\u76f4\u63a5\u5728\u7ec8\u7aef\u8f93\u5165\u547d\u4ee4&#xff1a;\u201dnpm run build:test\u201c&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"544\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224231937-699e320940619.png\" width=\"879\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"403\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224231937-699e32097506d.png\" width=\"1049\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"397\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224231937-699e3209be795.png\" width=\"783\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"406\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224231937-699e3209ef7a8.png\" width=\"1035\" \/><\/p>\n<h3 id=\"%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%89%8D%E7%AB%AF%E9%83%A8%E7%BD%B2\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#0d0016\"><span style=\"background-color:#e7fafa\">\u670d\u52a1\u5668\u524d\u7aef\u90e8\u7f72<\/span><\/span><\/h3>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"697\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224231938-699e320a480c8.png\" width=\"1423\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"517\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224231938-699e320aa113c.png\" width=\"1025\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"600\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224231938-699e320ad1779.png\" width=\"1116\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"677\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224231939-699e320b2d1ae.png\" width=\"1346\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"599\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224231939-699e320b7db10.png\" width=\"1212\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"596\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224231939-699e320bc93f4.png\" width=\"1021\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"704\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224231940-699e320c08739.png\" width=\"1505\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"594\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224231940-699e320c688bb.png\" width=\"1501\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"523\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224231940-699e320cb6ec6.png\" width=\"1263\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"548\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224231941-699e320d1927a.png\" width=\"1033\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"561\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224231941-699e320d6ad8c.png\" width=\"1128\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"371\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224231941-699e320db48af.png\" width=\"821\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">npm\u00a0run\u00a0build:test<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"854\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224231941-699e320dd987c.png\" width=\"1158\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"386\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224231942-699e320e52839.png\" width=\"969\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"659\" src=\"2026-02-25ld044zzp4vj.png\" width=\"1470\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<h2 id=\"C%23%20%E5%90%8E%E7%AB%AF%E5%8F%91%E5%B8%83%E5%88%B0%E6%9C%8D%E5%8A%A1%E5%99%A8%EF%BC%8C%E9%83%A8%E7%BD%B2\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#be191c\"><span style=\"background-color:#fef2f0\">C# \u540e\u7aef\u53d1\u5e03\u5230\u6d4b\u8bd5\u670d\u52a1\u5668\u548c\u90e8\u7f72<\/span><\/span><\/h2>\n<h3 id=\"%E5%8F%91%E5%B8%83%E9%A1%B9%E7%9B%AE\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#1c7892\"><span style=\"background-color:#e7fafa\">\u53d1\u5e03\u9879\u76ee<\/span><\/span><\/h3>\n<p style=\"margin-left:0;margin-right:0\">\u53f3\u51fb\u9009\u62e9\u9879\u76ee&#xff0c;\u70b9\u51fb\u201c\u53d1\u5e03\u201d&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"510\" src=\"2026-02-25yrwz3xk1d3a.png\" width=\"1143\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u9009\u62e9\u201c\u6587\u4ef6\u5939\u201d&#xff0c;\u70b9\u51fb\u201c\u4e0b\u4e00\u6b65\u201d&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"653\" src=\"2026-02-25hx21szrpo3r.png\" width=\"1131\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u70b9\u51fb\u201c\u5b8c\u6210\u201d&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"564\" src=\"2026-02-25vo3h2xfo3u1.png\" width=\"804\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u70b9\u51fb\u201c\u5173\u95ed\u201d&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"564\" src=\"2026-02-25s12gvzbrvuy.png\" width=\"804\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u70b9\u51fb\u201c\u53d1\u5e03\u201d&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"586\" src=\"2026-02-25jj23wvcmm5k.png\" width=\"1024\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u53d1\u5e03\u5b8c\u6210&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"527\" src=\"2026-02-255oybphyxgmc.png\" width=\"1029\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u70b9\u51fb\u201c\u6253\u5f00\u6587\u4ef6\u5939\u201d&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"580\" src=\"2026-02-25gsc3xqnap4r.png\" width=\"982\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"807\" src=\"2026-02-25wn2lwofecar.png\" width=\"967\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"564\" src=\"2026-02-25b3nxsknkb2w.png\" width=\"1070\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"575\" src=\"2026-02-25olnupqcitns.png\" width=\"1217\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"662\" src=\"2026-02-25ino3iu5ptoj.png\" width=\"1034\" \/><\/p>\n<h3 id=\"HTTP%20404%E9%94%99%E8%AF%AF\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#0d0016\"><span style=\"background-color:#e7fafa\">HTTP 404\u9519\u8bef<\/span><\/span><\/h3>\n<p style=\"margin-left:0;margin-right:0\">\u4f46\u662f \u6211404\u9519\u8bef\u4e86&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"750\" src=\"2026-02-254mk0roeao3h.png\" width=\"1605\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><span style=\"background-color:#ffff99\">\u8fd9\u4e0b\u6ca1\u5934\u7eea\u4e86&#xff0c;\u53bb\u7f51\u4e0a\u641c\u4e86\u4e00\u5806\u8d44\u6599&#xff0c;\u5f88\u591a\u90fd\u63a8\u8350\u5728\u8fd9\u4e2a<\/span><span style=\"background-color:#ffff99\">C#<\/span><span style=\"background-color:#ffff99\">\u7684\u53d1\u5e03\u76ee\u5f55\u91cc\u9762&#xff0c;\u52a0\u4e0a<\/span><span style=\"background-color:#ffff99\">wwwroot<\/span><span style=\"background-color:#ffff99\">\u6587\u4ef6\u5939&#xff0c;\u6211\u73b0\u5728\u5c31\u65b0\u5efa\u4e00\u4e2a&#xff1a;<\/span><\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"93\" src=\"2026-02-25yoosbplk3qy.png\" width=\"791\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"336\" src=\"2026-02-25hniiecoxjfm.png\" width=\"1196\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u7136\u540e\u628a\u524d\u7aefVue\u53d1\u5e03\u7684dist\u6587\u4ef6\u5939\u91cc\u9762\u7684\u4e1c\u897f\u62f7\u8d1d\u5230\u8fd9\u91cc&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"368\" src=\"2026-02-25351flvmm3wg.png\" width=\"1215\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u7136\u540e\u5b89\u88c5\u4e00\u4e0bMicrosoft.AspNetCore.StaticFiles\u5305&#xff0c;\u56e0\u4e3a\u6211\u662f\u6ca1\u6709\u7684&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"437\" src=\"2026-02-25fto0skxypgv.png\" width=\"1107\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"700\" src=\"2026-02-25eb2xcynu2kg.png\" width=\"1526\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"677\" src=\"2026-02-25jwaxmhfijw2.png\" width=\"1346\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"374\" src=\"2026-02-25dh4p1orm22d.png\" width=\"854\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<h3 id=\"%C2%A0%E4%BF%AE%E6%94%B9Program.cs%E6%96%87%E4%BB%B6\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#1c7892\"><span style=\"background-color:#e7fafa\">\u00a0\u4fee\u6539Program.cs\u6587\u4ef6<\/span><\/span><\/h3>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"724\" src=\"2026-02-25qdlruz5gzcj.png\" width=\"1305\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\/\/\u9ed8\u8ba4\u6587\u6863&#xff0c;\u7f51\u9875\u4e0d\u7528\u8f93\u5165index.html<\/p>\n<p style=\"margin-left:0;margin-right:0\">\u00a0app.UseDefaultFiles();<\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\/\/\u8ba9\u670d\u52a1\u63d0\u4f9b\u9759\u6001\u8d44\u6e90\u7684\u8bbf\u95ee\u80fd\u529b<\/p>\n<p style=\"margin-left:0;margin-right:0\">app.UseStaticFiles();<\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u6211\u91cd\u65b0\u53d1\u5e03\u4e00\u4e2a\u8bd5\u4e00\u4e0b&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"646\" src=\"2026-02-25o4bv1fvq5qg.png\" width=\"1671\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"568\" src=\"2026-02-25lgt4hsx2ezb.png\" width=\"1200\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"701\" src=\"2026-02-254r42aaqxniz.png\" width=\"1872\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u6e05\u7a7a\u4e4b\u524d\u7684\u6587\u4ef6&#xff0c;\u7136\u540e\u628a\u8fd9\u4e9b\u66ff\u6362\u5230\u8fd9\u91cc&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"797\" src=\"2026-02-25b52jfmmcsz3.png\" width=\"1493\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<h3 id=\"%E9%85%8D%E7%BD%AEIIS%E7%9A%84%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E6%B1%A0\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#0d0016\"><span style=\"background-color:#e7fafa\">\u914d\u7f6eIIS\u7684\u5e94\u7528\u7a0b\u5e8f\u6c60<\/span><\/span><\/h3>\n<p style=\"margin-left:0;margin-right:0\">iis \u5728\u5e94\u7528\u7a0b\u5e8f\u6c60\u53f3\u952e&#xff0c;\u6dfb\u52a0\u5e94\u7528\u7a0b\u5e8f\u6c60&#xff0c;\u9009\u62e9\u65e0\u6258\u7ba1\u4ee3\u7801&#xff0c;\u4f46\u662f\u6211\u65b0\u5efa\u7f51\u7ad9\u7684\u65f6\u5019&#xff0c;\u7ed9\u6211\u81ea\u52a8\u521b\u5efa\u4e86\u5e94\u7528\u7a0b\u5e8f\u6c60&#xff0c;\u6240\u4ee5\u6211\u5c31\u76f4\u63a5\u4fee\u6539\u5c31\u53ef\u4ee5&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"737\" src=\"2026-02-25avsxx5sxzdf.png\" width=\"1289\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"665\" src=\"2026-02-25m1aroqactwp.png\" width=\"1343\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u4f46\u662f\u62a5\u8fd9\u4e2a\u9519\u8bef\u4e86&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"636\" src=\"2026-02-25rcpusttabrl.png\" width=\"1439\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">HTTP Error 500.31 &#8211; Failed to load ASP.NET Core runtime<\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">Common solutions to this issue:<\/p>\n<p style=\"margin-left:0;margin-right:0\">The specified version of Microsoft.NetCore.App or Microsoft.AspNetCore.App was not found.<\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">Troubleshooting steps:<\/p>\n<ul>\n<li>Check the system event log for error messages<\/li>\n<li>Enable logging the application process&#039; stdout messages<\/li>\n<li>Attach a debugger to the application process and inspect<\/li>\n<\/ul>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">For more information visit: https:\/\/go.microsoft.com\/fwlink\/?LinkID&#061;2028526<\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u70b9\u51fb\u94fe\u63a5&#xff0c;\u8df3\u5230\u5230\u4e86\u8fd9\u91cc&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"712\" src=\"2026-02-25xfukzhljevf.png\" width=\"1355\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"774\" src=\"2026-02-25raga4cwzrbw.png\" width=\"1744\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"727\" src=\"2026-02-25k2u4f1zfgcl.png\" width=\"1489\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"808\" src=\"2026-02-25ijtgm25m3jy.png\" width=\"1433\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<h3 id=\"%E5%AE%89%E8%A3%85ASP%20.NET%20Core%207.0%20runtime%E8%BF%90%E8%A1%8C%E6%97%B6%20Hosting%20Bundle\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#1c7892\"><span style=\"background-color:#e7fafa\">\u5b89\u88c5ASP .NET Core 7.0 runtime\u8fd0\u884c\u65f6 Hosting Bundle<\/span><\/span><\/h3>\n<p style=\"margin-left:0;margin-right:0\">\u70b9\u51fb\u4e0b\u9762\u7f51\u7ad9&#xff0c;\u4e0b\u8f7d\u8fd9\u4e2a&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\">https:\/\/dotnet.microsoft.com\/zh-cn\/download\/dotnet\/7.0<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"738\" src=\"2026-02-25hkrqmks3anp.png\" width=\"1843\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"874\" src=\"2026-02-25e4p2pmcbnpo.png\" width=\"1851\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"619\" src=\"2026-02-25tyd3h53yi3p.png\" width=\"1170\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"639\" src=\"2026-02-25sotionkmax0.png\" width=\"1392\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"385\" src=\"2026-02-25kvz1yyb4vcv.png\" width=\"645\" \/><\/p>\n<h3 id=\"%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%9A%84%E6%B5%8F%E8%A7%88%E5%99%A8%E6%9C%AC%E5%9C%B0%E6%B5%8B%E8%AF%95\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#1c7892\"><span style=\"background-color:#e7fafa\">\u670d\u52a1\u5668\u7684\u6d4f\u89c8\u5668\u672c\u5730\u6d4b\u8bd5<\/span><\/span><\/h3>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"729\" src=\"2026-02-255vdocbjzrt1.png\" width=\"1499\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"661\" src=\"2026-02-25vv3d5dbmobg.png\" width=\"1690\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u540e\u9762\u53d1\u73b0\u6211\u6ca1\u6709\u628a\u6570\u636e\u5e93\u9644\u52a0\u4e0a\u53bb\u3002\u3002\u3002\u3002\u3002\u3002\u9644\u52a0\u4e00\u4e0b\u770b\u770b&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"729\" src=\"2026-02-255moj1iy2qjc.png\" width=\"1176\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"669\" src=\"2026-02-25a1k30cqeevu.png\" width=\"1103\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"614\" src=\"2026-02-25au5s5duvoak.png\" width=\"1087\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"809\" src=\"2026-02-253czc2ppbzhn.png\" width=\"1600\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"728\" src=\"2026-02-25l1n04bbn4bu.png\" width=\"1805\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"647\" src=\"2026-02-255z1oipafbg2.png\" width=\"1212\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"660\" src=\"2026-02-25t4ybn2xps4p.png\" width=\"1331\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"654\" src=\"2026-02-2521tq5cdjrnm.png\" width=\"1054\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"670\" src=\"2026-02-25vdviwjdc2km.png\" width=\"960\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"766\" src=\"2026-02-25w5lgvqfupkf.png\" width=\"1369\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u5728\u5916\u9762\u7684\u6d4f\u89c8\u5668\u8bbf\u95ee&#xff0c;\u5931\u8d25\u4e86<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"715\" src=\"2026-02-25wvaqivicona.png\" width=\"1348\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u5177\u4f53\u6b65\u9aa4\u89c1&#xff1a;\u9632\u706b\u5899\u7684\u914d\u7f6e<\/p>\n<h2 id=\"%E9%98%B2%E7%81%AB%E5%A2%99%E7%9A%84%E9%85%8D%E7%BD%AE\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#be191c\"><span style=\"background-color:#fbd4d0\">\u9632\u706b\u5899\u7684\u914d\u7f6e<\/span><\/span><\/h2>\n<h3 id=\"%E5%A4%96%E9%9D%A2%E6%B5%8F%E8%A7%88%E5%99%A8%E6%B5%8B%E8%AF%95\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#1c7892\"><span style=\"background-color:#e7fafa\">\u5916\u9762\u6d4f\u89c8\u5668\u6d4b\u8bd5<\/span><\/span><\/h3>\n<p style=\"margin-left:0;margin-right:0\">\u5728\u5916\u9762\u7684\u6d4f\u89c8\u5668\u8bbf\u95ee\u4e0d\u6210\u529f&#xff0c;\u8981\u914d\u7f6e\u4e00\u4e0b\u9632\u706b\u5899<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"715\" src=\"2026-02-25udvti3bfrxy.png\" width=\"1348\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u6253\u5f00\u201c\u63a7\u5236\u9762\u677f\u201d&#xff0c;\u70b9\u51fb\u201cWindows Defender \u9632\u706b\u5899\u201d&#xff0c;\u70b9\u51fb\u201c\u9ad8\u7ea7\u8bbe\u7f6e\u201d&#xff0c;\u70b9\u51fb\u201c\u5165\u7ad9\u89c4\u5219\u201d&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"764\" src=\"2026-02-251udlh11ga4x.png\" width=\"1742\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u9009\u62e9\u201c\u7aef\u53e3\u201d&#xff0c;\u70b9\u51fb\u201c\u4e0b\u4e00\u6b65\u201d&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"621\" src=\"2026-02-25x15xhr0lzly.png\" width=\"1136\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u9009\u62e9\u201c\u7279\u5b9a\u672c\u5730\u7aef\u53e3\u201d&#xff0c;\u8f93\u5165\u6211\u4eec\u7684\u7f51\u7ad9\u7684\u4e24\u4e2a\u7aef\u53e3&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"672\" src=\"2026-02-25dc20iky23vv.png\" width=\"1920\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u8f93\u5165\u7aef\u53e3&#xff0c;\u70b9\u51fb\u201c\u4e0b\u4e00\u6b65\u201d&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"759\" src=\"2026-02-25ybc2ceionj4.png\" width=\"1203\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u70b9\u51fb\u201c\u4e0b\u4e00\u6b65\u201d&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"717\" src=\"2026-02-25doqxjrbhitc.png\" width=\"1062\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u00a0\u70b9\u51fb\u201c\u4e0b\u4e00\u6b65\u201d&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"644\" src=\"2026-02-25bugkxjsxtbz.png\" width=\"1317\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u8f93\u5165\u540d\u79f0&#xff0c;\u70b9\u51fb\u5b8c\u6210&#xff0c;\u73b0\u5728\u5c31\u662f\u8bbe\u7f6e\u5b8c\u6210\u4e86&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"744\" src=\"2026-02-252a0zss5xvkq.png\" width=\"1539\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u5728\u5916\u9762\u7684\u6d4f\u89c8\u5668\u8bbf\u95ee\u6211\u90e8\u7f72\u7684\u7f51\u7ad9&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"846\" src=\"2026-02-25i1021untgp0.png\" width=\"1634\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"851\" src=\"2026-02-25e0cqr44avga.png\" width=\"1920\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"731\" src=\"2026-02-25mtcbtmkm2x3.png\" width=\"1613\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"756\" src=\"2026-02-25o2dn3ne02hj.png\" width=\"1909\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"869\" src=\"2026-02-25qswb4i1pcuk.png\" width=\"1732\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"829\" src=\"2026-02-25ntmavvft5ff.png\" width=\"1621\" \/><\/p>\n<h3 id=\"%E6%95%B0%E6%8D%AE%E5%BA%93%E5%88%86%E7%A6%BB%E7%9A%84%E9%97%AE%E9%A2%98\" style=\"margin-left:0px;margin-right:0px\">\u6570\u636e\u5e93\u5206\u79bb\u7684\u95ee\u9898<\/h3>\n<p style=\"margin-left:0;margin-right:0\">\u670d\u52a1\u5668 &#034;HS-XIAOFJ-DEV&#034; \u7684 \u5206\u79bb\u6570\u636e\u5e93 \u5931\u8d25\u3002\u00a0 (Microsoft.SqlServer.Smo)<\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"611\" src=\"2026-02-25nu5s3sbr3bu.png\" width=\"1364\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u540e\u9762\u6211\u76f4\u63a5\u5206\u79bb\u7684\u65f6\u5019&#xff0c;\u52fe\u9009\u201c\u65ad\u5f00\u8fde\u63a5\u201d&#xff0c;\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"725\" src=\"2026-02-25aodqfumxzwg.png\" width=\"1440\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u5206\u79bb\u6210\u529f&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"527\" src=\"2026-02-25jnjnkgayhx0.png\" width=\"922\" \/><\/p>\n<p style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#222226\">\u6587\u7ae0\u53c2\u8003-.net core 7.0 webapi&#043;vue3 \u524d\u540e\u7aef\u5206\u79bb iis\u90e8\u7f72<\/span><\/p>\n<p style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#222226\">https:\/\/blog.csdn.net\/qq_37755910\/article\/details\/132064463?ops_request_misc&#061;%257B%2522request%255Fid%2522%253A%2522f8e534656faee0b705c3e14d46c587d4%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&amp;request_id&#061;f8e534656faee0b705c3e14d46c587d4&amp;biz_id&#061;0&amp;utm_medium&#061;distribute.pc_search_result.none-task-blog-2~blog~first_rank_ecpm_v1~rank_v31_ecpm-1-132064463-null-null.nonecase&amp;utm_term&#061;C%23%20.Net%207.0%20core%E5%92%8Cvue%E9%83%A8%E7%BD%B2%E5%88%B0IIS%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%90%8C%E4%B8%80%E7%9B%AE%E5%BD%95&amp;spm&#061;1018.2226.3001.4450<\/span><\/p>\n<h2 id=\"%E5%85%B3%E9%94%AE%E4%BB%A3%E7%A0%81%E5%92%8C%E6%AD%A5%E9%AA%A4\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#be191c\"><span style=\"background-color:#fbd4d0\">\u5173\u952e\u4ee3\u7801\u548c\u6b65\u9aa4<\/span><\/span><\/h2>\n<h3 id=\"C%23%E7%9A%84Program.cs%E6%96%87%E4%BB%B6\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#1c7892\"><span style=\"background-color:#e7fafa\">C#\u7684Program.cs\u6587\u4ef6<\/span><\/span><\/h3>\n<p>using AspNetCoreRateLimit;<br \/>\nusing LogDashboard;<br \/>\nusing Microsoft.AspNetCore.Authentication.JwtBearer;<br \/>\nusing Microsoft.Extensions.Configuration;<br \/>\nusing Microsoft.IdentityModel.Tokens;<br \/>\nusing Microsoft.OpenApi.Models;<br \/>\nusing Serilog;<br \/>\nusing Serilog.Events;<br \/>\nusing System.Reflection;<br \/>\nusing System.Text;<\/p>\n<p>namespace HS_Marketing_Department_BI_Backend<br \/>\n{<br \/>\n    public class Program<br \/>\n    {<br \/>\n        public static void Main(string[] args)<br \/>\n        {<\/p>\n<p>            #region \u914d\u7f6eSeriLog<\/p>\n<p>            Log.Logger &#061; new LoggerConfiguration()<br \/>\n                .MinimumLevel.Debug() \/\/\u5185\u90e8\u7cfb\u7edf\u4e8b\u4ef6&#xff0c;\u8fd9\u4e9b\u4e8b\u4ef6\u5e76\u4e0d\u4e00\u5b9a\u80fd\u591f\u4ece\u5916\u90e8\u89c2\u6d4b\u5230\u3002<br \/>\n                .MinimumLevel.Override(&#034;Default&#034;, LogEventLevel.Information)<br \/>\n                .MinimumLevel.Override(&#034;Microsoft&#034;, LogEventLevel.Error)<br \/>\n                .MinimumLevel.Override(&#034;Microsoft.Hosting.Lifetime&#034;, LogEventLevel.Error)<br \/>\n                .Enrich.FromLogContext()<br \/>\n                .WriteTo.Console(theme: Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme.Code)   \/\/\u5c06\u65e5\u5fd7\u5199\u8fdb\u63a7\u5236\u53f0<br \/>\n                .WriteTo.File($&#034;{AppContext.BaseDirectory}Logs\/Marketing.log&#034;,  \/\/\u5c06\u65e5\u5fd7\u5199\u8fdb\u7279\u5b9a\u7684\u6587\u4ef6\u4e2d<br \/>\n                rollingInterval: RollingInterval.Day,<br \/>\n                outputTemplate: &#034;{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} ||{Level}||{SourceContext:1}||{Message}||{Exception}||end {NewLine}&#034;)<br \/>\n                .CreateLogger();<br \/>\n            \/\/yyyy-MM-dd \u9700\u52a0\u4e0a&#xff0c;\u5426\u5219\u6c38\u8fdc\u90fd\u662f\u663e\u793a\u662f\u5f53\u5929\u7684\u65e5\u5fd7<br \/>\n            #endregion<\/p>\n<p>            \/\/Log.Information(&#034;\u4eca\u5929\u5929\u6c14\u5f88\u597d&#034;);<br \/>\n            \/\/Log.Error(&#034;\u4eca\u5929\u597d\u7cdf\u7cd5&#034;);<br \/>\n            \/\/Log.Warning(&#034;\u8b66\u544a\u6d88\u606f&#034;);<\/p>\n<p>            \/\/\/\/ \u521b\u5efa\u6784\u5efa\u5668&#xff0c;\u628a\u5f53\u524d\u5e94\u7528\u7a0b\u5e8f\u6784\u5efa(\u7f16\u8bd1&#xff0c;\u751f\u6210)\u3002\u4e3b\u8981\u63d0\u4f9b\u4e00\u4e2aIoc<br \/>\n            var builder &#061; WebApplication.CreateBuilder(args);<\/p>\n<p>            \/\/\u89e3\u51b3\u8de8\u57df\u95ee\u9898&#xff08;\u5f00\u53d1\u73af\u5883&#xff09;<br \/>\n            builder.Services.AddCors(options &#061;&gt;<br \/>\n            {<br \/>\n                options.AddPolicy(&#034;CustomCors&#034;, policy &#061;&gt;<br \/>\n                {<br \/>\n                    \/\/ \u5141\u8bb8\u7684\u8de8\u57df\u6e90&#xff08;\u524d\u7aef\u57df\u540d&#xff0c;\u591a\u4e2a\u7528\u9017\u53f7\u5206\u9694&#xff09;<br \/>\n                    policy.WithOrigins(&#034;http:\/\/localhost:3000&#034;)<br \/>\n                          .AllowAnyHeader() \/\/ \u5141\u8bb8\u6240\u6709\u8bf7\u6c42\u5934&#xff0c;\u4e5f\u53efWithHeaders(&#034;Content-Type&#034;, &#034;Authorization&#034;)\u6307\u5b9a<br \/>\n                          .AllowAnyMethod() \/\/ \u5141\u8bb8\u6240\u6709\u65b9\u6cd5&#xff0c;\u4e5f\u53efWithMethods(&#034;GET&#034;, &#034;POST&#034;, &#034;PUT&#034;)\u6307\u5b9a<br \/>\n                          .AllowCredentials(); \/\/ \u5141\u8bb8\u643a\u5e26Cookie\/Token&#xff08;\u524d\u7aef\u9700\u914d\u5408withCredentials: true&#xff09;<br \/>\n                });<br \/>\n            });<\/p>\n<p>            \/\/\u521b\u5efa\u4e00\u4e2aIConfiguration\u5bf9\u8c61<br \/>\n            IConfiguration configuration &#061; new ConfigurationBuilder()<br \/>\n                                           .AddJsonFile(&#034;appsettings.json&#034;).Build();<\/p>\n<p>            \/\/ Add services to the container.<br \/>\n            builder.Services.AddControllers();<\/p>\n<p>            \/\/ Learn more about configuring Swagger\/OpenAPI at https:\/\/aka.ms\/aspnetcore\/swashbuckle<br \/>\n            builder.Services.AddEndpointsApiExplorer();<\/p>\n<p>            \/\/\u6dfb\u52a0Swagger<br \/>\n            \/\/builder.Services.AddSwaggerGen();<br \/>\n            builder.Services.AddSwaggerGen(c &#061;&gt;<br \/>\n            {<br \/>\n                c.SwaggerDoc(&#034;v1&#034;, new OpenApiInfo { Title &#061; &#034;SwaggerApi&#034;, Version &#061; &#034;1.0.0.0&#034; });<br \/>\n                \/\/ \u8bbe\u7f6eXML\u6ce8\u91ca\u6587\u4ef6\u7684\u8def\u5f84&#xff0c;\u4ee5\u4fbfSwagger\u53ef\u4ee5\u4ece\u4e2d\u8bfb\u53d6\u6ce8\u91ca<br \/>\n                var xmlFile &#061; $&#034;{Assembly.GetExecutingAssembly().GetName().Name}.xml&#034;;<br \/>\n                var xmlPath &#061; Path.Combine(AppContext.BaseDirectory, xmlFile);<br \/>\n                c.IncludeXmlComments(xmlPath, true); \/\/ true : \u663e\u793a\u63a7\u5236\u5668\u5c42\u6ce8\u91ca<br \/>\n            }<br \/>\n            );<\/p>\n<p>            #region \u6ce8\u518cAspNetCoreRateLimit\u9650\u6d41\u7ec4\u4ef6<br \/>\n            builder.Services.AddMemoryCache();<br \/>\n            \/\/\u4e0b\u9762\u7684IpRateLimiting\u4e3a\u9650\u6d41\u7b56\u7565\u7684\u914d\u7f6e\u6587\u4ef6\u7ed3\u70b9\u540d\u79f0&#xff0c;\u53ef\u4ee5\u914d\u7f6e\u591a\u4e2a\u7b56\u7565<br \/>\n            builder.Services.Configure&lt;IpRateLimitOptions&gt;(builder.Configuration.GetSection(&#034;IpRateLimiting&#034;));<br \/>\n            \/\/\u6dfb\u52a0\u5bf9\u5185\u5b58\u4e2d\u7684 IP \u7b56\u7565\u5b58\u50a8\u7684\u652f\u6301<br \/>\n            builder.Services.AddSingleton&lt;IIpPolicyStore, MemoryCacheIpPolicyStore&gt;();<br \/>\n            builder.Services.AddSingleton&lt;IRateLimitCounterStore, MemoryCacheRateLimitCounterStore&gt;();<br \/>\n            builder.Services.AddSingleton&lt;IRateLimitConfiguration, RateLimitConfiguration&gt;();<br \/>\n            builder.Services.AddInMemoryRateLimiting();<\/p>\n<p>            #endregion<\/p>\n<p>            \/\/\u628a\u6dfb\u52a0\u7684IConfiguration\u5bf9\u8c61\u4f20\u5165Myconfig\u5e76\u521b\u5efa\u52a0\u5165\u542f\u52a8<br \/>\n            builder.Services.AddSingleton(new Myconfig(configuration));<\/p>\n<p>            \/\/\u6dfb\u52a0SeriLog<br \/>\n            builder.Host.UseSerilog();<\/p>\n<p>            \/\/\u6dfb\u52a0LogDashBoard<br \/>\n            builder.Services.AddLogDashboard();<\/p>\n<p>            \/\/\u6dfb\u52a0JWT\u8eab\u4efd\u9a8c\u8bc1\u670d\u52a1<br \/>\n            builder.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)<br \/>\n            .AddJwtBearer(options &#061;&gt;<br \/>\n            {<br \/>\n                options.TokenValidationParameters &#061; new TokenValidationParameters<br \/>\n                {<br \/>\n                    ValidateIssuer &#061; true,<br \/>\n                    ValidateAudience &#061; true,<br \/>\n                    ValidateLifetime &#061; true,\/\/\u662f\u5426\u9a8c\u8bc1\u5931\u6548\u65f6\u95f4<br \/>\n                    ValidateIssuerSigningKey &#061; true,\/\/\u662f\u5426\u6548\u9a8cSigningKey<br \/>\n                    ValidIssuer &#061; configuration.GetSection(&#034;JWTTokenOptions:Issuer&#034;).Value,\/\/\u9881\u53d1\u8005<br \/>\n                    ValidAudience &#061; configuration.GetSection(&#034;JWTTokenOptions:Audience&#034;).Value,\/\/\u63a5\u6536\u8005<br \/>\n                    IssuerSigningKey &#061; new SymmetricSecurityKey(Encoding.UTF8.GetBytes(configuration.GetSection(&#034;JWTTokenOptions:Secret&#034;).Value))<br \/>\n                };<br \/>\n            });<\/p>\n<p>            \/\/\u914d\u7f6eSwagger\u8eab\u4efd\u9a8c\u8bc1\u8f93\u5165&#xff08;\u53ef\u9009&#xff09;<br \/>\n            builder.Services.AddSwaggerGen(options &#061;&gt;<br \/>\n            {<br \/>\n                options.AddSecurityDefinition(&#034;Bearer&#034;, new OpenApiSecurityScheme<br \/>\n                {<br \/>\n                    Description &#061; &#034;\u8bf7\u8f93\u5165token,\u683c\u5f0f\u4e3a Bearer xxxxxxxx&#xff08;\u6ce8\u610f\u4e2d\u95f4\u5fc5\u987b\u6709\u7a7a\u683c&#xff09;&#034;,<br \/>\n                    Name &#061; &#034;Authorization&#034;,<br \/>\n                    In &#061; ParameterLocation.Header,<br \/>\n                    Type &#061; SecuritySchemeType.ApiKey,<br \/>\n                    BearerFormat &#061; &#034;JWT&#034;,<br \/>\n                    Scheme &#061; &#034;Bearer&#034;<br \/>\n                });<br \/>\n                \/\/\u6dfb\u52a0\u5b89\u5168\u8981\u6c42<br \/>\n                options.AddSecurityRequirement(new OpenApiSecurityRequirement {<br \/>\n                {<br \/>\n                    new OpenApiSecurityScheme{<br \/>\n                        Reference &#061;new OpenApiReference{<br \/>\n                            Type &#061; ReferenceType.SecurityScheme,<br \/>\n                            Id &#061;&#034;Bearer&#034;<br \/>\n                        }<br \/>\n                    },new string[]{ }<br \/>\n                }<br \/>\n                });<br \/>\n            });<\/p>\n<p>            var app &#061; builder.Build();<\/p>\n<p>            \/\/\u4f7f\u7528IP\u901f\u7387\u9650\u5236\u4e2d\u95f4\u4ef6<br \/>\n            app.UseIpRateLimiting();<\/p>\n<p>            \/\/ Configure the HTTP request pipeline.<br \/>\n            if (app.Environment.IsDevelopment())<br \/>\n            {<br \/>\n                app.UseSwagger();<br \/>\n                app.UseSwaggerUI(c &#061;&gt;<br \/>\n                {<br \/>\n                    c.SwaggerEndpoint(&#034;\/swagger\/v1\/swagger.json&#034;, &#034;\u6211\u7684API V1&#034;); \/\/ URL\u8def\u5f84\u548c\u6587\u6863\u540d\u79f0<br \/>\n                });<br \/>\n            }<\/p>\n<p>            app.UseHttpsRedirection();<\/p>\n<p>            \/\/app.UseAuthorization();<\/p>\n<p>            \/\/\u4f7f\u7528LogDashBoard<br \/>\n            app.UseLogDashboard();<\/p>\n<p>            app.UseCors(&#034;CustomCors&#034;);  \/\/\u5fc5\u987b\u5728UserRouting\u4e4b\u540e&#xff0c;UseAuthorization&#xff0c;EndPoints\u3001MapControllers\u4e4b\u524d&#xff0c;\u5e94\u7528cors\u8de8\u57df&#xff08;\u5f00\u53d1\u73af\u5883&#xff09;&#xff0c;\u5982\u679c\u653eUseAuthorization\u5c06\u6709\u65f6\u65e0\u6cd5\u751f\u6548<\/p>\n<p>            \/\/\u5e94\u7528\u9274\u6743\u6388\u6743\u4e2d\u95f4\u4ef6<br \/>\n            app.UseAuthentication();  \/\/\u9274\u6743&#xff08;\u5fc5\u987b\u5728\u6388\u6743\u7684\u524d\u9762&#xff09;<\/p>\n<p>            \/\/\u6388\u6743<br \/>\n            app.UseAuthorization();   <\/p>\n<p>            \/\/\u9ed8\u8ba4\u6587\u6863&#xff0c;\u7f51\u9875\u4e0d\u7528\u8f93\u5165index.html<br \/>\n            app.UseDefaultFiles();<\/p>\n<p>            \/\/\u8ba9\u670d\u52a1\u63d0\u4f9b\u9759\u6001\u8d44\u6e90\u7684\u8bbf\u95ee\u80fd\u529b<br \/>\n            app.UseStaticFiles();<\/p>\n<p>            app.MapControllers();<\/p>\n<p>            app.Run();<br \/>\n        }<br \/>\n    }<br \/>\n}<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"137\" src=\"2026-02-25sc1xbu02v2b.png\" width=\"600\" \/><\/p>\n<h3 id=\"C%23%E7%9A%84Web.config\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#1c7892\"><span style=\"background-color:#e7fafa\">C#\u7684Web.config<\/span><\/span><\/h3>\n<p>      &lt;?xml version&#061;&#034;1.0&#034; encoding&#061;&#034;utf-8&#034;?&gt;<br \/>\n&lt;configuration&gt;<br \/>\n  &lt;location path&#061;&#034;.&#034; inheritInChildApplications&#061;&#034;false&#034;&gt;<br \/>\n    &lt;system.webServer&gt;<br \/>\n      &lt;handlers&gt;<br \/>\n        &lt;add name&#061;&#034;aspNetCore&#034; path&#061;&#034;*&#034; verb&#061;&#034;*&#034; modules&#061;&#034;AspNetCoreModuleV2&#034; resourceType&#061;&#034;Unspecified&#034; \/&gt;<br \/>\n      &lt;\/handlers&gt;<br \/>\n      &lt;aspNetCore processPath&#061;&#034;dotnet&#034; arguments&#061;&#034;.\\\\HS_Marketing_Department_BI_Backend.dll&#034; stdoutLogEnabled&#061;&#034;false&#034; stdoutLogFile&#061;&#034;.\\\\logs\\\\stdout&#034; hostingModel&#061;&#034;inprocess&#034; \/&gt;<br \/>\n    &lt;\/system.webServer&gt;<br \/>\n  &lt;\/location&gt;<br \/>\n&lt;\/configuration&gt;<br \/>\n&lt;!&#8211;ProjectGuid: EABA2DEB-3475-44FB-AAE4-5653F03EC421&#8211;&gt;<\/p>\n<h3 id=\"Vue%E7%9A%84%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%E6%96%87%E4%BB%B6%E9%85%8D%E7%BD%AE\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#1c7892\"><span style=\"background-color:#e7fafa\">Vue\u7684\u73af\u5883\u53d8\u91cf\u6587\u4ef6\u914d\u7f6e<\/span><\/span><\/h3>\n<h4 id=\".env.test\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#ad720d\"><span style=\"background-color:#fefcd8\">.env.test<\/span><\/span><\/h4>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"667\" src=\"2026-02-25andhkxwrbe0.png\" width=\"1371\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">VITE_ENV &#061; &#039;test&#039;<\/p>\n<p style=\"margin-left:0;margin-right:0\">VITE_API_URL &#061; &#039;https:\/\/192.168.3.227:44330&#039;<\/p>\n<p>         \u200b<br \/>\nVITE_ENV &#061; &#039;test&#039;<\/p>\n<p>VITE_API_URL &#061; &#039;https:\/\/192.168.3.227:44330&#039;<\/p>\n<p>\u200b <\/p>\n<h4 id=\"package.json\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#ad720d\"><span style=\"background-color:#fefcd8\">package.json<\/span><\/span><\/h4>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"867\" src=\"2026-02-2525iqb3lkdzu.png\" width=\"1544\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">{<\/p>\n<p style=\"margin-left:0;margin-right:0\">&#034;name&#034;: &#034;vue3_cli_default&#034;,<\/p>\n<p style=\"margin-left:0;margin-right:0\">&#034;version&#034;: &#034;0.0.0&#034;,<\/p>\n<p style=\"margin-left:0;margin-right:0\">&#034;scripts&#034;: {<\/p>\n<p style=\"margin-left:0;margin-right:0\">&#034;dev&#034;: &#034;vite&#034;,<\/p>\n<p style=\"margin-left:0;margin-right:0\">&#034;build&#034;: &#034;vite build&#034;,<\/p>\n<p style=\"margin-left:0;margin-right:0\">&#034;serve&#034;: &#034;vite preview&#034;,<\/p>\n<p style=\"margin-left:0;margin-right:0\"><span style=\"background-color:#ffff99\">&#034;build:test&#034;: &#034;vite build &#8211;mode test&#034;, <\/span><\/p>\n<p style=\"margin-left:0;margin-right:0\"><span style=\"background-color:#ffff99\">&#034;build:prod&#034;: &#034;vite build &#8211;mode production&#034; <\/span><\/p>\n<p style=\"margin-left:0;margin-right:0\">},<\/p>\n<p style=\"margin-left:0;margin-right:0\">&#034;dependencies&#034;: {<\/p>\n<p style=\"margin-left:0;margin-right:0\">&#034;&#064;element-plus\/icons-vue&#034;: &#034;^2.3.2&#034;,<\/p>\n<p style=\"margin-left:0;margin-right:0\">&#034;axios&#034;: &#034;^1.13.4&#034;,<\/p>\n<p style=\"margin-left:0;margin-right:0\">&#034;element-plus&#034;: &#034;^2.13.0&#034;,<\/p>\n<p style=\"margin-left:0;margin-right:0\">&#034;typescript&#034;: &#034;^5.9.3&#034;,<\/p>\n<p style=\"margin-left:0;margin-right:0\">&#034;vue&#034;: &#034;^3.2.8&#034;,<\/p>\n<p style=\"margin-left:0;margin-right:0\">&#034;vue-router&#034;: &#034;^4.6.4&#034;<\/p>\n<p style=\"margin-left:0;margin-right:0\">},<\/p>\n<p style=\"margin-left:0;margin-right:0\">&#034;devDependencies&#034;: {<\/p>\n<p style=\"margin-left:0;margin-right:0\">&#034;&#064;vitejs\/plugin-vue&#034;: &#034;^1.6.0&#034;,<\/p>\n<p style=\"margin-left:0;margin-right:0\">&#034;&#064;vue\/compiler-sfc&#034;: &#034;^3.2.6&#034;,<\/p>\n<p style=\"margin-left:0;margin-right:0\">&#034;vite&#034;: &#034;^2.5.2&#034;<\/p>\n<p style=\"margin-left:0;margin-right:0\">}<\/p>\n<p style=\"margin-left:0;margin-right:0\">}<\/p>\n<p style=\"margin-left:0;margin-right:0\">&#096;&#096;&#096;json<\/p>\n<p>{<\/p>\n<p>&#034;name&#034;: &#034;vue3_cli_default&#034;,<\/p>\n<p>&#034;version&#034;: &#034;0.0.0&#034;,<\/p>\n<p>&#034;scripts&#034;: {<\/p>\n<p>&#034;dev&#034;: &#034;vite&#034;,<\/p>\n<p>&#034;build&#034;: &#034;vite build&#034;,<\/p>\n<p>&#034;serve&#034;: &#034;vite preview&#034;,<\/p>\n<p>&#034;build:test&#034;: &#034;vite build &#8211;mode test&#034;,<\/p>\n<p>&#034;build:prod&#034;: &#034;vite build &#8211;mode production&#034;<\/p>\n<p>},<\/p>\n<p>&#034;dependencies&#034;: {<\/p>\n<p>&#034;&#064;element-plus\/icons-vue&#034;: &#034;^2.3.2&#034;,<\/p>\n<p>&#034;axios&#034;: &#034;^1.13.4&#034;,<\/p>\n<p>&#034;element-plus&#034;: &#034;^2.13.0&#034;,<\/p>\n<p>&#034;typescript&#034;: &#034;^5.9.3&#034;,<\/p>\n<p>&#034;vue&#034;: &#034;^3.2.8&#034;,<\/p>\n<p>&#034;vue-router&#034;: &#034;^4.6.4&#034;<\/p>\n<p>},<\/p>\n<p>&#034;devDependencies&#034;: {<\/p>\n<p>&#034;&#064;vitejs\/plugin-vue&#034;: &#034;^1.6.0&#034;,<\/p>\n<p>&#034;&#064;vue\/compiler-sfc&#034;: &#034;^3.2.6&#034;,<\/p>\n<p>&#034;vite&#034;: &#034;^2.5.2&#034;<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p style=\"margin-left:0;margin-right:0\">&#096;&#096;&#096;<\/p>\n<h3 id=\"wwwroot%E6%96%87%E4%BB%B6%E5%A4%B9\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#1c7892\"><span style=\"background-color:#e7fafa\">wwwroot\u6587\u4ef6\u5939<\/span><\/span><\/h3>\n<p style=\"margin-left:0;margin-right:0\">\u8fd9\u4e2awwwroot\u6587\u4ef6\u5939\u4e00\u5b9a\u8981\u6709&#xff0c;\u662f\u653e\u90a3\u4e9b\u524d\u7aefVue\u53d1\u5e03\u4e4b\u540e\u7684\u9759\u6001\u6587\u4ef6\u7684&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"313\" src=\"2026-02-25kwgnpajccgb.png\" width=\"1201\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u5230\u65f6\u5019\u8fd9\u4e2a\u6587\u4ef6\u5939\u8981\u653e\u5230\u7f51\u7ad9\u7684\u6839\u76ee\u5f55\u4e0a<\/p>\n<h3 id=\"%E6%95%B0%E6%8D%AE%E5%BA%93%E7%9A%84%E9%99%84%E5%8A%A0\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#1c7892\"><span style=\"background-color:#e7fafa\">\u6570\u636e\u5e93\u7684\u9644\u52a0<\/span><\/span><\/h3>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"519\" src=\"2026-02-25n45q5w5l3wd.png\" width=\"1006\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"537\" src=\"2026-02-25z2pfpmv5lwi.png\" width=\"1119\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"488\" src=\"2026-02-25gyjcphauqy4.png\" width=\"687\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"595\" src=\"2026-02-25ggc513f0zt3.png\" width=\"1357\" \/><\/p>\n<h3 id=\"%E6%9C%8D%E5%8A%A1%E5%99%A8IIS%E7%9A%84%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E6%B1%A0%E7%9A%84%E9%85%8D%E7%BD%AE\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#1c7892\"><span style=\"background-color:#e7fafa\">\u670d\u52a1\u5668IIS\u7684\u5e94\u7528\u7a0b\u5e8f\u6c60\u7684\u914d\u7f6e<\/span><\/span><\/h3>\n<p style=\"margin-left:0;margin-right:0\">iis \u5728\u5e94\u7528\u7a0b\u5e8f\u6c60\u53f3\u952e&#xff0c;\u6dfb\u52a0\u5e94\u7528\u7a0b\u5e8f\u6c60&#xff0c;\u9009\u62e9\u65e0\u6258\u7ba1\u4ee3\u7801&#xff0c;\u4f46\u662f\u6211\u65b0\u5efa\u7f51\u7ad9\u7684\u65f6\u5019&#xff0c;\u7ed9\u6211\u81ea\u52a8\u521b\u5efa\u4e86\u5e94\u7528\u7a0b\u5e8f\u6c60&#xff0c;\u6240\u4ee5\u6211\u5c31\u76f4\u63a5\u4fee\u6539\u5c31\u53ef\u4ee5&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"737\" src=\"2026-02-25zcagrclxqml.png\" width=\"1289\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"665\" src=\"2026-02-25dghxnkln02i.png\" width=\"1343\" \/><\/p>\n<h3 id=\"%E5%AE%89%E8%A3%85ASP%20.NET%20Core%207.0%20runtime%20hosting-bundle-runtime-aspnetcore-7.0.9-windows-hosting-bundle-installer\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#1a439c\"><span style=\"background-color:#e7fafa\">\u5b89\u88c5ASP .NET Core 7.0 runtime hosting-bundle-runtime-aspnetcore-7.0.9-windows-hosting-bundle-installer<\/span><\/span><\/h3>\n<\/p>\n<h4 id=\"%E4%B8%8B%E8%BD%BD%E5%AE%89%E8%A3%85%E5%8C%85\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#ad720d\"><span style=\"background-color:#fefcd8\">\u4e0b\u8f7d\u5b89\u88c5\u5305<\/span><\/span><\/h4>\n<p style=\"margin-left:0px;margin-right:0px\">\u70b9\u51fb\u4e0b\u9762\u7f51\u7ad9&#xff0c;\u4e0b\u8f7d\u8fd9\u4e2a&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\">https:\/\/dotnet.microsoft.com\/zh-cn\/download\/dotnet\/7.0<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"738\" src=\"2026-02-25pjcu1dajj3e.png\" width=\"1843\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u70b9\u51fb\u8fd9\u4e2a&#xff0c;\u4e0b\u8f7d\u6587\u4ef6&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"874\" src=\"2026-02-255gdrt4rcqo0.png\" width=\"1851\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u53f3\u51fb\u8fd9\u4e2a\u7a0b\u5e8f&#xff0c;\u70b9\u51fb\u201c\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c\u201d&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"619\" src=\"2026-02-25nmvbceh2n3i.png\" width=\"1170\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\">\u70b9\u51fb\u201c\u5b89\u88c5\u201d&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"639\" src=\"2026-02-25arzszimlssd.png\" width=\"1392\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"385\" src=\"2026-02-25usxkg5s2zfx.png\" width=\"645\" \/><\/p>\n<h4 id=\"%E7%BD%91%E7%AB%99%E6%A0%B9%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84\" style=\"margin-left:0px;margin-right:0px\"><span style=\"color:#ad720d\"><span style=\"background-color:#fefcd8\">\u7f51\u7ad9\u6839\u76ee\u5f55\u7ed3\u6784<\/span><\/span><\/h4>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"781\" src=\"2026-02-25teskusvfy0s.png\" width=\"1577\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Vue3  Element Plus\u9879\u76ee\u548cC# .Net 7.0 Core\u540e\u7aefAPI\u9879\u76ee\u53d1\u5e03\u90e8\u7f72\u5230\u670d\u52a1\u5668&#xff0c;\u8fd9\u662f\u524d\u540e\u7aef\u5206\u79bb\u7684&#xff0c;\u4e2d\u95f4\u9047\u5230\u4e86\u5f88\u591a\u95ee\u9898&#xff0c;\u7ec8\u4e8e\u5f04\u597d\u4e86&#xff0c;\u7279\u6b64\u8bb0\u5f55 \u76ee\u5f55<br \/>\nVue\u524d\u7aef\u5728\u6d4b\u8bd5\u670d\u52a1\u5668\u90e8\u7f72<br \/>\n\u7b2c\u4e00\u79cd<br \/>\n\u7b2c\u4e8c\u79cd<br \/>\n\u670d\u52a1\u5668\u524d\u7aef\u90e8\u7f72<br \/>\nC# \u540e\u7aef\u53d1\u5e03\u5230\u6d4b\u8bd5\u670d\u52a1\u5668\u548c\u90e8\u7f72<br \/>\n\u53d1\u5e03\u9879\u76ee<br \/>\nHTTP 404\u9519\u8bef \u4fee\u6539Program.cs\u6587\u4ef6<br \/>\n\u914d\u7f6eIIS\u7684\u5e94\u7528\u7a0b\u5e8f\u6c60<br \/>\n\u5b89\u88c5ASP .NET Core 7.0 runtime<\/p>\n","protected":false},"author":2,"featured_media":77670,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[895,55,3381,187,625,87,43],"topic":[],"class_list":["post-77690","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-net","tag-c","tag-elementui","tag-javascript","tag-vue-js","tag-87","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Vue3 + Element Plus\u9879\u76ee\u548cC# .Net 7.0 Core\u540e\u7aefAPI\u9879\u76ee\u53d1\u5e03\u90e8\u7f72\u5230\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/77690.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Vue3 + Element Plus\u9879\u76ee\u548cC# .Net 7.0 Core\u540e\u7aefAPI\u9879\u76ee\u53d1\u5e03\u90e8\u7f72\u5230\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"Vue3 Element Plus\u9879\u76ee\u548cC# .Net 7.0 Core\u540e\u7aefAPI\u9879\u76ee\u53d1\u5e03\u90e8\u7f72\u5230\u670d\u52a1\u5668&#xff0c;\u8fd9\u662f\u524d\u540e\u7aef\u5206\u79bb\u7684&#xff0c;\u4e2d\u95f4\u9047\u5230\u4e86\u5f88\u591a\u95ee\u9898&#xff0c;\u7ec8\u4e8e\u5f04\u597d\u4e86&#xff0c;\u7279\u6b64\u8bb0\u5f55 \u76ee\u5f55 Vue\u524d\u7aef\u5728\u6d4b\u8bd5\u670d\u52a1\u5668\u90e8\u7f72 \u7b2c\u4e00\u79cd \u7b2c\u4e8c\u79cd \u670d\u52a1\u5668\u524d\u7aef\u90e8\u7f72 C# \u540e\u7aef\u53d1\u5e03\u5230\u6d4b\u8bd5\u670d\u52a1\u5668\u548c\u90e8\u7f72 \u53d1\u5e03\u9879\u76ee HTTP 404\u9519\u8bef \u4fee\u6539Program.cs\u6587\u4ef6 \u914d\u7f6eIIS\u7684\u5e94\u7528\u7a0b\u5e8f\u6c60 \u5b89\u88c5ASP .NET Core 7.0 runtime\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/77690.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-24T23:19:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224231936-699e3208b1e47.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/77690.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/77690.html\",\"name\":\"Vue3 + Element Plus\u9879\u76ee\u548cC# .Net 7.0 Core\u540e\u7aefAPI\u9879\u76ee\u53d1\u5e03\u90e8\u7f72\u5230\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-24T23:19:43+00:00\",\"dateModified\":\"2026-02-24T23:19:43+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/77690.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/77690.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/77690.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Vue3 + Element Plus\u9879\u76ee\u548cC# .Net 7.0 Core\u540e\u7aefAPI\u9879\u76ee\u53d1\u5e03\u90e8\u7f72\u5230\u670d\u52a1\u5668\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Vue3 + Element Plus\u9879\u76ee\u548cC# .Net 7.0 Core\u540e\u7aefAPI\u9879\u76ee\u53d1\u5e03\u90e8\u7f72\u5230\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/77690.html","og_locale":"zh_CN","og_type":"article","og_title":"Vue3 + Element Plus\u9879\u76ee\u548cC# .Net 7.0 Core\u540e\u7aefAPI\u9879\u76ee\u53d1\u5e03\u90e8\u7f72\u5230\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"Vue3 Element Plus\u9879\u76ee\u548cC# .Net 7.0 Core\u540e\u7aefAPI\u9879\u76ee\u53d1\u5e03\u90e8\u7f72\u5230\u670d\u52a1\u5668&#xff0c;\u8fd9\u662f\u524d\u540e\u7aef\u5206\u79bb\u7684&#xff0c;\u4e2d\u95f4\u9047\u5230\u4e86\u5f88\u591a\u95ee\u9898&#xff0c;\u7ec8\u4e8e\u5f04\u597d\u4e86&#xff0c;\u7279\u6b64\u8bb0\u5f55 \u76ee\u5f55 Vue\u524d\u7aef\u5728\u6d4b\u8bd5\u670d\u52a1\u5668\u90e8\u7f72 \u7b2c\u4e00\u79cd \u7b2c\u4e8c\u79cd \u670d\u52a1\u5668\u524d\u7aef\u90e8\u7f72 C# \u540e\u7aef\u53d1\u5e03\u5230\u6d4b\u8bd5\u670d\u52a1\u5668\u548c\u90e8\u7f72 \u53d1\u5e03\u9879\u76ee HTTP 404\u9519\u8bef \u4fee\u6539Program.cs\u6587\u4ef6 \u914d\u7f6eIIS\u7684\u5e94\u7528\u7a0b\u5e8f\u6c60 \u5b89\u88c5ASP .NET Core 7.0 runtime","og_url":"https:\/\/www.wsisp.com\/helps\/77690.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-24T23:19:43+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224231936-699e3208b1e47.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/77690.html","url":"https:\/\/www.wsisp.com\/helps\/77690.html","name":"Vue3 + Element Plus\u9879\u76ee\u548cC# .Net 7.0 Core\u540e\u7aefAPI\u9879\u76ee\u53d1\u5e03\u90e8\u7f72\u5230\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-24T23:19:43+00:00","dateModified":"2026-02-24T23:19:43+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/77690.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/77690.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/77690.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Vue3 + Element Plus\u9879\u76ee\u548cC# .Net 7.0 Core\u540e\u7aefAPI\u9879\u76ee\u53d1\u5e03\u90e8\u7f72\u5230\u670d\u52a1\u5668"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/77690","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=77690"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/77690\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/77670"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=77690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=77690"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=77690"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=77690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}