You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
11 KiB
JavaScript
1 line
11 KiB
JavaScript
12 months ago
|
"use strict";(self.webpackChunkfurion=self.webpackChunkfurion||[]).push([[5901],{8305:(n,e,r)=>{r.r(e),r.d(e,{assets:()=>l,contentTitle:()=>c,default:()=>p,frontMatter:()=>o,metadata:()=>d,toc:()=>a});var i=r(5893),t=r(1151),s=r(4996);const o={id:"get-start-net5",title:"2.2 ASP.NET 5 \u96c6\u6210",sidebar_label:"2.2 ASP.NET 5 \u96c6\u6210",description:"\u5b66\u4e60\u5982\u4f55\u5728 ASP.NET 5 \u4e2d\u96c6\u6210 Furion"},c=void 0,d={id:"get-start-net5",title:"2.2 ASP.NET 5 \u96c6\u6210",description:"\u5b66\u4e60\u5982\u4f55\u5728 ASP.NET 5 \u4e2d\u96c6\u6210 Furion",source:"@site/docs/get-start-net5.mdx",sourceDirName:".",slug:"/get-start-net5",permalink:"/docs/get-start-net5",draft:!1,unlisted:!1,editUrl:"https://gitee.com/dotnetchina/Furion/tree/v4/handbook/docs/get-start-net5.mdx",tags:[],version:"current",lastUpdatedBy:"MonkSoul",lastUpdatedAt:1682387971,formattedLastUpdatedAt:"Apr 25, 2023",frontMatter:{id:"get-start-net5",title:"2.2 ASP.NET 5 \u96c6\u6210",sidebar_label:"2.2 ASP.NET 5 \u96c6\u6210",description:"\u5b66\u4e60\u5982\u4f55\u5728 ASP.NET 5 \u4e2d\u96c6\u6210 Furion"},sidebar:"docs",previous:{title:"2.1 \u5165\u95e8\u6307\u5357",permalink:"/docs/serverun"},next:{title:"2.3 ASP.NET 6 \u96c6\u6210",permalink:"/docs/get-start-net6"}},l={},a=[{value:"2.2.1 \u521b\u5efa <code>Web</code> \u9879\u76ee",id:"221-\u521b\u5efa-web-\u9879\u76ee",level:2},{value:"2.2.1.1 \u521b\u5efa <code>ASP.NET Core Web \u5e94\u7528\u7a0b\u5e8f</code>",id:"2211-\u521b\u5efa-aspnet-core-web-\u5e94\u7528\u7a0b\u5e8f",level:3},{value:"2.2.2 \u6dfb\u52a0 <code>Furion</code> \u4f9d\u8d56\u5305",id:"222-\u6dfb\u52a0-furion-\u4f9d\u8d56\u5305",level:2},{value:"2.2.3 <code>Furion</code> \u57fa\u672c\u914d\u7f6e",id:"223-furion-\u57fa\u672c\u914d\u7f6e",level:2},{value:"2.2.3.1 <code>Program.cs</code> \u6dfb\u52a0 <code>Inject()</code>",id:"2231-programcs-\u6dfb\u52a0-inject",level:3},{value:"2.2.3.2 \u5728 <code>Startup.cs</code> \u4e2d\u6dfb\u52a0\u4e24\u4e2a <code>Inject()</code>",id:"2232-\u5728-startupcs-\u4e2d\u6dfb\u52a0\u4e24\u4e2a-inject",level:3},{value:"2.2.4 \u542f\u52a8\u6d4f\u89c8\u5668",id:"224-\u542f\u52a8\u6d4f\u89c8\u5668",level:2}];function u(n){const e={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,t.a)(),...n.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(e.admonition,{title:"\u5c3d\u5feb\u5347\u7ea7",type:"caution",children:(0,i.jsxs)(e.p,{children:["\u622a\u81f3 ",(0,i.jsx)(e.strong,{children:"2022 \u5e74 05 \u6708 31 \u65e5"}),"\uff0c\u5fae\u8f6f\u5df2\u7ecf\u505c\u6b62\u4e86 ",(0,i.jsx)(e.code,{children:".NET5"})," \u7684\u6280\u672f\u652f\u6301\uff0c\u6240\u4ee5\u8bf7\u5c3d\u5feb\u5347\u7ea7\u5230 ",(0,i.jsx)(e.code,{children:".NET6"})," \u7248\u672c\uff0c\u8be6\u7ec6\u5347\u7ea7\u53ef\u67e5\u9605 \u3010",(0,i.jsx)(e.a,{href:"/docs/net5-to-net6",children:".NET5 \u5347\u7ea7 .NET6"}),"\u3011"]})}),"\n",(0,i.jsxs)(e.admonition,{title:"\u63a8\u8350\u4f7f\u7528\u811a\u624b\u67b6",type:"tip",children:[(0,i.jsxs)(e.p,{children:[(0,i.jsx)(e.code,{children:"Furion"})," \u5b98\u65b9\u63d0\u4f9b\u4e86\u975e\u5e38\u7075\u6d3b\u65b9\u4fbf\u7684\u811a\u624b\u67b6\uff0c\u53ef\u4ee5\u5feb\u901f\u7684\u521b\u5efa\u591a\u5c42\u67b6\u6784\u9879\u76ee\u3002"]}),(0,i.jsxs)(e.p,{children:["\u63a8\u8350\u4f7f\u7528 \u300a",(0,i.jsx)(e.a,{href:"/docs/template",children:"2.6 \u5b98\u65b9\u811a\u624b\u67b6"}),"\u300b\u4ee3\u66ff\u672c\u7ae0\u8282\u529f\u80fd\u3002"]})]}),"\n","\n","\n",(0,i.jsx)(e.admonition,{title:"\u5165\u95e8\u6761\u4ef6",type:"note",children:(0,i.jsxs)(e.p,{children:["\u5bf9 ",(0,i.jsx)(e.code,{children:".NET Core/ASP.NET Core"})," \u6709\u4e00\u5b9a\u57fa\u7840\u4e86\u89e3\uff0c\u8fd8\u672a\u63a5\u89e6\u7684\u53ef\u5148\u770b ",(0,i.jsx)(e.a,{href:"https://docs.microsoft.com/zh-cn/aspnet/core/fundamentals/?view=aspnetcore-5.0&tabs=windows",children:"\u3010ASP.NET Core \u57fa\u7840\u3011"})]})}),"\n",(0,i.jsxs)(e.h2,{id:"221-\u521b\u5efa-web-\u9879\u76ee",children:["2.2.1 \u521b\u5efa ",(0,i.jsx)(e.code,{children:"Web"})," \u9879\u76ee"]})
|