.net 6.0 web api how increment request timeout?
.NET (Core and Framework)
2
Posts
2
Posters
8
Views
1
Watching
-
Hello, I can not understand how to set the timeout of a .net 6.0 web api application. In the .net 4.8 application I set the
executionTimeout
parameter of thehttpRuntime
section in the web.config. Is there anyone who can help me? Thank you.You need to change the
requestTimeout
property on theaspNetCore
element instead:<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<aspNetCore requestTimeout="00:02:00" .../>
</system.webServer>
</configuration>
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer