I have a little C# project it send unique data with WebRequest on an internet site and get back a HttpWebResponse. Now I want to handle the situation with no internet connection or other thinks the data could not send or receive.
In my opinion its the best way to handle that with the Webexception in try/catch.
But its important on a Webexception, the program remember the action and try it again if the internet or the service is reachable again.
What is the best way in your opinion to realize that?
I read about Queue... Maybe to put the action in the Queue if Webexception will throw and try it again if Service is reachable again?