{"id":194574,"date":"2020-10-30T21:32:22","date_gmt":"2020-10-30T13:32:22","guid":{"rendered":"http:\/\/4563.org\/?p=194574"},"modified":"2020-10-30T21:32:22","modified_gmt":"2020-10-30T13:32:22","slug":"%e4%b8%80%e7%9b%b4%e5%90%ac%e7%bd%91%e5%8f%8b%e4%bb%ac%e5%ae%89%e5%88%a9-net-core%ef%bc%8c%e6%83%b3%e5%ad%a6%e4%b8%80%e4%b8%8b","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=194574","title":{"rendered":"\u4e00\u76f4\u542c\u7f51\u53cb\u4eec\u5b89\u5229.net core\uff0c\u60f3\u5b66\u4e00\u4e0b"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u4e00\u76f4\u542c\u7f51\u53cb\u4eec\u5b89\u5229.net core\uff0c\u60f3\u5b66\u4e00\u4e0b               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zxCoder <\/span>  <span><i><\/i> 5<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u88c5\u4e86\u4e2a Rider \u548c.net 5\uff0c\u6253\u7b97\u5b66\u4e00\u4e0b\uff0c\u7167\u7740\u5b98\u7f51\u7684\u6587\u6863\u5199\u4e86\u51e0\u4e2a demo\uff0c\u4e5f\u6162\u6162\u5728\u719f\u6089 c#\u8bed\u6cd5\uff0c<\/p>\n<p>\u60f3\u95ee\u4e0b\u5982\u679c\u4e0d\u4e3a\u5de5\u4f5c\u7684\u5b66\u4e60\uff0c\u9700\u4e0d\u9700\u8981\u5b8c\u5168\u6452\u5f03 java \u90a3\u4e00\u5957\u5462\uff0c\u6bd4\u5982\u73b0\u5728\u4e2d spring \u7b49\u8fd9\u4e9b\u7684\u6bd2\u6bd4\u8f83\u6df1\uff0c\u5b66\u4e00\u95e8\u65b0\u8bed\u8a00\u5c31\u559c\u6b22\u770b\u6709\u4ec0\u4e48\u65b9\u4fbf\u5f00\u53d1\u7684\u6846\u67b6\uff0cc# .net \u6709\u5bf9\u5e94\u7684\u8fd9\u4e9b\u5417\uff1f<\/p>\n<p>\u7136\u540e\u8fd9\u4e1c\u897f\u80fd\u76f4\u63a5\u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6\u653e linux \u670d\u52a1\u5668\u91cc\u8dd1\u5417\uff1f\u8fd8\u662f\u4e5f\u8981\u50cf java \u4e00\u6837\u88c5\u4e2a\u8fd0\u884c\u65f6\u73af\u5883\u3002\u672c\u5730 IDE \u521b\u5efa\u7684\u9879\u76ee\u9ed8\u8ba4\u90fd\u662f iis \u90a3\u4e00\u5957\uff0c\u5982\u679c\u4e0d\u60f3\u7528\uff0c\u53ef\u4ee5\u6362\u522b\u7684\u5417\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>6<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4215051\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Athrob <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u90fd\u6709\u90fd\u6709, \u53ef\u4ee5\u53ef\u4ee5                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4215052\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Athrob <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd0\u884c\u7684\u8bdd\u53ef\u4ee5\u88c5\u4e2a\u8fd0\u884c\u65f6\u73af\u5883, \u4e5f\u53ef\u4ee5\u76f4\u63a5\u6253\u5305\u6210\u81ea\u5e26\u8fd0\u884c\u65f6\u90a3\u79cd.<br \/>\u4e0d\u7528 IIS, \u76f4\u63a5\u542f\u52a8\u72ec\u7acb\u8fdb\u7a0b\u5c31\u884c.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4215053\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : nerocc <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             .NET 5 \u7684 SDK \u81ea\u5e26 kestrel\uff0c\u6240\u4ee5\u4e0d\u9700\u8981 IIS \u4e5f\u53ef\u4ee5\u7528 CLI \u76f4\u63a5\u8dd1\u3002\u73b0\u5728.NET \u662f\u5f00\u6e90\u7684\u4e86\uff0c\u6240\u4ee5\u5b8c\u5168\u6ca1\u5fc5\u8981\u9501\u6b7b\u5728 vs \u6216\u8005 rider \u8fd9\u79cd IDE \u4e0a\u9762\uff0c\u76f4\u63a5 vs code+CLI \u4e5f\u662f\u6ca1\u95ee\u9898\u7684\u3002<br \/>.NET 5 \u6709\u65b0\u529f\u80fd\u53ef\u4ee5\u53d1\u5e03\u5355\u6587\u4ef6\u8fd0\u884c\uff0c\u4e0d\u9700\u8981\u5b89\u88c5\u8fd0\u884c\u65f6\u3002\u7136\u540e\u4f60\u60f3\u8981\u5f00\u53d1\u6846\u67b6\u7684\u8bdd\uff0c\u7528 ASP.NET Core \u5c31\u597d\u4e86\uff0c\u81ea\u5e26 DI\uff0c\u5341\u5206\u65b9\u4fbf\u3002\u6570\u636e\u5e93\u65b9\u9762\u4e00\u5b9a\u8981\u5b66 EF Core \u4f5c\u4e3a ORM\uff0c\u90fd\u662f\u5b98\u65b9\u7684\u6846\u67b6\uff0c\u5341\u5206\u597d\u7528\u3002\u8d26\u53f7\u5904\u7406\u53ef\u4ee5\u7528 ASP.NET Core Identity \u3002<br \/>\u524d\u7aef\u53ef\u4ee5\u7528 Blazor WASM\uff0c\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u8dd1 C#\u7684\u5355\u9875\u9762\u5e94\u7528\u3002\u5fae\u670d\u52a1\u6846\u67b6\u53ef\u4ee5\u7528 Tye \u6765\u5f00\u53d1\u548c\u53d1\u884c\uff0c\u7528 YARP \u505a\u9ad8\u6027\u80fd reverse proxy \u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4215054\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : whywhywhy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @nerocc \u8bf7\u6559\u4e00\u4e2a\u95ee\u9898\uff0c\u5982\u679c\u8981\u7ba1\u7406\u7684\u6570\u636e\u5e93\u8868\u548c\u5b57\u6bb5\u90fd\u662f\u52a8\u6001\u751f\u6210\u7684\u2026\u2026ORM \u9002\u5408\u4e48\u2026\u4f8b\u5982 ERP \u7cfb\u7edf\uff0c\u5b57\u6bb5\u548c\u8868\u592a\u591a\uff0c\u81ea\u5b9a\u4e49\u9700\u6c42\u591a\uff0c\u6240\u4ee5\u8981\u8ba9\u7528\u6237\u80fd\u81ea\u5df1\u8bbe\u8ba1\u65b0\u5355\u636e\u7684\u6570\u636e\u8868\uff0c\u5b57\u6bb5\uff0c\u754c\u9762\u6392\u7248\u3002\u3002\u3002\u7136\u540e\u52a8\u6001\u751f\u6210\u4ee3\u7801\u53bb\u7ba1\u7406                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4215055\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : zxCoder <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @nerocc \u611f\u8c22\u611f\u8c22 \u6709\u4e86\u4e00\u5b9a\u65b9\u5411\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4215056\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : SWALLOWW <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @whywhywhy \u6570\u636e\u6a21\u578b\u8bbe\u8ba1\u51fa\u6765\u540e\uff0cef code first \u4e00\u628a\u68ad                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u76f4\u542c\u7f51\u53cb\u4eec\u5b89\u5229.net core&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/194574"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=194574"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/194574\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=194574"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=194574"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=194574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}