Maturing embedded dev - retry and circuit breaker patterns on netmf?

Hi again

Found these two nuggets: [url]Microsoft Learn: Build skills that open doors in your career and [url]Microsoft Learn: Build skills that open doors in your career

Has anyone tried implementing these code examples, to me it looks like task stuff that is not in netmf?

Correct, unfortunately, Task doesn’t exist in NETMF. However, you can certainly implement those patterns on your own. You just won’t be able to use Task or the Transient classes from the Enterprise Library to do it. I use both features regularly in our apps at work and they work fantastically when dealing with transient faults due primarily to Azure databases & other cloud services that can drop off for a few moments without notice. Certainly a good pattern for any IoT application to use regardless of the hardware size.

@ ianlee74 - Thanks for the support :slight_smile:

I am considering to generalize the circuitbreaker pattern for use in my other projects and maybe even codeshare, but after looking into this code [url]https://github.com/App-vNext/Polly/tree/80edcaa8b1daccf3a4ad1712e7c8b8e37cb1a16a/src/Polly.Shared/CircuitBreaker[/url], the complexity just grew to incomprehensible size in respect to my current C# skills translating lots of .net specifics to scaled down netmf. Without generics its really difficult to make this pretty. :wall: