Tracking Progress

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ย. 2024
  • In .NET, tasks get on with their work quietly in the background. But sometimes, it's nice to know what they're up to.
    Source code available at: github.com/Jas...
    Topics include:
    - The Progress class
    - The IProgress interface
    - The WPF ProgressBar control
    - Cross-thread management in GUI applications
    - Avoiding overloading the event queue
    - Problems with C# integer arithmetic
    - async and await

ความคิดเห็น • 11

  • @CodingTutorialsAreGo
    @CodingTutorialsAreGo  ปีที่แล้ว

    Where do you use progress indicators? Let me know in the comments.
    Source code available at: github.com/JasperKent/Task-Progress
    Remember to subscribe at th-cam.com/channels/qWQzlUDdllnLmtgfSgYTCA.html
    And if you liked the video, click the 👍.

  • @abhishekawasthi6311
    @abhishekawasthi6311 ปีที่แล้ว +1

    Awesome video, high quality information

  • @CRBarchager
    @CRBarchager ปีที่แล้ว +1

    This is exactly what I've been searching for. Good explaination. Thank you!

  • @eng.wandeson
    @eng.wandeson ปีที่แล้ว +1

    Thanks for it! Stay with good!

  • @hannahbaker411
    @hannahbaker411 ปีที่แล้ว +1

    great video as always

  • @MarllonVilano
    @MarllonVilano 5 หลายเดือนก่อน +1

    Thanks for the videos, very good explanation and examples. One thing got my attention, the Christianity and Jewish books... Are you Christian?

  • @williamliu8985
    @williamliu8985 ปีที่แล้ว

    I really like this problem-oriented example! 😀

  • @DongoBongKong
    @DongoBongKong ปีที่แล้ว +1

    Excellent as usual!

  • @mirragemelkyr
    @mirragemelkyr ปีที่แล้ว +1

    Greetings Jasper, awesome video as always. I used progress indicators overall in console applications not that much in WPF applications, because some times you got a batch that runs against the db. I got a question, if we were using a Parallel.ForEach how the percentage could be reported?

    • @CodingTutorialsAreGo
      @CodingTutorialsAreGo  ปีที่แล้ว +1

      Just capture the 'progress' in the body of the ForEach. It's already thread-safe. Note that in the WPF example, you'd have to call the ForEach in a Task which you await, since ForEach alone will block.