"use strict";(self.webpackChunkfurion=self.webpackChunkfurion||[]).push([[2232],{4405:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>t,contentTitle:()=>o,default:()=>x,frontMatter:()=>l,metadata:()=>c,toc:()=>a});var i=s(5893),r=s(1151),d=s(4996);const l={id:"deploy-iis",title:"34.1 \u5728 IIS \u90e8\u7f72",sidebar_label:"34.1 \u5728 IIS \u90e8\u7f72"},o=void 0,c={id:"deploy-iis",title:"34.1 \u5728 IIS \u90e8\u7f72",description:"\u5982\u679c\u9700\u8981\u7cbe\u7b80\u53d1\u5e03\u540e\u7684\u6587\u4ef6\uff0c\u4e5f\u5c31\u662f\u5220\u9664\u4e0d\u5fc5\u8981\u7684\u6587\u4ef6\u5939\uff0c\u53ef\u4ee5\u7f16\u8f91 Web \u9879\u76ee\u7684 .csproj \u5e76\u6dfb\u52a0 en-US\uff0c\u5982\uff1a",source:"@site/docs/deploy-iis.mdx",sourceDirName:".",slug:"/deploy-iis",permalink:"/docs/deploy-iis",draft:!1,unlisted:!1,editUrl:"https://gitee.com/dotnetchina/Furion/tree/v4/handbook/docs/deploy-iis.mdx",tags:[],version:"current",lastUpdatedBy:"\u767e\u5c0f\u50e7",lastUpdatedAt:1700663784,formattedLastUpdatedAt:"Nov 22, 2023",frontMatter:{id:"deploy-iis",title:"34.1 \u5728 IIS \u90e8\u7f72",sidebar_label:"34.1 \u5728 IIS \u90e8\u7f72"},sidebar:"docs",previous:{title:"34. \u6258\u7ba1/\u90e8\u7f72/\u53d1\u5e03",permalink:"/docs/category/deploy"},next:{title:"34.2 \u5728 Docker \u90e8\u7f72",permalink:"/docs/deploy-docker"}},t={},a=[{value:"34.1.1 \u53d1\u5e03\u7f51\u7ad9",id:"3411-\u53d1\u5e03\u7f51\u7ad9",level:2},{value:"34.1.1.1 \u9009\u62e9\u542f\u52a8\u9879\u53d1\u5e03",id:"34111-\u9009\u62e9\u542f\u52a8\u9879\u53d1\u5e03",level:3},{value:"34.1.1.2 \u9009\u62e9\u53d1\u5e03\u5230\u6587\u4ef6\u5939",id:"34112-\u9009\u62e9\u53d1\u5e03\u5230\u6587\u4ef6\u5939",level:3},{value:"34.1.1.3 \u914d\u7f6e\u53d1\u5e03\u540e\u8def\u5f84",id:"34113-\u914d\u7f6e\u53d1\u5e03\u540e\u8def\u5f84",level:3},{value:"34.1.1.4 \u70b9\u51fb\u53d1\u5e03",id:"34114-\u70b9\u51fb\u53d1\u5e03",level:3},{value:"34.1.2 \u670d\u52a1\u5668\u73af\u5883\u914d\u7f6e",id:"3412-\u670d\u52a1\u5668\u73af\u5883\u914d\u7f6e",level:2},{value:"34.1.2.1 \u7b2c\u4e00\u6b65",id:"34121-\u7b2c\u4e00\u6b65",level:3},{value:"34.1.2.2 \u7b2c\u4e8c\u6b65\uff08\u547d\u4ee4\uff09",id:"34122-\u7b2c\u4e8c\u6b65\u547d\u4ee4",level:3},{value:"34.1.2.3 \u7b2c\u4e09\u6b65\uff08\u547d\u4ee4\uff09",id:"34123-\u7b2c\u4e09\u6b65\u547d\u4ee4",level:3},{value:"34.1.2.4 \u7b2c\u56db\u6b65\uff08\u547d\u4ee4\uff09",id:"34124-\u7b2c\u56db\u6b65\u547d\u4ee4",level:3},{value:"34.1.3 \u90e8\u7f72\u5230 IIS",id:"3413-\u90e8\u7f72\u5230-iis",level:2},{value:"34.1.3.1 \u6dfb\u52a0\u65b0\u7f51\u7ad9",id:"34131-\u6dfb\u52a0\u65b0\u7f51\u7ad9",level:3},{value:"34.1.3.2 \u914d\u7f6e\u7f51\u7ad9\u4fe1\u606f",id:"34132-\u914d\u7f6e\u7f51\u7ad9\u4fe1\u606f",level:3},{value:"34.1.3.3 \u914d\u7f6e\u5e94\u7528\u7a0b\u5e8f\u6c60",id:"34133-\u914d\u7f6e\u5e94\u7528\u7a0b\u5e8f\u6c60",level:3},{value:"34.1.3.4 \u8bbe\u7f6e\u4e3a \u975e\u6258\u7ba1
",id:"34134-\u8bbe\u7f6e\u4e3a-\u975e\u6258\u7ba1",level:3},{value:"34.1.3.5 \u91cd\u542f\u7f51\u7ad9",id:"34135-\u91cd\u542f\u7f51\u7ad9",level:3},{value:"34.1.4 \u5e38\u89c1\u95ee\u9898",id:"3414-\u5e38\u89c1\u95ee\u9898",level:2},{value:"34.1.4.1 405 \u72b6\u6001\u7801\uff0c\u4e0d\u652f\u6301 PUT\uff0cDELETE
\u8bf7\u6c42",id:"34141-405-\u72b6\u6001\u7801\u4e0d\u652f\u6301-putdelete-\u8bf7\u6c42",level:3},{value:"34.1.4.2 WebSocket
/ SignalR
\u8fde\u63a5\u62a5\u9519",id:"34142-websocket-signalr-\u8fde\u63a5\u62a5\u9519",level:3},{value:"34.1.4.3 \u90e8\u7f72\u4e4b\u540e\u7f3a\u5931 api-ms-win.xxxx.dll
\u95ee\u9898",id:"34143-\u90e8\u7f72\u4e4b\u540e\u7f3a\u5931-api-ms-winxxxxdll-\u95ee\u9898",level:3},{value:"34.1.5 IIS
\u56de\u6536\u95ee\u9898\u548c\u914d\u7f6e",id:"3415-iis-\u56de\u6536\u95ee\u9898\u548c\u914d\u7f6e",level:2},{value:"34.1.6 \u5377\u5f71\uff08\u65e0\u5360\u7528\uff09\u590d\u5236\u53d1\u5e03\u66ff\u6362",id:"3416-\u5377\u5f71\u65e0\u5360\u7528\u590d\u5236\u53d1\u5e03\u66ff\u6362",level:2},{value:"34.1.7 \u53cd\u9988\u4e0e\u5efa\u8bae",id:"3417-\u53cd\u9988\u4e0e\u5efa\u8bae",level:2}];function h(e){const n={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",hr:"hr",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,r.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(n.admonition,{title:"\u7cbe\u7b80\u53d1\u5e03\u6587\u4ef6",type:"tip",children:[(0,i.jsxs)(n.p,{children:["\u5982\u679c\u9700\u8981\u7cbe\u7b80\u53d1\u5e03\u540e\u7684\u6587\u4ef6\uff0c\u4e5f\u5c31\u662f\u5220\u9664\u4e0d\u5fc5\u8981\u7684\u6587\u4ef6\u5939\uff0c\u53ef\u4ee5\u7f16\u8f91 Web \u9879\u76ee\u7684 ",(0,i.jsx)(n.code,{children:".csproj"})," \u5e76\u6dfb\u52a0 ",(0,i.jsx)(n.code,{children:"en-US"}),"\uff0c\u5982\uff1a"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-cs",metastring:"showLineNumbers {3}",children:"\r\n net6.0\r\n en-US\r\n\n"})}),(0,i.jsxs)(n.p,{children:["\u82e5\u65e0\u9700\u751f\u6210 ",(0,i.jsx)(n.code,{children:".pdb"})," \u6587\u4ef6\uff0c\u53ef\u4ee5\u7ee7\u7eed\u6dfb\u52a0\uff1a"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-cs",metastring:"showLineNumbers {2-3}",children:"\r\n none\r\n false\r\n\n"})})]}),"\n",(0,i.jsx)(n.h2,{id:"3411-\u53d1\u5e03\u7f51\u7ad9",children:"34.1.1 \u53d1\u5e03\u7f51\u7ad9"}),"\n",(0,i.jsx)(n.h3,{id:"34111-\u9009\u62e9\u542f\u52a8\u9879\u53d1\u5e03",children:"34.1.1.1 \u9009\u62e9\u542f\u52a8\u9879\u53d1\u5e03"}),"\n",(0,i.jsx)("img",{src:(0,d.Z)("img/dp1.png")}),"\n",(0,i.jsx)(n.h3,{id:"34112-\u9009\u62e9\u53d1\u5e03\u5230\u6587\u4ef6\u5939",children:"34.1.1.2 \u9009\u62e9\u53d1\u5e03\u5230\u6587\u4ef6\u5939"}),"\n",(0,i.jsx)("img",{src:(0,d.Z)("img/dy2.png")}),"\n",(0,i.jsx)(n.h3,{id:"34113-\u914d\u7f6e\u53d1\u5e03\u540e\u8def\u5f84",children:"34.1.1.3 \u914d\u7f6e\u53d1\u5e03\u540e\u8def\u5f84"}),"\n",(0,i.jsx)("img",{src:(0,d.Z)("img/dp3.png")}),"\n",(0,i.jsx)(n.h3,{id:"34114-\u70b9\u51fb\u53d1\u5e03",children:"34.1.1.4 \u70b9\u51fb\u53d1\u5e03"}),"\n",(0,i.jsx)("img",{src:(0,d.Z)("img/dp4.png")}),"\n",(0,i.jsx)(n.h2,{id:"3412-\u670d\u52a1\u5668\u73af\u5883\u914d\u7f6e",children:"34.1.2 \u670d\u52a1\u5668\u73af\u5883\u914d\u7f6e"}),"\n",(0,i.jsx)(n.h3,{id:"34121-\u7b2c\u4e00\u6b65",children:"34.1.2.1 \u7b2c\u4e00\u6b65"}),"\n",(0,i.jsxs)(n.p,{children:["\u5b89\u88c5.NET Core \u8fd0\u884c\u65f6\u6346\u7ed1\u5305\uff1a",(0,i.jsx)(n.a,{href:"https://dotnet.microsoft.com/permalink/dotnetcore-current-windows-runtime-bundle-installer",children:"\u70b9\u51fb\u4e0b\u8f7d"})]}),"\n",(0,i.jsx)(n.h3,{id:"34122-\u7b2c\u4e8c\u6b65\u547d\u4ee4",children:"34.1.2.2 \u7b2c\u4e8c\u6b65\uff08\u547d\u4ee4\uff09"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",metastring:"showLineNumbers",children:"net stop was /y\n"})}),"\n",(0,i.jsx)(n.h3,{id:"34123-\u7b2c\u4e09\u6b65\u547d\u4ee4",children:"34.1.2.3 \u7b2c\u4e09\u6b65\uff08\u547d\u4ee4\uff09"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",metastring:"showLineNumbers",children:"net start w3svc\n"})}),"\n",(0,i.jsx)(n.h3,{id:"34124-\u7b2c\u56db\u6b65\u547d\u4ee4",children:"34.1.2.4 \u7b2c\u56db\u6b65\uff08\u547d\u4ee4\uff09"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",metastring:"showLineNumbers",children:"set ASPNETCORE_ENVIRONMENT=Production\n"})}),"\n",(0,i.jsx)(n.h2,{id:"3413-\u90e8\u7f72\u5230-iis",children:"34.1.3 \u90e8\u7f72\u5230 IIS"}),"\n",(0,i.jsx)(n.h3,{id:"34131-\u6dfb\u52a0\u65b0\u7f51\u7ad9",children:"34.1.3.1 \u6dfb\u52a0\u65b0\u7f51\u7ad9"}),"\n",(0,i.jsx)("img",{src:(0,d.Z)("img/ds1.png")}),"\n",(0,i.jsx)(n.h3,{id:"34132-\u914d\u7f6e\u7f51\u7ad9\u4fe1\u606f",children:"34.1.3.2 \u914d\u7f6e\u7f51\u7ad9\u4fe1\u606f"}),"\n",(0,i.jsx)("img",{src:(0,d.Z)("img/ds2.png")}),"\n",(0,i.jsx)(n.h3,{id:"34133-\u914d\u7f6e\u5e94\u7528\u7a0b\u5e8f\u6c60",children:"34.1.3.3 \u914d\u7f6e\u5e94\u7528\u7a0b\u5e8f\u6c60"}),"\n",(0,i.jsx)("img",{src:(0,d.Z)("img/ds3.png")}),"\n",(0,i.jsxs)(n.h3,{id:"34134-\u8bbe\u7f6e\u4e3a-\u975e\u6258\u7ba1",children:["34.1.3.4 \u8bbe\u7f6e\u4e3a ",(0,i.jsx)(n.code,{children:"\u975e\u6258\u7ba1"})]}),"\n",(0,i.jsx)("img",{src:(0,d.Z)("img/ds4.png")}),"\n",(0,i.jsx)(n.h3,{id:"34135-\u91cd\u542f\u7f51\u7ad9",children:"34.1.3.5 \u91cd\u542f\u7f51\u7ad9"}),"\n",(0,i.jsx)(n.p,{children:"\u53ea\u9700\u91cd\u542f\u7f51\u7ad9\u6216\u5e94\u7528\u7a0b\u5e8f\u6c60\u5373\u53ef\u3002"}),"\n",(0,i.jsx)(n.h2,{id:"3414-\u5e38\u89c1\u95ee\u9898",children:"34.1.4 \u5e38\u89c1\u95ee\u9898"}),"\n",(0,i.jsxs)(n.h3,{id:"34141-405-\u72b6\u6001\u7801\u4e0d\u652f\u6301-putdelete-\u8bf7\u6c42",children:["34.1.4.1 405 \u72b6\u6001\u7801\uff0c\u4e0d\u652f\u6301 ",(0,i.jsx)(n.code,{children:"PUT\uff0cDELETE"})," \u8bf7\u6c42"]}),"\n",(0,i.jsxs)(n.p,{children:["\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c",(0,i.jsx)(n.code,{children:"IIS"}),"\u62d2\u7edd ",(0,i.jsx)(n.code,{children:"PUT"}),"\u548c ",(0,i.jsx)(n.code,{children:"DELETE"})," \u8bf7\u6c42\uff0c\u539f\u56e0\u4e3a ",(0,i.jsx)(n.code,{children:"IIS"})," \u9ed8\u8ba4\u6ce8\u518c\u4e86\u4e00\u4e2a\u540d\u4e3a ",(0,i.jsx)(n.code,{children:"WebDAVModule"})," \u7684\u81ea\u5b9a\u4e49 ",(0,i.jsx)(n.code,{children:"HttpModule"})," \u5bfc\u81f4\u7684\u3002"]}),"\n",(0,i.jsxs)(n.p,{children:["\u89e3\u51b3\u8be5\u95ee\u9898\uff0c\u53ea\u9700\u8981\u5728 ",(0,i.jsx)(n.code,{children:"web.config"})," \u79fb\u9664\u5373\u53ef\uff1a"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-xml",metastring:"{2-6}",children:'\r\n \r\n \r\n \r\n \r\n \r\n\n'})}),"\n",(0,i.jsxs)(n.p,{children:["\u5fae\u8f6f\u5b98\u65b9\u6587\u6863\uff1a",(0,i.jsx)(n.a,{href:"https://docs.microsoft.com/zh-cn/troubleshoot/developer/webapps/iis/health-diagnostic-performance/http-error-405-website",children:"https://docs.microsoft.com/zh-cn/troubleshoot/developer/webapps/iis/health-diagnostic-performance/http-error-405-website"})]}),"\n",(0,i.jsx)("img",{src:(0,d.Z)("img/iis5.png")}),"\n",(0,i.jsxs)(n.h3,{id:"34142-websocket-signalr-\u8fde\u63a5\u62a5\u9519",children:["34.1.4.2 ",(0,i.jsx)(n.code,{children:"WebSocket"}),"/ ",(0,i.jsx)(n.code,{children:"SignalR"})," \u8fde\u63a5\u62a5\u9519"]}),"\n",(0,i.jsxs)(n.p,{children:["\u5982\u679c\u9879\u76ee\u90e8\u7f72\u5728 ",(0,i.jsx)(n.code,{children:"IIS"})," \u4e2d\u51fa\u73b0 ",(0,i.jsx)(n.code,{children:"WebSoket"}),"/",(0,i.jsx)(n.code,{children:"SignalR"})," \u4e0d\u80fd\u8fde\u63a5\u6216\u8fde\u63a5\u5931\u8d25\u7b49\u95ee\u9898\uff0c\u8bf7\u786e\u4fdd ",(0,i.jsx)(n.code,{children:"IIS"})," \u670d\u52a1\u4e2d\u7684 ",(0,i.jsx)(n.code,{children:"WebSocket \u534f\u8bae"})," \u662f\u52fe\u9009\u72b6\u6001"]}),"\n",(0,i.jsx)("img",{src:(0,d.Z)("img/iis2.png")}),"\n",(0,i.jsxs)(n.h3,{id:"34143-\u90e8\u7f72\u4e4b\u540e\u7f3a\u5931-api-ms-winxxxxdll-\u95ee\u9898",children:["34.1.4.3 \u90e8\u7f72\u4e4b\u540e\u7f3a\u5931 ",(0,i.jsx)(n.code,{children:"api-ms-win.xxxx.dll"})," \u95ee\u9898"]}),"\n",(0,i.jsxs)(n.p,{children:["\u6709\u65f6\u5019\u5c06\u53d1\u5e03\u6587\u4ef6\u53d1\u5e03\u5230\u670d\u52a1\u5668\u540e\uff0c\u51fa\u73b0\u4e22\u5931 ",(0,i.jsx)(n.code,{children:"api.ms-win.xxxx.dll"})," \u6587\u4ef6\uff0c\u8fd9\u65f6\u53ea\u9700\u8981\u91cd\u65b0\u53d1\u5e03\u5e76\u9009\u62e9\u670d\u52a1\u5668\u7279\u5b9a\u7684\u67b6\u6784\u5373\u53ef\u3002"]}),"\n",(0,i.jsx)("img",{src:(0,d.Z)("img/iis4.jpg")}),"\n",(0,i.jsx)("img",{src:(0,d.Z)("img/iis3.png")}),"\n",(0,i.jsxs)(n.h2,{id:"3415-iis-\u56de\u6536\u95ee\u9898\u548c\u914d\u7f6e",children:["34.1.5 ",(0,i.jsx)(n.code,{children:"IIS"})," \u56de\u6536\u95ee\u9898\u548c\u914d\u7f6e"]}),"\n",(0,i.jsxs)(n.p,{children:["\u901a\u8fc7 ",(0,i.jsx)(n.code,{children:"IIS"})," \u90e8\u7f72 ",(0,i.jsx)(n.code,{children:".NET Core"})," \u5e94\u7528\u7a0b\u5e8f\uff0c\u5982\u679c\u542f\u52a8\u4e86\u7cfb\u7edf\u65e5\u5fd7\uff0c\u5c31\u4f1a\u53d1\u73b0\u7ecf\u5e38\u51fa\u73b0 ",(0,i.jsx)(n.code,{children:"Application is shutting down..."})," \u7684\u65e5\u5fd7\uff0c\u4ee3\u8868 ",(0,i.jsx)(n.code,{children:"IIS"})," \u56de\u6536\u4e86\u5e94\u7528\u7a0b\u5e8f\u6c60\u3002"]}),"\n",(0,i.jsxs)(n.p,{children:["\u5bf9\u4e8e\u4e00\u4e2a\u957f\u671f\u5728\u7ebf\u7684\u7f51\u7ad9\u6765\u8bf4\uff0c\u8fd9\u662f\u975e\u5e38\u4e0d\u5408\u7406\u7684\uff0c\u6240\u4ee5\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u914d\u7f6e\u8ba9 ",(0,i.jsx)(n.code,{children:"IIS"})," \u8fdb\u884c\u957f\u65f6\u95f4\u4e0d\u8bbf\u95ee\u4fbf\u56de\u6536\u7684\u673a\u5236\u3002"]}),"\n",(0,i.jsx)(n.hr,{}),"\n",(0,i.jsx)(n.p,{children:"\u914d\u7f6e\u6b65\u9aa4\u5982\u4e0b\uff1a"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:["\u6253\u5f00 ",(0,i.jsx)(n.code,{children:"IIS"})," \u5e76\u70b9\u51fb\u5de6\u4fa7\u6811\u6839\u8282\u70b9\uff08\u8ba1\u7b97\u673a\u540d\u79f0\uff09\u5e76\u70b9\u51fb\u53f3\u4fa7\u7684 ",(0,i.jsx)(n.code,{children:"Configuration Editor"}),"\uff08\u914d\u7f6e\u7f16\u8f91\u5668\uff09"]}),"\n"]}),"\n",(0,i.jsx)("img",{src:(0,d.Z)("img/iis6.png")}),"\n",(0,i.jsxs)(n.ol,{start:"2",children:["\n",(0,i.jsxs)(n.li,{children:["\u5728 ",(0,i.jsx)(n.code,{children:"Section"}),"\uff08\u8282\uff09\u9009\u62e9 ",(0,i.jsx)(n.code,{children:"system.applicationHost/applicationPools"})," \u5e76\u8bbe\u7f6e ",(0,i.jsx)(n.code,{children:"startMode"})," \u4e3a ",(0,i.jsx)(n.code,{children:"AlwaysRunning"}),"\uff0c\u4e4b\u540e\u70b9\u51fb ",(0,i.jsx)(n.code,{children:"Apply"})," \u4fdd\u5b58\u3002"]}),"\n"]}),"\n",(0,i.jsx)("img",{src:(0,d.Z)("img/iis7.png")}),"\n",(0,i.jsxs)(n.ol,{start:"3",children:["\n",(0,i.jsxs)(n.li,{children:["\u70b9\u51fb\u5de6\u4fa7\u6811\u6839\u8282\u70b9\uff08\u8ba1\u7b97\u673a\u540d\u79f0\uff09\u4e0b\u7684 ",(0,i.jsx)(n.code,{children:"Application Pools"})," \u5e76\u70b9\u51fb\u6700\u53f3\u4fa7\u7684 ",(0,i.jsx)(n.code,{children:"Set Appliation Pool Defaults..."}),"\uff08\u8bbe\u7f6e\u5e94\u7528\u7a0b\u5e8f\u6c60\u9ed8\u8ba4\u914d\u7f6e...\uff09"]}),"\n"]}),"\n",(0,i.jsx)("img",{src:(0,d.Z)("img/iis8.png")}),"\n",(0,i.jsxs)(n.ol,{start:"4",children:["\n",(0,i.jsxs)(n.li,{children:["\u8bbe\u7f6e ",(0,i.jsx)(n.code,{children:"Idle Time-out (minutes)"}),"\uff08\u95f2\u7f6e\u8d85\u65f6\uff08\u5206\u949f\uff09\u4e3a ",(0,i.jsx)(n.code,{children:"0"})]}),"\n"]}),"\n",(0,i.jsx)("img",{src:(0,d.Z)("img/iis9.png")}),"\n",(0,i.jsxs)(n.p,{children:["\u8fd9\u6837\u5373\u53ef\u89e3\u51b3 ",(0,i.jsx)(n.code,{children:"IIS"})," \u56de\u6536\u95ee\u9898\u3002"]}),"\n",(0,i.jsx)(n.h2,{id:"3416-\u5377\u5f71\u65e0\u5360\u7528\u590d\u5236\u53d1\u5e03\u66ff\u6362",children:"34.1.6 \u5377\u5f71\uff08\u65e0\u5360\u7528\uff09\u590d\u5236\u53d1\u5e03\u66ff\u6362"}),"\n",(0,i.jsxs)(n.p,{children:["\u6b63\u5e38\u60c5\u51b5\u4e0b\u5982\u679c\u6211\u4eec\u4ee3\u7801\u91cd\u65b0\u53d1\u5e03\u540e\u66ff\u6362 ",(0,i.jsx)(n.code,{children:"IIS"})," \u4e2d\u7684\u6587\u4ef6\uff0c\u8fd9\u65f6\u5019\u4f1a\u51fa\u73b0\u6587\u4ef6\u5360\u7528\u65e0\u6cd5\u8fdb\u884c\u66ff\u6362\uff0c\u8fc7\u53bb\u8fd0\u7ef4\u4eba\u5458\u90fd\u662f\u5148\u505c\u6b62\u7ad9\u70b9\u540e\u66ff\u6362\u518d\u542f\u52a8\u3002\u4f46\u6211\u4eec\u4e5f\u53ef\u4ee5\u914d\u7f6e ",(0,i.jsx)(n.code,{children:"web.config"})," \u6587\u4ef6\u542f\u7528\u5377\u5f71\u590d\u5236\u6a21\u5f0f\u5b9e\u73b0\u7c7b\u4f3c",(0,i.jsx)(n.strong,{children:"\u70ed\u66f4\u65b0"}),"\u64cd\u4f5c\uff0c\u5982\uff1a"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-xml",metastring:"showLineNumbers {12-18}",children:'\r\n\r\n \x3c!-- To customize the asp.net core module uncomment and edit the following section.\r\n For more info see https://go.microsoft.com/fwlink/?linkid=838655 --\x3e\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \x3c!-- Only enable handler logging if you encounter issues--\x3e\r\n \x3c!----\x3e\r\n \x3c!----\x3e\r\n \r\n \r\n \r\n\n'})}),"\n",(0,i.jsx)(n.p,{children:"\u5173\u4e8e\u5377\u5f71\u590d\u5236\u66f4\u591a\u77e5\u8bc6\u53ef\u67e5\u770b\u4ee5\u4e0b\u6587\u6863\uff1a"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-net-6-preview-3/#shadow-copying-in-iis",children:"https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-net-6-preview-3/#shadow-copying-in-iis"})}),"\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"https://learn.microsoft.com/zh-cn/dotnet/framework/app-domains/shadow-copy-assemblies",children:"https://learn.microsoft.com/zh-cn/dotnet/framework/app-domains/shadow-copy-assemblies"})}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"3417-\u53cd\u9988\u4e0e\u5efa\u8bae",children:"34.1.7 \u53cd\u9988\u4e0e\u5efa\u8bae"}),"\n",(0,i.jsx)(n.admonition,{title:"\u4e0e\u6211\u4eec\u4ea4\u6d41",type:"note",children:(0,i.jsxs)(n.p,{children:["\u7ed9 Furion \u63d0 ",(0,i.jsx)(n.a,{href:"https://gitee.com/dotnetchina/Furion/issues/new?issue",children:"Issue"}),"\u3002"]})})]})}function x(e={}){const{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},1151:(e,n,s)=>{s.d(n,{Z:()=>o,a:()=>l});var i=s(7294);const r={},d=i.createContext(r);function l(e){const n=i.useContext(d);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:l(e.components),i.createElement(d.Provider,{value:n},e.children)}}}]);