i'm getting 502.3 error from my asp.net core application [long requests] and from answers: Timeouts with long running ASP.NET MVC Core Controller HTTPPost Method and Request timeout from ASP.NET Core app on IIS i see that i need to extend timeouts but every answer contains setting timeouts in webconfig xml file and i'm using json file for my configuration.
{
"AppConfig": {
"Name": "...",
"ConnectionString": "Server=localhost;User Id=root;Password=....;Database=....",
}
I also have a 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"
}
}
}
How should equivalent look like from 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>
and where should i put it?
I'm using AspNetCore 1.1.2