{"id":1122,"date":"2023-05-04T15:51:46","date_gmt":"2023-05-04T07:51:46","guid":{"rendered":"https:\/\/www.yimenapp.cn\/yun\/?p=1122"},"modified":"2023-05-04T15:51:46","modified_gmt":"2023-05-04T07:51:46","slug":"blazor%e6%89%93%e5%8c%85exe%e5%8e%9f%e7%90%86%e5%92%8c%e4%bc%98%e7%bc%ba%e7%82%b9%e5%88%86%e6%9e%90","status":"publish","type":"post","link":"https:\/\/www.yimenapp.cn\/yun\/2023\/1122\/","title":{"rendered":"blazor\u6253\u5305exe\u539f\u7406\u548c\u4f18\u7f3a\u70b9\u5206\u6790"},"content":{"rendered":"<p>Blazor\u662f\u4e00\u79cd\u4f7f\u7528C#\u548c.NET\u6784\u5efaWeb\u5e94\u7528\u7a0b\u5e8f\u7684\u5f00\u6e90\u6846\u67b6\u3002\u5b83\u63d0\u4f9b\u4e86\u4e00\u79cd\u65b0\u7684\u65b9\u5f0f\u6765\u5f00\u53d1Web\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f7f\u7528C#\u548c.NET\u5728\u5ba2\u6237\u7aef\u76f4\u63a5\u8fd0\u884c\u4ee3\u7801\uff0c\u800c\u4e0d\u9700\u8981\u50cf\u4f20\u7edf\u7684Web\u5e94\u7528\u7a0b\u5e8f\u4e00\u6837\u901a\u8fc7HTTP\u8bf7\u6c42\u6765\u4e0e\u670d\u52a1\u5668\u4ea4\u4e92\u3002\u8fd9\u4f7f\u5f97Blazor\u5e94\u7528\u7a0b\u5e8f\u5177\u6709\u66f4\u5feb\u7684\u54cd\u5e94\u901f\u5ea6\u548c\u66f4\u597d\u7684\u6027\u80fd\u3002\u4f46\u662f\uff0c\u5c06Blazor\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u4e3a\u53ef\u6267\u884c\u6587\u4ef6\uff08.exe\uff09\u53ef\u80fd\u4f1a\u66f4\u52a0\u65b9\u4fbf\uff0c\u56e0\u4e3a\u7528\u6237\u53ef\u4ee5\u5728\u6ca1\u6709\u5b89\u88c5.NET\u8fd0\u884c\u65f6\u7684\u60c5\u51b5\u4e0b\u8fd0\u884c\u5e94\u7528\u7a0b\u5e8f\u3002\u4e0b\u9762\u662f\u5173\u4e8e\u5982\u4f55\u5c06Blazor\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u4e3a.exe\u6587\u4ef6\u7684\u539f\u7406\u548c\u8be6\u7ec6\u4ecb\u7ecd\u3002<\/p>\n<p>\u539f\u7406<\/p>\n<p>Blazor\u5e94\u7528\u7a0b\u5e8f\u901a\u5e38\u662f\u5728Web\u6d4f\u89c8\u5668\u4e2d\u8fd0\u884c\u7684\uff0c\u56e0\u6b64\u5b83\u4eec\u9700\u8981.NET\u8fd0\u884c\u65f6\u73af\u5883\u624d\u80fd\u8fd0\u884c\u3002\u4f46\u662f\uff0c\u901a\u8fc7\u4f7f\u7528.NET Core\u7684\u81ea\u5305\u542b\u90e8\u7f72\u529f\u80fd\uff0c\u53ef\u4ee5\u5c06.NET\u8fd0\u884c\u65f6\u548c\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u4e3a\u5355\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u4ece\u800c\u4f7f\u5e94\u7528\u7a0b\u5e8f\u4e0d\u9700\u8981\u4f9d\u8d56\u4e8e.NET\u8fd0\u884c\u65f6\u73af\u5883\u3002\u8fd9\u4e2a\u8fc7\u7a0b\u79f0\u4e3a\u5c06Blazor\u5e94\u7528\u7a0b\u5e8f<\/p>\n<p><figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i.cdn.yimenapp.com\/2023-03\/17\/17\/25379295060.jpg\" \/><\/figure>\n<\/p>\n<p>\u6253\u5305\u4e3a.exe\u6587\u4ef6\u3002<\/p>\n<p>\u8be6\u7ec6\u4ecb\u7ecd<\/p>\n<p>\u4ee5\u4e0b\u662f\u5c06Blazor\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u4e3a.exe\u6587\u4ef6\u7684\u8be6\u7ec6\u6b65\u9aa4\uff1a<\/p>\n<p>1. \u521b\u5efa\u4e00\u4e2a\u65b0\u7684Blazor\u5e94\u7528\u7a0b\u5e8f\u9879\u76ee\uff0c\u6216\u8005\u4f7f\u7528\u73b0\u6709\u7684Blazor\u5e94\u7528\u7a0b\u5e8f\u9879\u76ee\u3002<\/p>\n<p>2. \u5728Visual Studio\u4e2d\u6253\u5f00\u9879\u76ee\uff0c\u7136\u540e\u5728\u201c\u89e3\u51b3\u65b9\u6848\u8d44\u6e90\u7ba1\u7406\u5668\u201d\u4e2d\u53f3\u952e\u5355\u51fb\u9879\u76ee\uff0c\u9009\u62e9\u201c\u5c5e\u6027\u201d<a href=\"https:\/\/exe.yimenapp.com\/tool-1938.html\">\u7f51\u9875\u5c01\u88c5\u684c\u9762\u5e94\u7528<\/a>\u3002<\/p>\n<p>3. \u5728\u5c5e\u6027\u7a97\u53e3\u4e2d\uff0c\u9009\u62e9\u201c\u751f\u6210\u201d\u9009\u9879\u5361\u3002<\/p>\n<p>4. \u5728\u201c\u76ee\u6807\u201d\u4e0b\u62c9\u5217\u8868\u4e2d\u9009\u62e9\u201c\u53d1\u5e03\u201d\u3002<\/p>\n<p>5. \u5728\u201c\u53d1\u5e03\u76ee\u6807\u201d\u4e0b\u62c9\u5217\u8868\u4e2d\u9009\u62e9<a href=\"https:\/\/exe.yimenapp.com\/tool-2063.html\">\u524d\u540e\u7aef\u6253\u5305\u6210\u4e00\u4e2aexe<\/a>\u201cwin-x64\u201d\u3002<\/p>\n<p>6. \u5728\u201c\u90e8\u7f72\u6a21\u5f0f\u201d\u4e0b\u62c9\u5217\u8868\u4e2d\u9009\u62e9\u201c\u81ea\u5305\u542b\u201d\u3002<\/p>\n<p>7. \u5728\u201c\u76ee\u6807\u8fd0\u884c\u65f6\u201d\u4e0b\u62c9\u5217\u8868\u4e2d\u9009\u62e9\u201c\u6700\u65b0\u7684\u7a33\u5b9a\u7248\u672c\u201d\u3002<\/p>\n<p>8. \u5355\u51fb\u201c\u786e\u5b9a\u201d\u6309\u94ae\u5173\u95ed\u5c5e\u6027\u7a97\u53e3\u3002<\/p>\n<p>9. \u5728Visual Studio\u4e2d\u5355\u51fb\u201c\u751f\u6210\u201d\u83dc\u5355\uff0c\u7136\u540e\u9009\u62e9\u201c\u53d1\u5e03\u201d\u3002<\/p>\n<p>10. \u5728\u201c\u53d1\u5e03\u201d\u7a97\u53e3\u4e2d\uff0c\u9009\u62e9\u201c\u6587\u4ef6\u5939\u201d\u9009\u9879\u5361\u3002<\/p>\n<p>11. \u9009\u62e9\u4e00\u4e2a\u6587\u4ef6\u5939\u6765\u4fdd\u5b58\u53d1\u5e03\u6587\u4ef6\u3002<\/p>\n<p>12. \u5355\u51fb\u201c\u53d1\u5e03\u201d\u6309\u94ae\uff0cVisual Studio\u5c06\u81ea\u52a8\u6784\u5efa\u548c\u6253\u5305\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p>13. \u6253\u5f00\u53d1\u5e03\u6587\u4ef6\u5939\uff0c\u5e94\u8be5\u53ef\u4ee5\u770b\u5230\u4e00\u4e2a\u540d\u4e3a\u201cAppName.exe\u201d\u7684\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/p>\n<p>14. \u53cc\u51fb\u8be5\u6587\u4ef6\uff0c\u5e94\u7528\u7a0b\u5e8f\u5e94\u8be5\u53ef\u4ee5\u5728\u6ca1\u6709.NET\u8fd0\u884c\u65f6\u73af\u5883\u7684\u60c5\u51b5\u4e0b\u8fd0\u884c\u3002<\/p>\n<p>\u603b\u7ed3<\/p>\n<p>\u5c06Blazor\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u4e3a.exe\u6587\u4ef6\u53ef\u4ee5\u4f7f\u7528\u6237\u66f4\u52a0\u65b9\u4fbf\u5730\u8fd0\u884c\u5e94\u7528\u7a0b\u5e8f\uff0c\u56e0\u4e3a\u5b83\u4eec\u4e0d\u9700\u8981\u5b89\u88c5.NET\u8fd0\u884c\u65f6\u73af\u5883\u3002\u901a\u8fc7\u4f7f\u7528.NET Core\u7684\u81ea\u5305\u542b\u90e8\u7f72\u529f\u80fd\uff0c\u53ef\u4ee5\u5c06.NET\u8fd0\u884c\u65f6\u548c\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u4e3a\u5355\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\u3002\u8fd9\u4e2a\u8fc7\u7a0b\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u8981\u5728Visual Studio\u4e2d\u8fdb\u884c\u51e0\u4e2a\u7b80\u5355\u7684\u6b65\u9aa4\u5c31\u53ef\u4ee5\u5b8c\u6210\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Blazor\u662f\u4e00\u79cd\u4f7f\u7528C#\u548c.NET\u6784\u5efaWeb\u5e94\u7528\u7a0b\u5e8f\u7684\u5f00\u6e90\u6846\u67b6\u3002\u5b83\u63d0\u4f9b\u4e86\u4e00\u79cd\u65b0\u7684\u65b9\u5f0f\u6765\u5f00\u53d1Web\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f7f\u7528C#\u548c.NET\u5728\u5ba2\u6237\u7aef\u76f4\u63a5\u8fd0\u884c\u4ee3\u7801\uff0c\u800c\u4e0d\u9700\u8981\u50cf\u4f20\u7edf\u7684Web\u5e94\u7528\u7a0b\u5e8f\u4e00\u6837\u901a\u8fc7HTTP\u8bf7\u6c42<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[2286,539,14,22,2285],"topic":[],"class_list":["post-1122","post","type-post","status-publish","format-standard","hentry","category-diannaoruanjian","tag-win11","tag-539","tag-14","tag-22","tag-exe"],"_links":{"self":[{"href":"https:\/\/www.yimenapp.cn\/yun\/wp-json\/wp\/v2\/posts\/1122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yimenapp.cn\/yun\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yimenapp.cn\/yun\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yimenapp.cn\/yun\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yimenapp.cn\/yun\/wp-json\/wp\/v2\/comments?post=1122"}],"version-history":[{"count":0,"href":"https:\/\/www.yimenapp.cn\/yun\/wp-json\/wp\/v2\/posts\/1122\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yimenapp.cn\/yun\/wp-json\/wp\/v2\/media?parent=1122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenapp.cn\/yun\/wp-json\/wp\/v2\/categories?post=1122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenapp.cn\/yun\/wp-json\/wp\/v2\/tags?post=1122"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.yimenapp.cn\/yun\/wp-json\/wp\/v2\/topic?post=1122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}