jfversluis / been-pwned

App that leverages the haveibeenpwned.com API by Troy Hunt. This app is available in the App Stores and is used in several of my talks as well as my book Xamarin.Forms Essentials.
MIT License
16 stars 3 forks source link

Implement Polly to make app more robust #22

Open jfversluis opened 7 years ago

jfversluis commented 7 years ago

Basically what the title says.

Depechie commented 7 years ago

What would you like to do with Polly? Just retry mechanism when exceptions occur? Or something else?

jfversluis commented 7 years ago

In retrospect maybe it's not that useful right now. But basically I was thinking some retrying. I didn't really get to play around with it myself, so that was mainly why I wanted to have a look at it 😉

Depechie commented 7 years ago

Yep thought as much... Other than the retry I don't see much use for the moment.

jfversluis commented 7 years ago

Certainly true! IMHO it would be nice to learn something while building this and be able to use it as a sample app for demos and sessions as well, while keeping the quality of the code high of course.

Depechie commented 7 years ago

Here you go ;) https://github.com/Depechie/2017-ConnectedApp/blob/master/ConnectedApp/Services/FakeService.cs#L73