Oh yes, Polly is a lifesaver. Just remember to make the variables holding the policies static! Every time you define a policy, a small in-memory DLL is created that contains the logic. If you create one every request in your API, you have a memory leak - I learned this the hard way , it's extremely hard to find with profilers :) As for other libraries, for UI you could take a look at DynamicData - it's reactive LINQ. You define a source collection, then apply some tranforms, filters etc, and get an observable collection at the end. Now you just add, change the items in the source, and everything is nicely updated with minimal actions required
Some packages worth showing in a video might be FluentValidation, FluentAssertions, OpenTelemetry, HotChocolate (graphql), MassTransit (huge and complex topic though)
Oh yes, Polly is a lifesaver. Just remember to make the variables holding the policies static! Every time you define a policy, a small in-memory DLL is created that contains the logic. If you create one every request in your API, you have a memory leak - I learned this the hard way , it's extremely hard to find with profilers :)
As for other libraries, for UI you could take a look at DynamicData - it's reactive LINQ. You define a source collection, then apply some tranforms, filters etc, and get an observable collection at the end. Now you just add, change the items in the source, and everything is nicely updated with minimal actions required
Thanks, i'll look at dynamicdata
Thank you Shawn, these videos are fantastic!
Glad you think so!
As always, great content. How about reviewing your favorite logging library e.g., Serilog?
It's been on the list, maybe it will move up
Some packages worth showing in a video might be FluentValidation, FluentAssertions, OpenTelemetry, HotChocolate (graphql), MassTransit (huge and complex topic though)
Noted!
I like the idea, but it seems a bit verbose and difficult to read