I need to set request timeout on .net core application (version 2.1) hosted on iis. I set "requesttimeout" in web configuration file, but it is ignored. I tried settings on iis but without any luck. Is there a way to solve this problem? I found information that "requesttimeout" is ignored for inProcess model in .net core version 3, but not in 2.1.
ASP.NET Core 2.1 application ignoring request timeout defined in web configuration
1k Views Asked by Vanessa At
1
There are 1 best solutions below
Related Questions in IIS
- Create an IIS web request activity light
- Why web API return 404 when deploy to IIS
- Adding site Binding programmatically IIS 7.5
- .net Web Api 2 Owin authentication token expires suddenly and often on IIS 8.5
- Redirecting subdomain to directory on Azure
- Saving Image To a Temp Folder is Loosing Session
- The page cannot be displayed because an internal server error has occurred on server
- Approach for performing long running tasks in .NET
- Why does IIS Anonymous Authentication turn on by itself after I publish my project to server?
- IIS 7 ERR_CONNECTION_TIMED_OUT only with public IP
- Maximum value for IIS .NET Compilation Batch Time-out
- ASP.Net 1.1 app on IIS 7 waiting threads
- File upload web api 2.0 error after deployment on IIS 8.5
- nginx and IIS - dealing with invalid hostname and SSL
- Allow console application to access Windows Authenticated web app
Related Questions in SETTIMEOUT
- jQuery: How to use setTimeout for temporary change of background color
- setTimeout inside iteration of iteration
- tricky setTimeout sequence
- Issues with resetting an interval
- A website I'm trying to use JavaScript on is replacing my setTimeout function with dots. Why might it be doing this, and how can I work around it?
- setTimeout with condition inside before running again
- Faster Sliding after a few hours of setTimeout
- Is it true that if possible I should never use setInterval & setTimeout?
- Javascript reruning timeout after being cleared
- setTimeout dont work on .hover() leave/stop
- JQuery - delay and show text issue
- Remove childElements one-by-one in pure JavaScript
- Timeout with bind, call & apply methods
- javascript increment setInteval counter while video is playing
- Resolving latency with setTimeout for Drum Machine
Related Questions in ASP.NET-CORE-2.1
- BizTalk 2010 - Unable to Import WSDL created in ASP.Net Core 2.1 (Failed to get metadata)
- Can you run a .NET Core 2.2 application alongside .NET 3.1?
- Send object as json to Sentry.io
- ASP.NET Core 2.1 application ignoring request timeout defined in web configuration
- How to create a link token using Plaid.NET Nuget package with c#
- Permission issue + Azure AD
- How to restrict angular app from being loaded in iframe
- ASP.NET Core custom client certificate validation not called
- CreateNewOnMetadataUpdateAttribute does not exists in the namespace after Visual Studio update
- NTLM is not working with Http.sys of ASP.NET Core 2.1 on .NET48 with https and wildcard certificate when accessing from same machine
- Why Antiforgery CookieSecurePolicy not applying?
- Problem in accessing custom header in SwaggerUI while migrating from .NET Core 2.1 to .NET Core 3.1
- Rendering Partial view as a string inside SignalR Hub
- ASP Net Core Filepond load file from server
- does explicit microsoft packages needs to install for middleware in .net core 3.1 framework like .net core 2.1
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Based on the Microsoft document you can set the timeout value to the .net core 2.1 or later but it will not work with in-process hosting. For in-process hosting, the module waits for the app to process the request.
you could refer to this below link:
https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/aspnet-core-module?view=aspnetcore-3.1
you can set the value as suggested below: