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
- error 500 on IIS FastCGI but no clue despite multiple error loggings activated
- IIS Rewrite Module exclude bots but allow GoogleBot
- How to deploy angular 17 SSR into IIS
- IIS web site with httpplatformhandler on specific route does not redirect to the nextjs site
- Why is 'EDITBIN /STACK:2097152 w3wp.exe' cmd is giving me an LNK1342 error?
- Primeng Angular styles on subdomain don't work
- Apps migrated from IIS server1 to another IIS server2 stopped communicating with an App on IIS server 1 via SSL (HTTPS)
- How to authenticate with REST API service on IIS using pass-through authentication in Python?
- ASP.NET Core 8 is missing from application pool selection after install
- Azure Application Gateway ByPass
- SSL certificate is installed on iis and website but in browser is unknown
- Redirect to another site but show the original URL in browser
- Problem in hosting React App with react-router-dom on IIS Server
- Django Channels on IIS
- ASP.NET Core/Angular17 application files does not load when published in IIS
Related Questions in SETTIMEOUT
- why throw inside of an setTimeout, located inside a promise, doesn't change state and result of the output promise?
- IF Else statement not properly worked in setInterval() function while creating count-down timer
- react useEffect cleanup function
- How to use setTimeout for removing items from cart
- how seTimeout() executing continuously?
- What should be the result and why?
- Why setTimeout is not working in nodejs server?
- Inconsistent Execution Order of setImmediate and setTimeout(0) in Node.js
- undefined parameter in JavaScript
- Details regarding micro-task queue checkpoints in Javascript
- Does Jest automatically restores the real timers after each test case?
- JavaScript - What is the difference between let and var in a for loop?
- useState re-renders the component(on a button click). I need to change the background of the component to red for 1 second before this happens
- How do I get my input to be displayed all at once instead of one by one
- How to handle setTimeout() for a list of items?
Related Questions in ASP.NET-CORE-2.1
- How to update ASP.NET Core 2.1 (running on .NET Framework) to newer builds?
- How to receive Json parameters from post request as JObject in ASP.NET Core 8.0 controller?
- API does not store keys from IdentityServer to validate tokens
- CreateNewOnMetadataUpdateAttribute does not exists in the namespace after Visual Studio update
- HTTP Error 500.32 - ANCM Failed to Load dll
- ILoggerFactory does not contain a definition for addconsole
- Set HttpClient Basic Auth Header per client on backchannel logout in IdentityServer4 2.5.4 (.Net Core 2.1)
- .NET Core 2.1 Authorization based on Active Directory
- Microsoft upgrade assistance tool : can I use this tool to upgrade ASP.NET Core 2.1 Web API to .NET 6?
- Js file throwing an error after .net framework upgraded to 6.0
- Register Generic Interface in Startup in ASP.NET Core 2.1
- IdentityServer 4, Backchannel-Logout, Reject Logout-Token, Bad Request
- .NET Core Razor pages change pages to anonymous
- How to add logging.AddEventSourceLogger() in F#
- The LINQ Expression 'DbSet<> Could not be translated method 'System.DateTime.ToString' failed, After Migrated from ASP.NET Core 2.1 to .NET6
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: