From 2525087d960a0a5e57bed65420d70c93f5a09572 Mon Sep 17 00:00:00 2001 From: Karol Zadora-Przylecki Date: Tue, 22 Nov 2016 16:26:44 -0800 Subject: [PATCH 1/3] Include HttpRequestException in HttpExceptionHandler --- .../WordCount/WordCount.WebService/HttpExceptionHandler.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Services/WordCount/WordCount.WebService/HttpExceptionHandler.cs b/Services/WordCount/WordCount.WebService/HttpExceptionHandler.cs index 40e980c..6b14b9d 100644 --- a/Services/WordCount/WordCount.WebService/HttpExceptionHandler.cs +++ b/Services/WordCount/WordCount.WebService/HttpExceptionHandler.cs @@ -7,6 +7,7 @@ namespace WordCount.WebService { using System; using System.Net; + using System.Net.Http; using System.Net.Sockets; using Microsoft.ServiceFabric.Services.Communication.Client; @@ -29,6 +30,11 @@ public bool TryHandleException(ExceptionInformation exceptionInformation, Operat result = new ExceptionHandlingRetryResult(exceptionInformation.Exception, false, retrySettings, retrySettings.DefaultMaxRetryCount); return true; } + else if (exceptionInformation.Exception is HttpRequestException) + { + result = new ExceptionHandlingRetryResult(exceptionInformation.Exception, false, retrySettings, retrySettings.DefaultMaxRetryCount); + return true; + } WebException we = exceptionInformation.Exception as WebException; From 645904c1c50d2583f268b5f6c6c5d4f9ccdc794b Mon Sep 17 00:00:00 2001 From: DivyaC0403 <99843736+DivyaC0403@users.noreply.github.com> Date: Sun, 23 Apr 2023 00:34:56 -0700 Subject: [PATCH 2/3] Update Alphabet.Processing.csproj update framework versiom --- .../Alphabet.Processing.csproj | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Services/AlphabetPartitions/Alphabet.Processing/Alphabet.Processing.csproj b/Services/AlphabetPartitions/Alphabet.Processing/Alphabet.Processing.csproj index 9559c24..7ebdabf 100644 --- a/Services/AlphabetPartitions/Alphabet.Processing/Alphabet.Processing.csproj +++ b/Services/AlphabetPartitions/Alphabet.Processing/Alphabet.Processing.csproj @@ -9,7 +9,7 @@ Properties Alphabet.Processing Alphabet.Processing - v4.5.1 + v4.8 512 true @@ -90,11 +90,11 @@ - - \ No newline at end of file + From dbe8979a1423217e7bb4aceaf9a4de3eba61db7c Mon Sep 17 00:00:00 2001 From: DivyaC0403 <99843736+DivyaC0403@users.noreply.github.com> Date: Sun, 23 Apr 2023 00:42:36 -0700 Subject: [PATCH 3/3] Update AlphabetPartitions.sln --- Services/AlphabetPartitions/AlphabetPartitions.sln | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/AlphabetPartitions/AlphabetPartitions.sln b/Services/AlphabetPartitions/AlphabetPartitions.sln index fc6cb7b..0dceec6 100644 --- a/Services/AlphabetPartitions/AlphabetPartitions.sln +++ b/Services/AlphabetPartitions/AlphabetPartitions.sln @@ -1,4 +1,4 @@ - + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 VisualStudioVersion = 14.0.24627.0