私は私のasp.netのコアアプリケーションから502.3エラーを取得[長いリクエスト]と回答からだ:Timeouts with long running ASP.NET MVC Core Controller HTTPPost Method とRequest timeout from ASP.NET Core app on IIS 私はタイムアウトを延長する必要がありますが、すべての答えは設定が含まれていることを確認webconfig xmlファイルのタイムアウトと私の設定にjsonファイルを使用しています。ASP.NETコアのsetTimeout
{
"AppConfig": {
"Name": "...",
"ConnectionString": "Server=localhost;User Id=root;Password=....;Database=....",
}
私もlaunchSettings.json
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:53573/",
"sslPort": 0
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"SPS.Services": {
"commandName": "Project"
}
}
}
方法を持っているXMLからのような同等になります。
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>
</handlers>
<aspNetCore requestTimeout="00:20:00" processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false"/>
</system.webServer>
と私はそれを置く必要がありますか?アプリ「の後ろに」IIS(あなたは、launchSettingsによるん)、その後、あなたがチェーン内のすべての項目を確認する必要がありますを実行する場合、私はAspNetCore 1.1.2