ds8-solution-pro/furionDoc/build/assets/js/7dd08b1c.8f8fe9ee.js

1 line
7.8 KiB
JavaScript

"use strict";(self.webpackChunkfurion=self.webpackChunkfurion||[]).push([[4640],{6182:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>s,default:()=>h,frontMatter:()=>o,metadata:()=>l,toc:()=>c});var i=t(5893),r=t(1151);t(4996);const o={slug:"net6-preview6",title:"4. .NET 6 Preview 6 \u5c1d\u9c9c",author:"dotNET China",author_title:"\u8ba9 .NET \u5f00\u53d1\u66f4\u7b80\u5355\uff0c\u66f4\u901a\u7528\uff0c\u66f4\u6d41\u884c\u3002",author_url:"https://gitee.com/dotnetchina",author_image_url:"https://i.loli.net/2021/01/19/M8q5a3OTZWUKicl.png",tags:["furion","furos",".net",".netcore",".net5",".net6"]},s=void 0,l={permalink:"/blog/net6-preview6",editUrl:"https://gitee.com/dotnetchina/Furion/tree/v4/handbook/blog/2021-07-15-net6-preview6.mdx",source:"@site/blog/2021-07-15-net6-preview6.mdx",title:"4. .NET 6 Preview 6 \u5c1d\u9c9c",description:"2021 \u5e74 07 \u6708 15 \u65e5\uff0c\u5fae\u8f6f\u53d1\u5e03\u4e86 .NET 6 Preview 6 \u7248\u672c\uff0cFurion \u5728\u5f53\u5929\u7b2c\u4e00\u65f6\u95f4\u9002\u914d\u4e86\u8be5\u7248\u672c\uff0c\u5e76\u53d1\u5e03 Furion v3.0.0-rc.1 \u7248\u672c\u3002",date:"2021-07-15T00:00:00.000Z",formattedDate:"July 15, 2021",tags:[{label:"furion",permalink:"/blog/tags/furion"},{label:"furos",permalink:"/blog/tags/furos"},{label:".net",permalink:"/blog/tags/net"},{label:".netcore",permalink:"/blog/tags/netcore"},{label:".net5",permalink:"/blog/tags/net-5"},{label:".net6",permalink:"/blog/tags/net-6"}],readingTime:1.485,hasTruncateMarker:!1,authors:[{name:"dotNET China",title:"\u8ba9 .NET \u5f00\u53d1\u66f4\u7b80\u5355\uff0c\u66f4\u901a\u7528\uff0c\u66f4\u6d41\u884c\u3002",url:"https://gitee.com/dotnetchina",imageURL:"https://i.loli.net/2021/01/19/M8q5a3OTZWUKicl.png"}],frontMatter:{slug:"net6-preview6",title:"4. .NET 6 Preview 6 \u5c1d\u9c9c",author:"dotNET China",author_title:"\u8ba9 .NET \u5f00\u53d1\u66f4\u7b80\u5355\uff0c\u66f4\u901a\u7528\uff0c\u66f4\u6d41\u884c\u3002",author_url:"https://gitee.com/dotnetchina",author_image_url:"https://i.loli.net/2021/01/19/M8q5a3OTZWUKicl.png",tags:["furion","furos",".net",".netcore",".net5",".net6"]},unlisted:!1,prevItem:{title:"5. \u5728\u63a7\u5236\u53f0\u4e2d\u4f7f\u7528",permalink:"/blog/console"},nextItem:{title:"3. .NET 6 Preview 5 \u5c1d\u9c9c",permalink:"/blog/net6-preview5"}},d={authorsImageUrls:[void 0]},c=[{value:"\u5b89\u88c5 <code>.NET 6 Preview 6 SDK</code>",id:"\u5b89\u88c5-net-6-preview-6-sdk",level:2},{value:"\u65e7\u9879\u76ee\u5347\u7ea7",id:"\u65e7\u9879\u76ee\u5347\u7ea7",level:2},{value:"\u65b0\u9879\u76ee\u4f7f\u7528",id:"\u65b0\u9879\u76ee\u4f7f\u7528",level:2},{value:"\u5347\u7ea7 <code>Visual Studio 2019</code>",id:"\u5347\u7ea7-visual-studio-2019",level:3},{value:"\u7b2c\u4e00\u4e2a\u4f8b\u5b50",id:"\u7b2c\u4e00\u4e2a\u4f8b\u5b50",level:3},{value:"\u6253\u5f00\u5e76\u542f\u52a8\u9879\u76ee",id:"\u6253\u5f00\u5e76\u542f\u52a8\u9879\u76ee",level:3}];function a(e){const n={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",p:"p",pre:"pre",strong:"strong",...(0,r.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.p,{children:(0,i.jsxs)(n.strong,{children:["2021 \u5e74 07 \u6708 15 \u65e5\uff0c\u5fae\u8f6f\u53d1\u5e03\u4e86 ",(0,i.jsx)(n.code,{children:".NET 6 Preview 6"})," \u7248\u672c\uff0c",(0,i.jsx)(n.code,{children:"Furion"})," \u5728\u5f53\u5929\u7b2c\u4e00\u65f6\u95f4\u9002\u914d\u4e86\u8be5\u7248\u672c\uff0c\u5e76\u53d1\u5e03 ",(0,i.jsx)(n.code,{children:"Furion v3.0.0-rc.1"})," \u7248\u672c\u3002"]})}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://gitee.com/dotnetchina/Furion/tree/3.0.0-rc.1/",children:"Furion .NET 6 Preview 6 \u6e90\u7801\u5730\u5740"})}),"\n",(0,i.jsxs)(n.h2,{id:"\u5b89\u88c5-net-6-preview-6-sdk",children:["\u5b89\u88c5 ",(0,i.jsx)(n.code,{children:".NET 6 Preview 6 SDK"})]}),"\n",(0,i.jsxs)(n.p,{children:["\u5c1d\u9c9c\u4e4b\u524d\uff0c\u9996\u5148\u5148\u5b89\u88c5 ",(0,i.jsx)(n.code,{children:".NET 6 Preview 6 SDK"}),"\uff0c\u4e0b\u8f7d\u5730\u5740\uff1a",(0,i.jsx)(n.a,{href:"https://dotnet.microsoft.com/download/dotnet/6.0",children:"https://dotnet.microsoft.com/download/dotnet/6.0"})]}),"\n",(0,i.jsx)(n.p,{children:"\u4e0b\u8f7d\u5bf9\u5e94\u7cfb\u7edf\u548c\u5904\u7406\u5668\u7248\u672c\u5373\u53ef\u3002"}),"\n",(0,i.jsx)(n.h2,{id:"\u65e7\u9879\u76ee\u5347\u7ea7",children:"\u65e7\u9879\u76ee\u5347\u7ea7"}),"\n",(0,i.jsxs)(n.p,{children:["\u7f16\u8f91\u6240\u6709 ",(0,i.jsx)(n.code,{children:".csproj"})," \u9879\u76ee\uff0c\u4fee\u6539 ",(0,i.jsx)(n.code,{children:"<TargetFramework>net5.0</TargetFramework>"})," \u4e3a ",(0,i.jsx)(n.code,{children:"<TargetFramework>net6.0</TargetFramework>"}),"\u3002"]}),"\n",(0,i.jsxs)(n.p,{children:["\u540c\u65f6\u5347\u7ea7\u6240\u6709 ",(0,i.jsx)(n.code,{children:"Microsoft"})," \u548c ",(0,i.jsx)(n.code,{children:"Furion"})," \u5305\u4e3a\u6700\u65b0\u7248\u672c\uff0c",(0,i.jsx)(n.code,{children:"Furion"})," \u6700\u65b0\u7248\u672c\u4e3a\uff1a",(0,i.jsx)(n.code,{children:"v3.0.0-rc.1"}),"\u3002"]}),"\n",(0,i.jsx)(n.h2,{id:"\u65b0\u9879\u76ee\u4f7f\u7528",children:"\u65b0\u9879\u76ee\u4f7f\u7528"}),"\n",(0,i.jsxs)(n.h3,{id:"\u5347\u7ea7-visual-studio-2019",children:["\u5347\u7ea7 ",(0,i.jsx)(n.code,{children:"Visual Studio 2019"})]}),"\n",(0,i.jsxs)(n.p,{children:["\u76ee\u524d ",(0,i.jsx)(n.code,{children:".NET 6 Preview 6"})," \u652f\u6301\u4f7f\u7528 ",(0,i.jsx)(n.code,{children:"Visual Studio 2019 Preview 16.11.0 Preview 3.0"})," \u7248\u672c\uff0c",(0,i.jsxs)(n.strong,{children:["\u6ce8\u610f\u662f ",(0,i.jsx)(n.code,{children:"Preview"})," \u6700\u65b0\u7248\u672c"]}),"\u3002\u4e0b\u8f7d\u5730\u5740\uff1a",(0,i.jsx)(n.a,{href:"https://visualstudio.microsoft.com/zh-hans/thank-you-downloading-visual-studio/?sku=enterprise&ch=pre&rel=16",children:"https://visualstudio.microsoft.com/zh-hans/thank-you-downloading-visual-studio/?sku=enterprise&ch=pre&rel=16"})]}),"\n",(0,i.jsxs)(n.p,{children:["\u5df2\u7ecf\u5b89\u88c5\u4e86 ",(0,i.jsx)(n.code,{children:"Visual Studio 2019 Preview"})," \u7248\u672c\u7684\u670b\u53cb\u76f4\u63a5\u5347\u7ea7\u5230\u6700\u65b0\u7248\u5373\u53ef\u3002"]}),"\n",(0,i.jsx)(n.admonition,{title:"\u7279\u522b\u8bf4\u660e",type:"note",children:(0,i.jsxs)(n.p,{children:["\u5982\u679c\u4f7f\u7528 ",(0,i.jsx)(n.code,{children:"Visual Studio Code"})," \u5f00\u53d1\uff0c\u53ef\u5ffd\u7565\u6b64\u9009\u9879\u3002"]})}),"\n",(0,i.jsx)(n.h3,{id:"\u7b2c\u4e00\u4e2a\u4f8b\u5b50",children:"\u7b2c\u4e00\u4e2a\u4f8b\u5b50"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"Furion v3.0.0-rc.1"})," \u76ee\u524d\u63d0\u4f9b\u4e86\u6240\u6709\u7c7b\u578b\u7684\u811a\u624b\u67b6\uff0c\u7248\u672c\u53f7\u7edf\u4e00 ",(0,i.jsx)(n.code,{children:"3.0.0-rc.1"}),"\u3002"]}),"\n",(0,i.jsxs)(n.p,{children:["\u5b89\u88c5\u811a\u624b\u67b6\uff0c\u6253\u5f00 ",(0,i.jsx)(n.code,{children:"CMD/Powershell"})," \u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",metastring:"showLineNumbers ",children:"dotnet new --install Furion.Template.Api::3.0.0-rc.1\n"})}),"\n",(0,i.jsx)(n.p,{children:"\u521b\u5efa\u9879\u76ee"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",metastring:"showLineNumbers ",children:"dotnet new furionapi -n FurionNET6\n"})}),"\n",(0,i.jsx)(n.h3,{id:"\u6253\u5f00\u5e76\u542f\u52a8\u9879\u76ee",children:"\u6253\u5f00\u5e76\u542f\u52a8\u9879\u76ee"}),"\n",(0,i.jsx)(n.p,{children:"\u6253\u5f00\u6d4f\u89c8\u5668\u67e5\u770b\u6548\u679c\u5373\u53ef\u3002"})]})}function h(e={}){const{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(a,{...e})}):a(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>l,a:()=>s});var i=t(7294);const r={},o=i.createContext(r);function s(e){const n=i.useContext(o);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),i.createElement(o.Provider,{value:n},e.children)}}}]);