{"id":164,"date":"2025-04-28T10:00:52","date_gmt":"2025-04-28T02:00:52","guid":{"rendered":"https:\/\/itcat.me\/?p=164"},"modified":"2025-04-28T10:00:54","modified_gmt":"2025-04-28T02:00:54","slug":"asp-net-core-%e4%b8%8a%e4%bc%a0%e5%a4%a7%e6%96%87%e4%bb%b6","status":"publish","type":"post","link":"https:\/\/itcat.me\/?p=164","title":{"rendered":"asp.net core \u4e0a\u4f20\u5927\u6587\u4ef6"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u516c\u53f8\u6709\u4e2a\u57fa\u4e8e.net core 3.1 \u5f00\u53d1\u7684\u4ea7\u54c1\uff0c\u5176\u4e2d\u6709\u4e2a\u4e0a\u4f20\u8d44\u7684\u529f\u80fd\uff0c\u4e00\u822c\u5c31\u662f\u4e0a\u4f20\u4e2aword\uff0cPDF\u4e4b\u7c7b\u6587\u4ef6\uff0c\u4e0d\u4f1a\u592a\u5927\uff0c\u4ece\u6765\u6ca1\u6709\u53cd\u9988\u8fc7\u8fd9\u5757\u6709\u5565\u95ee\u9898\u3002\u8fd9\u6b21\u5728\u73b0\u573a\u7684\u540c\u4e8b\u7a81\u7136\u53cd\u9988\u8bf4\u6587\u4ef6\u4f20\u4e0d\u4e0a\u53bb\u3002\u6211\u8bd5\u4e86\u4e0b\u6ca1\u95ee\u9898\uff0c\u518d\u4e00\u770b\u6587\u4ef6\u5927\u5c0f\uff0c\u6211\u4f20\u7684\u662f10M\u5927\u5c0f\u7684\u4e00\u4e2aword\u6587\u6863\uff0c\u4ed6\u4e0a\u4f20\u7684\u662f\u4e00\u4e2a33M\u7684word\u6587\u6863\u3002 \u770b\u4e86\u4e0bnginx\u914d\u7f6e\uff1a<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#24292e;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 0 16px;font-size:0.8em;width:100%;text-align:left;background-color:#fff;font-style:italic;color:#24292e\"><span style=\"border-bottom:1px solid rgba(16, 41, 67, 0.2)\">Nginx<\/span><\/span><span role=\"button\" tabindex=\"0\" data-code=\"client_max_body_size 20m;\" style=\"color:#fff;display:none;background-color:#24292e\" aria-label=\"\u590d\u5236\" data-copied-text=\"\u5df2\u590d\u5236\uff01\" data-has-text-button=\"textSimple\" data-inside-header-type=\"stringSmall\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><span class=\"cbp-btn-text\">\u590d\u5236<\/span><\/span><pre class=\"shiki github-light\" style=\"background-color: #fff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D73A49\">client_max_body_size <\/span><span style=\"color: #24292E\">20m;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u80af\u5b9a\u4f20\u4e0d\u4e0a\u53bb\u3002\u6539\u6210500M\uff0c\u7136\u540e\u518d\u4f20\uff0c\u53d1\u73b0\u8fd8\u662f\u4e0d\u884c\u3002 \u5e94\u8be5\u662fasp.net core\u6709\u9650\u5236\uff0c\u67e5\u4e86\u4e0b\uff0c<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">MaxRequestBodySize \u9ed8\u8ba4\u8bbe\u7f6e\u4e3a28.6M\uff0c\u4e5f\u6539\u6210500M\uff0c33M\u7684\u6587\u4ef6\u80fd\u4e0a\u4f20\u4e86\u3002\u60f3\u60f3\u53cd\u6b63\u90fd\u6539\u6210500M\u4e86\uff0c\u8bd5\u8bd5\u66f4\u5927\u7684\u6587\u4ef6\uff0c\u9009\u4e86\u4e2a200M\u7684\u6587\u4ef6\uff0c\u4e0a\u4f20\u5931\u8d25\u3002  \u770b\u4e86.net core\u7684\u9519\u8bef\u65e5\u5fd7\uff0c\u53c8\u67e5\u4e86\u4e0b\uff0c\u8fd8\u6709\u4e2aMultipartBodyLengthLimit\u7684\u8bbe\u7f6e\uff0c\u9ed8\u8ba4\u662f128M\uff0c\u4e5f\u6539\u6210500M\uff0c\u518d\u6d4b\u8bd5\uff0c450M\u7684\u6587\u4ef6\u4e5f\u80fd\u4e0a\u4f20\u4e86\u3002 <br>MaxRequestBodySize\u5728Program.cs\u4e2d\u8bbe\u7f6e\uff1a<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#24292e;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 0 16px;font-size:0.8em;width:100%;text-align:left;background-color:#fff;font-style:italic;color:#24292e\"><span style=\"border-bottom:1px solid rgba(16, 41, 67, 0.2)\">C#<\/span><\/span><span role=\"button\" tabindex=\"0\" data-code=\"using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Microsoft.AspNetCore.Hosting;\nusing Microsoft.Extensions.Configuration;\nusing Microsoft.Extensions.Hosting;\nusing Microsoft.Extensions.Logging;\n\nnamespace WebApplication1\n{\n    public class Program\n    {\n        public static void Main(string[] args)\n        {\n            CreateHostBuilder(args).Build().Run();\n        }\n\n        public static IHostBuilder CreateHostBuilder(string[] args) =&gt;\n            Host.CreateDefaultBuilder(args)\n                .ConfigureWebHostDefaults(webBuilder =&gt;\n                {\n                    webBuilder.UseStartup&lt;Startup&gt;();\n                    webBuilder.ConfigureKestrel(serverOptions =&gt;\n                    {\n                        serverOptions.Limits.MaxRequestBodySize = 500 * 1024 * 1024; \/\/ \u8fd9\u513f\u8bbe\u7f6e\u4e3a500M\n                    });\n                });\n\n    }\n}\n\" style=\"color:#fff;display:none;background-color:#24292e\" aria-label=\"\u590d\u5236\" data-copied-text=\"\u5df2\u590d\u5236\uff01\" data-has-text-button=\"textSimple\" data-inside-header-type=\"stringSmall\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><span class=\"cbp-btn-text\">\u590d\u5236<\/span><\/span><pre class=\"shiki github-light\" style=\"background-color: #fff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D73A49\">using<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #6F42C1\">System<\/span><span style=\"color: #24292E\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D73A49\">using<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #6F42C1\">System<\/span><span style=\"color: #24292E\">.<\/span><span style=\"color: #6F42C1\">Collections<\/span><span style=\"color: #24292E\">.<\/span><span style=\"color: #6F42C1\">Generic<\/span><span style=\"color: #24292E\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D73A49\">using<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #6F42C1\">System<\/span><span style=\"color: #24292E\">.<\/span><span style=\"color: #6F42C1\">Linq<\/span><span style=\"color: #24292E\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D73A49\">using<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #6F42C1\">System<\/span><span style=\"color: #24292E\">.<\/span><span style=\"color: #6F42C1\">Threading<\/span><span style=\"color: #24292E\">.<\/span><span style=\"color: #6F42C1\">Tasks<\/span><span style=\"color: #24292E\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D73A49\">using<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #6F42C1\">Microsoft<\/span><span style=\"color: #24292E\">.<\/span><span style=\"color: #6F42C1\">AspNetCore<\/span><span style=\"color: #24292E\">.<\/span><span style=\"color: #6F42C1\">Hosting<\/span><span style=\"color: #24292E\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D73A49\">using<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #6F42C1\">Microsoft<\/span><span style=\"color: #24292E\">.<\/span><span style=\"color: #6F42C1\">Extensions<\/span><span style=\"color: #24292E\">.<\/span><span style=\"color: #6F42C1\">Configuration<\/span><span style=\"color: #24292E\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D73A49\">using<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #6F42C1\">Microsoft<\/span><span style=\"color: #24292E\">.<\/span><span style=\"color: #6F42C1\">Extensions<\/span><span style=\"color: #24292E\">.<\/span><span style=\"color: #6F42C1\">Hosting<\/span><span style=\"color: #24292E\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D73A49\">using<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #6F42C1\">Microsoft<\/span><span style=\"color: #24292E\">.<\/span><span style=\"color: #6F42C1\">Extensions<\/span><span style=\"color: #24292E\">.<\/span><span style=\"color: #6F42C1\">Logging<\/span><span style=\"color: #24292E\">;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D73A49\">namespace<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #6F42C1\">WebApplication1<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">    <\/span><span style=\"color: #D73A49\">public<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #D73A49\">class<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #6F42C1\">Program<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">    {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">        <\/span><span style=\"color: #D73A49\">public<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #D73A49\">static<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #D73A49\">void<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #6F42C1\">Main<\/span><span style=\"color: #24292E\">(<\/span><span style=\"color: #D73A49\">string<\/span><span style=\"color: #24292E\">[] <\/span><span style=\"color: #6F42C1\">args<\/span><span style=\"color: #24292E\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">        {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">            <\/span><span style=\"color: #6F42C1\">CreateHostBuilder<\/span><span style=\"color: #24292E\">(args).<\/span><span style=\"color: #6F42C1\">Build<\/span><span style=\"color: #24292E\">().<\/span><span style=\"color: #6F42C1\">Run<\/span><span style=\"color: #24292E\">();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">        }<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">        <\/span><span style=\"color: #D73A49\">public<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #D73A49\">static<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #6F42C1\">IHostBuilder<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #6F42C1\">CreateHostBuilder<\/span><span style=\"color: #24292E\">(<\/span><span style=\"color: #D73A49\">string<\/span><span style=\"color: #24292E\">[] <\/span><span style=\"color: #6F42C1\">args<\/span><span style=\"color: #24292E\">) <\/span><span style=\"color: #D73A49\">=&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">            Host.<\/span><span style=\"color: #6F42C1\">CreateDefaultBuilder<\/span><span style=\"color: #24292E\">(args)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">                .<\/span><span style=\"color: #6F42C1\">ConfigureWebHostDefaults<\/span><span style=\"color: #24292E\">(<\/span><span style=\"color: #6F42C1\">webBuilder<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #D73A49\">=&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">                {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">                    webBuilder.<\/span><span style=\"color: #6F42C1\">UseStartup<\/span><span style=\"color: #24292E\">&lt;<\/span><span style=\"color: #6F42C1\">Startup<\/span><span style=\"color: #24292E\">&gt;();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">                    webBuilder.<\/span><span style=\"color: #6F42C1\">ConfigureKestrel<\/span><span style=\"color: #24292E\">(<\/span><span style=\"color: #6F42C1\">serverOptions<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #D73A49\">=&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">                    {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">                        serverOptions.Limits.MaxRequestBodySize <\/span><span style=\"color: #D73A49\">=<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #005CC5\">500<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #D73A49\">*<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #005CC5\">1024<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #D73A49\">*<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #005CC5\">1024<\/span><span style=\"color: #24292E\">; <\/span><span style=\"color: #6A737D\">\/\/ \u8fd9\u513f\u8bbe\u7f6e\u4e3a500M<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">                    });<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">                });<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">    }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">}<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">MultipartBodyLengthLimit\u5728Startup.cs\u4e2d\u8bbe\u7f6e\uff1a<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#24292e;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 0 16px;font-size:0.8em;width:100%;text-align:left;background-color:#fff;font-style:italic;color:#24292e\"><span style=\"border-bottom:1px solid rgba(16, 41, 67, 0.2)\">C#<\/span><\/span><span role=\"button\" tabindex=\"0\" data-code=\"        public void ConfigureServices(IServiceCollection services)\n        {\n            services.AddControllers();\n            services.Configure&lt;FormOptions&gt;(x =&gt;\n            {\n                x.ValueLengthLimit = int.MaxValue; \/\/ \u8bbe\u7f6e\u8868\u5355\u503c\u7684\u6700\u5927\u957f\u5ea6\uff08\u5b57\u8282\uff09\n                x.MultipartBodyLengthLimit = 500 * 1024 * 1024; \/\/ \u8bbe\u7f6e\u591a\u90e8\u5206\u8bf7\u6c42\u4f53\u7684\u6700\u5927\u957f\u5ea6\uff08\u5b57\u8282\uff09\uff0c\u8fd9\u91cc\u8bbe\u7f6e\u4e3a500M\n            });\n        }\" style=\"color:#fff;display:none;background-color:#24292e\" aria-label=\"\u590d\u5236\" data-copied-text=\"\u5df2\u590d\u5236\uff01\" data-has-text-button=\"textSimple\" data-inside-header-type=\"stringSmall\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><span class=\"cbp-btn-text\">\u590d\u5236<\/span><\/span><pre class=\"shiki github-light\" style=\"background-color: #fff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #24292E\">        <\/span><span style=\"color: #D73A49\">public<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #D73A49\">void<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #6F42C1\">ConfigureServices<\/span><span style=\"color: #24292E\">(<\/span><span style=\"color: #6F42C1\">IServiceCollection<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #6F42C1\">services<\/span><span style=\"color: #24292E\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">        {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">            services.<\/span><span style=\"color: #6F42C1\">AddControllers<\/span><span style=\"color: #24292E\">();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">            services.<\/span><span style=\"color: #6F42C1\">Configure<\/span><span style=\"color: #24292E\">&lt;<\/span><span style=\"color: #6F42C1\">FormOptions<\/span><span style=\"color: #24292E\">&gt;(<\/span><span style=\"color: #6F42C1\">x<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #D73A49\">=&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">            {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">                x.ValueLengthLimit <\/span><span style=\"color: #D73A49\">=<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #D73A49\">int<\/span><span style=\"color: #24292E\">.MaxValue; <\/span><span style=\"color: #6A737D\">\/\/ \u8bbe\u7f6e\u8868\u5355\u503c\u7684\u6700\u5927\u957f\u5ea6\uff08\u5b57\u8282\uff09<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">                x.MultipartBodyLengthLimit <\/span><span style=\"color: #D73A49\">=<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #005CC5\">500<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #D73A49\">*<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #005CC5\">1024<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #D73A49\">*<\/span><span style=\"color: #24292E\"> <\/span><span style=\"color: #005CC5\">1024<\/span><span style=\"color: #24292E\">; <\/span><span style=\"color: #6A737D\">\/\/ \u8bbe\u7f6e\u591a\u90e8\u5206\u8bf7\u6c42\u4f53\u7684\u6700\u5927\u957f\u5ea6\uff08\u5b57\u8282\uff09\uff0c\u8fd9\u91cc\u8bbe\u7f6e\u4e3a500M<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">            });<\/span><\/span>\n<span class=\"line\"><span style=\"color: #24292E\">        }<\/span><\/span><\/code><\/pre><\/div>\n<div class=\"pvc_clear\"><\/div><p id=\"pvc_stats_164\" class=\"pvc_stats all  \" data-element-id=\"164\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/itcat.me\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p><div class=\"pvc_clear\"><\/div>","protected":false},"excerpt":{"rendered":"<p>\u516c\u53f8\u6709\u4e2a\u57fa\u4e8e.net core 3.1 \u5f00\u53d1\u7684\u4ea7\u54c1\uff0c\u5176\u4e2d\u6709\u4e2a\u4e0a\u4f20\u8d44\u7684\u529f\u80fd\uff0c\u4e00\u822c\u5c31\u662f\u4e0a\u4f20\u4e2aword\uff0cP . . . <a class=\"readmore-link\" href=\"https:\/\/itcat.me\/?p=164\">Read more<\/a><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_164\" class=\"pvc_stats all  \" data-element-id=\"164\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/itcat.me\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-164","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/itcat.me\/index.php?rest_route=\/wp\/v2\/posts\/164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itcat.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itcat.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itcat.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itcat.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=164"}],"version-history":[{"count":1,"href":"https:\/\/itcat.me\/index.php?rest_route=\/wp\/v2\/posts\/164\/revisions"}],"predecessor-version":[{"id":165,"href":"https:\/\/itcat.me\/index.php?rest_route=\/wp\/v2\/posts\/164\/revisions\/165"}],"wp:attachment":[{"href":"https:\/\/itcat.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itcat.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itcat.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}