3

I have a scenario where some particular Controller/ Action take much time to process data. We can increase the timeout period of request at Web.Config as we used to do with vanilla asp.net. This works site wise. Means it will increase timeout for whole site.

We wish to do so for particular controller or action. Can we do this? Do we have any such attribute or any other means to do so?

I could not find any attribute or something yet.

2
  • Depends on your hosting environment. Most common is that a load balancer times out after 2 minutes. More reading if you Google "asp.net core request timeout" Commented Sep 1, 2020 at 13:02
  • As far as I know, there is no such attribute which could only increase timeout of request for particular action/controller. All the timeout setting is used for all the requests. Commented Sep 2, 2020 at 9:19

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.