Coding Short: Resilient .NET Apps with Polly

Поделиться
HTML-код
  • Опубликовано: 2 фев 2025
  • НаукаНаука

Комментарии • 9

  • @Qrzychu92
    @Qrzychu92 Год назад +11

    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

    • @swildermuth
      @swildermuth  Год назад

      Thanks, i'll look at dynamicdata

  • @DannysGalaxyTab
    @DannysGalaxyTab Год назад

    Thank you Shawn, these videos are fantastic!

  • @irvinwaldman4233
    @irvinwaldman4233 Год назад +4

    As always, great content. How about reviewing your favorite logging library e.g., Serilog?

    • @swildermuth
      @swildermuth  Год назад

      It's been on the list, maybe it will move up

  • @yufgyug3735
    @yufgyug3735 Год назад +1

    Some packages worth showing in a video might be FluentValidation, FluentAssertions, OpenTelemetry, HotChocolate (graphql), MassTransit (huge and complex topic though)

  • @UmmarFarooqMahroof
    @UmmarFarooqMahroof Год назад

    I like the idea, but it seems a bit verbose and difficult to read