ASP.NET Core 在 IIS 下的两种部署模式
ASP.NET Core 在 IIS 下的两种部署模式
https://www.cnblogs.com/artech/p/inside-asp-net-core-6-32.html
<aspnetcore>配置
不论是采用何种部署模式,相关的配置都定义在部署目录下的web.config配置文件,它提供的针对ASP.NET CORE Core Module的映射使我们能够将ASP.NET CORE应用部署在IIS中。在web.config中,与ASP.NET CORE应用部署相关的配置定义在<aspNetCore>配置节中。
<aspNetCore processPath = "dotnet" arguments = ".\App.dll" stdoutLogEnabled = "false" stdoutLogFile = ".\logs\stdout" hostingModel = "outofprocess" forwardWindowsAuthToken = "true" processesPerApplication = "10" rapidFailsPerMinute = "5" requestTimeout = "00:02:00" shutdownTimeLimit = "60" startupRetryCount = "3" startupTimeLimit = "60"> <environmentVariables> <environmentVariable name = "ASPNETCORE_ENVIRONMENT" value = "Development"/> </environmentVariables> <handlerSettings> <handlerSetting name = "stackSize" value = "2097152" /> <handlerSetting name = "debugFile" value = ".\logs\aspnetcore-debug.log" /> <handlerSetting name = "debugLevel" value = "FILE,TRACE" /> </handlerSettings></aspNetCore>
ASP.NET Core 在 IIS 下的两种部署模式
ASP.NET Core 在 IIS 下的两种部署模式https://www.cnblogs.com/artech/p/inside-asp-net-core-6-32.html <aspnetcore>配置不论是采用...
点击下载文档
本文2024-09-16 18:37:43发表“云星空知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-k3cloud-23377.html
您需要登录后才可以发表评论, 登录登录 或者 注册
最新文档
热门文章