Hi I have to write Retry logic on my project
ie: if the first time the user click something or Send a request - it goes for Business logic to execute some method then get update on DB ,
So if there is any error occurs that time i have to Resend the request automatically ie: While sending the user request I have to count the request ie: the retry will be configurable in web.config file.
so if request get success show the successful msg to the user , if the 3 times the user request failed - atlast show the msg
"please try after sometime... " like that i have to show the after retryin 3 times.
Anyone give the Cleanest code for this retry logic ?
...
Go to the complete details ...