{"id":56232,"date":"2025-08-14T15:14:48","date_gmt":"2025-08-14T07:14:48","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/56232.html"},"modified":"2025-08-14T15:14:48","modified_gmt":"2025-08-14T07:14:48","slug":"netcore8-%e6%9c%8d%e5%8a%a1%e5%a6%82%e4%bd%95%e5%9c%a8%e9%ba%92%e9%ba%9fv10%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e9%83%a8%e7%bd%b2","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/56232.html","title":{"rendered":".netcore8 \u670d\u52a1\u5982\u4f55\u5728\u9e92\u9e9fv10\u670d\u52a1\u5668\u4e0a\u90e8\u7f72"},"content":{"rendered":"<p>1 \u79bb\u7ebf\u5b89\u88c5.net8 \u8fd0\u884c\u65f6<\/p>\n<p>\u4e0b\u8f7d\u5730\u5740<\/p>\n<p>\u4e0b\u8f7d .NET 8.0 (Linux\u3001macOS \u548c Windows) | .NET<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"568\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250814071443-689d8ce33a349.png\" width=\"1337\" \/><\/p>\n<p>\u6211\u662fx64\u7684\u6240\u4ee5\u9009\u62e9\u8fd9\u4e2a\u4e8c\u8fdb\u5236\u6587\u4ef6<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"453\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250814071445-689d8ce5addf7.png\" width=\"331\" \/><\/p>\n<p>\u4e0a\u4f20\u5230\u670d\u52a1\u5668\u4e0a\u89e3\u538b\u5c31\u884c\u4e86\u6211\u7528\u7684FileZilla\u5de5\u5177\u4e0a\u4f20\u7684<\/p>\n<p>\u53ef\u4ee5\u7528\u547d\u4ee4\u89e3\u538b<\/p>\n<p>cd \/home\/opsadmin\/netcoreruntime<\/p>\n<p>tar -zxvf aspnetcore-runtime-8.0.19-linux-x64.tar.gz <\/p>\n<p>\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/p>\n<p>#\u6253\u5f00\u73af\u5883\u53d8\u91cf\u914d\u7f6e\u6587\u4ef6<br \/>\nvim ~\/.bashrc<\/p>\n<p>#\u5728\u6587\u4ef6\u91cc\u65b0\u589e\u8fd9\u4e24\u884c&#xff0c;\u5176\u4e2d \/home\/opsadmin\/netcoreruntime\/aspnetcore \u662f\u4f60\u8fd0\u884c\u65f6\u89e3\u538b\u7684\u76ee\u5f55<br \/>\nexport DOTNET_ROOT&#061;\/home\/opsadmin\/netcoreruntime\/aspnetcore<br \/>\nexport PATH&#061;$PATH:$DOTNET_ROOT<\/p>\n<p>#\u6dfb\u52a0\u540e\u4fdd\u5b58\u6587\u4ef6\u5237\u65b0\u73af\u5883\u53d8\u91cf<br \/>\nsource ~\/.bashrc<\/p>\n<p>#\u9a8c\u8bc1\u5b89\u88c5\u7ed3\u679c \u8f93\u51fa\u7248\u672c\u4fe1\u606f\u8bf4\u660e\u914d\u7f6e\u6210\u529f\u4e86<br \/>\ndotnet &#8211;version<\/p>\n<p>2 \u5c06.netcore\u9879\u76ee\u4e0a\u4f20\u5230\u670d\u52a1\u5668\u4e0a<\/p>\n<p>#\u6267\u884cdotnet \u547d\u4ee4\u542f\u52a8\u670d\u52a1<br \/>\ndotnet myapp.dll<\/p>\n<p>2 \u5c06\u5e94\u7528\u6ce8\u518c\u5230 \u7cfb\u7edf\u670d\u52a1\u4e0a\u8fdb\u884c\u7ba1\u7406\u957f\u671f\u8fd0\u884c<\/p>\n<p>\u5728\u7b2c\u4e00\u6b65\u4e2d\u4f7f\u7528.dotnet myapp.dll \u542f\u52a8\u4e86\u670d\u52a1\u4f46\u662f\u7a97\u53e3\u8fd0\u884c \u7a97\u53e3\u5173\u95ed\u670d\u52a1\u5c31\u505c\u4e86\u663e\u7136\u4e0d\u884c&#xff0c;\u6240\u4ee5\u54b1\u4eec\u8fd8\u9700\u8981\u628a\u670d\u52a1\u5e94\u7528\u6ce8\u518c\u5230linux\u7ba1\u7406\u670d\u52a1\u91cc\u8fdb\u884c\u7ba1\u7406<\/p>\n<p>#\u65b0\u589e\u670d\u52a1\u914d\u7f6e\u6587\u4ef6<br \/>\nsudo vim \/etc\/systemd\/system\/myapp.service<br \/>\n[Unit]<br \/>\nDescription&#061;My .NET Core Application<br \/>\nAfter&#061;network.target<\/p>\n<p>[Service]<br \/>\n#\u670d\u52a1\u76ee\u5f55 \u9879\u76ee\u7684\u6587\u4ef6\u76ee\u5f55<br \/>\nWorkingDirectory&#061;\/home\/myapp<br \/>\n#dotnet \u8fd0\u884c\u65f6\u5b89\u88c5\u76ee\u5f55<br \/>\n#\u6ce8\u610f \/home\/netcoreruntime\/dotnet \u8fd9\u4e2a\u662fdotnet\u8fd0\u884c\u65f6\u7684\u5168\u76ee\u5f55\u5426\u5219\u65e0\u6cd5\u6267\u884c<br \/>\n#\u6ce8\u610f \/home\/myapp\/myapp.dll       \u8fd9\u4e2a\u662f\u4f60\u7a0b\u5e8f\u7684\u542f\u52a8dll<br \/>\nExecStart&#061;\/home\/netcoreruntime\/dotnet \/home\/myapp\/myapp.dll<br \/>\nRestart&#061;always<br \/>\n# Restart service after 10 seconds if the dotnet service crashes:<br \/>\nRestartSec&#061;100<br \/>\nKillSignal&#061;SIGINT<br \/>\n#\u65e5\u5fd7\u524d\u7f00<br \/>\nSyslogIdentifier&#061;dotnet-myappserver<br \/>\n#\u542f\u7528\u7528\u6237 \u8fd9\u91cc\u5efa\u8bae\u65b0\u5efa\u4e00\u4e2a\u7528\u6237<br \/>\nUser&#061;opsadmin<br \/>\nEnvironment&#061;ASPNETCORE_ENVIRONMENT&#061;Production<br \/>\nEnvironment&#061;DOTNET_PRINT_TELEMETRY_MESSAGE&#061;false<\/p>\n<p>[Install]<br \/>\nWantedBy&#061;multi-user.target <\/p>\n<p>\u4ee5\u4e0a\u914d\u7f6e\u5173\u952e\u51e0\u4e2a\u4f4d\u7f6e\u4fee\u6539\u4e0b\u5c31\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528<\/p>\n<p>\u914d\u7f6e\u5b8c\u6210\u4e86\u600e\u4e48\u542f\u52a8\u5462<\/p>\n<p>#\u8bbe\u7f6e\u5f00\u673a\u81ea\u52a8\u542f\u52a8 myapp.service \u8fd9\u4e2a\u8981\u4e0e\u521a\u624d\u521b\u5efa\u7684\u914d\u7f6e\u6587\u4ef6\u540d\u79f0\u4e00\u81f4<br \/>\nsudo systemctl enable myapp.service<br \/>\n#\u542f\u52a8\u670d\u52a1<br \/>\nsudo systemctl start  myapp.service<br \/>\n#\u67e5\u770b\u670d\u52a1\u72b6\u6001 \u5982\u679crunning \u72b6\u6001\u8bf4\u660e\u670d\u52a1\u5df2\u7ecf\u90e8\u7f72\u6210\u529f\u62c9<br \/>\nsudo systemctl status myapp.service <\/p>\n<p>3 \u65e5\u5fd7\u67e5\u770b<\/p>\n<p>\u670d\u52a1\u90e8\u7f72\u5b8c\u4e86\u4f46\u662f\u600e\u4e48\u67e5\u770b\u65e5\u5fd7\u5462&#xff1f;<\/p>\n<p>sudo journalctl -u myapp.service \u00a0# \u67e5\u770b\u6240\u6709\u65e5\u5fd7 sudo journalctl -u myapp.service -f \u00a0# \u5b9e\u65f6\u8ddf\u8e2a\u65e5\u5fd7 sudo journalctl -u myapp.service &#8211;since &#034;10 minutes ago&#034; \u00a0# \u67e5\u770b\u6700\u8fd110\u5206\u949f\u65e5\u5fd7 <img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"237\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250814071446-689d8ce6527d0.png\" width=\"1065\" \/><\/p>\n<p>journalctl\u00a0\u662f\u4e2a\u5565&#xff1f;<\/p>\n<p>journalctl\u00a0\u662f Linux \u7cfb\u7edf\u4e2d\u7528\u4e8e\u67e5\u8be2\u548c\u7ba1\u7406\u00a0systemd-journald\u00a0\u670d\u52a1\u6536\u96c6\u7684\u65e5\u5fd7\u7684\u547d\u4ee4\u884c\u5de5\u5177&#xff0c;\u5728\u4f7f\u7528 systemd \u7684\u7cfb\u7edf&#xff08;\u5982\u9e92\u9e9f V10\u3001CentOS 7&#043;\u3001Ubuntu 16.04&#043; \u7b49&#xff09;\u4e2d\u975e\u5e38\u5e38\u7528\u3002\u5b83\u53ef\u4ee5\u96c6\u4e2d\u67e5\u770b\u7cfb\u7edf\u3001\u670d\u52a1\u3001\u5185\u6838\u7b49\u5404\u7c7b\u65e5\u5fd7&#xff0c;\u529f\u80fd\u5f3a\u5927\u4e14\u7075\u6d3b\u3002<\/p>\n<h4>\u4e00\u3001\u57fa\u672c\u7528\u6cd5<\/h4>\n<h5>1. \u67e5\u770b\u6240\u6709\u65e5\u5fd7&#xff08;\u9ed8\u8ba4\u6309\u5206\u9875&#xff09;<\/h5>\n<p>bash<\/p>\n<p>journalctl<\/p>\n<p>\u6309\u00a0q\u00a0\u9000\u51fa\u67e5\u770b&#xff0c;\u6309\u4e0a\u4e0b\u952e\u6eda\u52a8&#xff0c;\u6309\u00a0G\u00a0\u8df3\u5230\u5e95\u90e8\u3002<\/p>\n<h5>2. \u5b9e\u65f6\u8ddf\u8e2a\u65e5\u5fd7&#xff08;\u7c7b\u4f3c\u00a0tail -f&#xff09;<\/h5>\n<p>bash<\/p>\n<p>journalctl -f<\/p>\n<p>\u5b9e\u65f6\u663e\u793a\u65b0\u4ea7\u751f\u7684\u65e5\u5fd7&#xff0c;\u9002\u5408\u76d1\u63a7\u670d\u52a1\u8fd0\u884c\u72b6\u6001\u3002<\/p>\n<h4>\u4e8c\u3001\u6309\u670d\u52a1 \/ \u5355\u5143\u7b5b\u9009<\/h4>\n<h5>1. \u67e5\u770b\u6307\u5b9a\u670d\u52a1\u7684\u65e5\u5fd7&#xff08;\u6700\u5e38\u7528&#xff09;<\/h5>\n<p>bash<\/p>\n<p>journalctl -u \u670d\u52a1\u540d.service<br \/>\n# \u793a\u4f8b&#xff1a;\u67e5\u770b nginx \u670d\u52a1\u7684\u65e5\u5fd7<br \/>\njournalctl -u nginx.service<\/p>\n<h5>2. \u5b9e\u65f6\u8ddf\u8e2a\u67d0\u4e2a\u670d\u52a1\u7684\u65e5\u5fd7<\/h5>\n<p>bash<\/p>\n<p>journalctl -u nginx.service -f<\/p>\n<h4>\u4e09\u3001\u6309\u65f6\u95f4\u7b5b\u9009<\/h4>\n<h5>1. \u67e5\u770b\u6700\u8fd1 N \u65f6\u95f4\u7684\u65e5\u5fd7<\/h5>\n<p>bash<\/p>\n<p># \u6700\u8fd1 1 \u5c0f\u65f6<br \/>\njournalctl &#8211;since &#034;1 hour ago&#034;<br \/>\n# \u6700\u8fd1 30 \u5206\u949f<br \/>\njournalctl &#8211;since &#034;30 minutes ago&#034;<\/p>\n<h5>2. \u67e5\u770b\u67d0\u4e2a\u65f6\u95f4\u8303\u56f4\u5185\u7684\u65e5\u5fd7<\/h5>\n<p>bash<\/p>\n<p># 2025-08-14 08:00 \u5230\u73b0\u5728<br \/>\njournalctl &#8211;since &#034;2025-08-14 08:00&#034;<br \/>\n# 2025-08-14 08:00 \u5230 10:00<br \/>\njournalctl &#8211;since &#034;2025-08-14 08:00&#034; &#8211;until &#034;2025-08-14 10:00&#034;<\/p>\n<h4>\u56db\u3001\u6309\u65e5\u5fd7\u7ea7\u522b\u7b5b\u9009<\/h4>\n<p>\u65e5\u5fd7\u7ea7\u522b\u4ece\u4f4e\u5230\u9ad8&#xff08;\u8be6\u7ec6\u7a0b\u5ea6\u9012\u51cf&#xff09;&#xff1a;debug\u3001info\u3001notice\u3001warning\u3001err\u3001crit\u3001alert\u3001emerg\u3002<\/p>\n<p>bash<\/p>\n<p># \u53ea\u663e\u793a\u9519\u8bef\u7ea7\u522b\u53ca\u4ee5\u4e0a\u7684\u65e5\u5fd7&#xff08;err\u3001crit\u3001alert\u3001emerg&#xff09;<br \/>\njournalctl -p err<br \/>\n# \u663e\u793a\u8b66\u544a\u53ca\u4ee5\u4e0a\u7ea7\u522b&#xff0c;\u5e76\u8ddf\u8e2a nginx \u670d\u52a1<br \/>\njournalctl -u nginx.service -p warning -f<\/p>\n<h4>\u4e94\u3001\u6309\u8fdb\u7a0b \/ \u7528\u6237\u7b5b\u9009<\/h4>\n<h5>1. \u67e5\u770b\u67d0\u4e2a\u8fdb\u7a0b\u7684\u65e5\u5fd7<\/h5>\n<p>bash<\/p>\n<p>journalctl _PID&#061;1234  # 1234 \u662f\u8fdb\u7a0b PID<\/p>\n<h5>2. \u67e5\u770b\u67d0\u4e2a\u7528\u6237\u76f8\u5173\u7684\u65e5\u5fd7<\/h5>\n<p>bash<\/p>\n<p>journalctl _UID&#061;1000  # 1000 \u662f\u7528\u6237 UID<\/p>\n<h4>\u516d\u3001\u5185\u6838\u65e5\u5fd7\u76f8\u5173<\/h4>\n<h5>1. \u53ea\u67e5\u770b\u5185\u6838\u65e5\u5fd7<\/h5>\n<p>bash<\/p>\n<p>journalctl -k<\/p>\n<h5>2. \u5b9e\u65f6\u8ddf\u8e2a\u5185\u6838\u65e5\u5fd7&#xff08;\u5982\u786c\u4ef6\u4e8b\u4ef6\u3001\u9a71\u52a8\u4fe1\u606f&#xff09;<\/h5>\n<p>bash<\/p>\n<p>journalctl -k -f<\/p>\n<h4>\u4e03\u3001\u5b9e\u7528\u9009\u9879<\/h4>\n<ul>\n<li>&#8211;no-pager&#xff1a;\u4e0d\u5206\u9875\u663e\u793a&#xff08;\u9002\u5408\u7ba1\u9053\u7b26\u5904\u7406&#xff09;\n<p>bash<\/p>\n<p> journalctl -u nginx.service &#8211;no-pager | grep &#034;error&#034;\n <\/li>\n<li>-o json&#xff1a;\u4ee5 JSON \u683c\u5f0f\u8f93\u51fa&#xff08;\u4fbf\u4e8e\u89e3\u6790&#xff09;\n<p>bash<\/p>\n<p> journalctl -u nginx.service -o json\n <\/li>\n<li>&#8211;disk-usage&#xff1a;\u67e5\u770b\u65e5\u5fd7\u5360\u7528\u7684\u78c1\u76d8\u7a7a\u95f4\n<p>bash<\/p>\n<p> journalctl &#8211;disk-usage<\/p>\n<\/li>\n<li>&#8211;vacuum-size&#061;100M&#xff1a;\u6e05\u7406\u65e5\u5fd7&#xff0c;\u4fdd\u7559\u6700\u8fd1 100M\n<p>bash<\/p>\n<p> sudo journalctl &#8211;vacuum-size&#061;100M<\/p>\n<\/li>\n<\/ul>\n<h4>\u516b\u3001\u6ce8\u610f\u4e8b\u9879<\/h4>\n<li>\u6743\u9650&#xff1a;\u90e8\u5206\u65e5\u5fd7&#xff08;\u5982\u7cfb\u7edf\u7ea7\u3001\u5185\u6838\u65e5\u5fd7&#xff09;\u9700\u8981\u00a0sudo\u00a0\u624d\u80fd\u67e5\u770b\u5b8c\u6574\u5185\u5bb9\u3002<\/li>\n<li>\u65e5\u5fd7\u5b58\u50a8&#xff1a;\u9ed8\u8ba4\u65e5\u5fd7\u5b58\u5728\u00a0\/var\/log\/journal\/&#xff08;\u4e8c\u8fdb\u5236\u683c\u5f0f&#xff09;&#xff0c;\u7531\u00a0systemd-journald\u00a0\u7ba1\u7406&#xff0c;\u800c\u975e\u4f20\u7edf\u6587\u672c\u6587\u4ef6\u3002<\/li>\n<li>\u6301\u4e45\u5316&#xff1a;\u5982\u679c\u7cfb\u7edf\u672a\u542f\u7528\u65e5\u5fd7\u6301\u4e45\u5316&#xff0c;\u91cd\u542f\u540e\u53ef\u80fd\u4e22\u5931\u90e8\u5206\u65e5\u5fd7&#xff0c;\u53ef\u901a\u8fc7\u00a0sudo mkdir -p \/var\/log\/journal\u00a0\u5e76\u91cd\u542f\u00a0systemd-journald\u00a0\u5f00\u542f\u6301\u4e45\u5316\u3002<\/li>\n<p>\u901a\u8fc7\u00a0journalctl\u00a0\u7684\u5404\u79cd\u7ec4\u5408\u9009\u9879&#xff0c;\u53ef\u4ee5\u9ad8\u6548\u5b9a\u4f4d\u7cfb\u7edf\u6216\u670d\u52a1\u7684\u95ee\u9898&#xff0c;\u662f Linux \u8fd0\u7ef4\u4e2d\u4e0d\u53ef\u6216\u7f3a\u7684\u5de5\u5177\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb265\u6b21\uff0c\u70b9\u8d5e2\u6b21\uff0c\u6536\u85cf2\u6b21\u3002linux \u90e8\u7f72 .net core<\/p>\n","protected":false},"author":2,"featured_media":56229,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[893,322,502],"topic":[],"class_list":["post-56232","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-netcore","tag-kylin","tag-502"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>.netcore8 \u670d\u52a1\u5982\u4f55\u5728\u9e92\u9e9fv10\u670d\u52a1\u5668\u4e0a\u90e8\u7f72 - \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\/56232.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\".netcore8 \u670d\u52a1\u5982\u4f55\u5728\u9e92\u9e9fv10\u670d\u52a1\u5668\u4e0a\u90e8\u7f72 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb265\u6b21\uff0c\u70b9\u8d5e2\u6b21\uff0c\u6536\u85cf2\u6b21\u3002linux \u90e8\u7f72 .net core\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/56232.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-14T07:14:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250814071443-689d8ce33a349.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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/56232.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/56232.html\",\"name\":\".netcore8 \u670d\u52a1\u5982\u4f55\u5728\u9e92\u9e9fv10\u670d\u52a1\u5668\u4e0a\u90e8\u7f72 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-14T07:14:48+00:00\",\"dateModified\":\"2025-08-14T07:14:48+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/56232.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/56232.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/56232.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\".netcore8 \u670d\u52a1\u5982\u4f55\u5728\u9e92\u9e9fv10\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\"}]},{\"@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":".netcore8 \u670d\u52a1\u5982\u4f55\u5728\u9e92\u9e9fv10\u670d\u52a1\u5668\u4e0a\u90e8\u7f72 - \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\/56232.html","og_locale":"zh_CN","og_type":"article","og_title":".netcore8 \u670d\u52a1\u5982\u4f55\u5728\u9e92\u9e9fv10\u670d\u52a1\u5668\u4e0a\u90e8\u7f72 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb265\u6b21\uff0c\u70b9\u8d5e2\u6b21\uff0c\u6536\u85cf2\u6b21\u3002linux \u90e8\u7f72 .net core","og_url":"https:\/\/www.wsisp.com\/helps\/56232.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-14T07:14:48+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250814071443-689d8ce33a349.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/56232.html","url":"https:\/\/www.wsisp.com\/helps\/56232.html","name":".netcore8 \u670d\u52a1\u5982\u4f55\u5728\u9e92\u9e9fv10\u670d\u52a1\u5668\u4e0a\u90e8\u7f72 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-14T07:14:48+00:00","dateModified":"2025-08-14T07:14:48+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/56232.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/56232.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/56232.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":".netcore8 \u670d\u52a1\u5982\u4f55\u5728\u9e92\u9e9fv10\u670d\u52a1\u5668\u4e0a\u90e8\u7f72"}]},{"@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\/56232","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=56232"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/56232\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/56229"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=56232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=56232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=56232"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=56232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}