QuantumBitDesigns

Stories submitted by QuantumBitDesigns

MVVM – Lambda vs INotifyPropertyChanged vs DependencyObject(blog.quantumbitdesigns.com)

submitted by QuantumBitDesignsQuantumBitDesigns(325) 2 years, 4 months ago

There have been plenty of complaints about INotifyPropertyChanged and how developers do not like using strings, etc. Last year several bloggers presented type-safe alternatives that used either reflection or lambda expressions. Many are quick to point out the poor performance (same for reflection). Unfortunately ‘poor performance’ says little about usefulness of an implementation. The performance needs to be quantified and compared against all implementations so that ‘poor’ can be put in perspective. Speed is not the only issue, as memory should be compared as well.... read more...

add a comment |category: |Views: 209

tags: another

A Thread-Safe IDisposable Base Class(blog.quantumbitdesigns.com)

submitted by QuantumBitDesignsQuantumBitDesigns(325) 3 years, 10 months ago

Davy Brion came up with an IDisposable base class to provide the needed plumbing for IDisposable types. This implementation takes it a bit further and provides thread safety. read more...

add a comment |category: |Views: 120

tags: another

Blogs Can Destroy Your House(blog.quantumbitdesigns.com)

submitted by QuantumBitDesignsQuantumBitDesigns(325) 3 years, 10 months ago

It can happen to anyone. Trust noone! read more...

add a comment |category: |Views: 25

tags: another

DelegateMarshaler - Replace Control.InvokeRequired and Control.Invoke(blog.quantumbitdesigns.com)

submitted by QuantumBitDesignsQuantumBitDesigns(325) 3 years, 11 months ago

This is the third revision of the ThreadBarrier implementation that simplifies UI and worker thread interaction. This implementation (DelegateMarshaler) supports the original thread encapsulation concept as well as provides capability for replacing Control.InvokeRequired and Control.Invoke. read more...

add a comment |category: |Views: 205

tags: another

Simplifying UI and Worker Threads - ThreadBarrier Revisited(blog.quantumbitdesigns.com)

submitted by QuantumBitDesignsQuantumBitDesigns(325) 3 years, 11 months ago

The ThreadBarrier pattern describes a way of encapsulating a worker thread inside a non-UI class and exposing the events on the UI thread using a SynchronizationContext instead of Control.Invoke. Today's post revisits the pattern by demonstrating 5 ways a ThreadBarrier can be used. read more...

add a comment |category: |Views: 27

tags: another

Events and Threads(blog.quantumbitdesigns.com)

submitted by QuantumBitDesignsQuantumBitDesigns(325) 3 years, 11 months ago

There are many subtleties involved when you mix events with multithreading. This post describes three common problems and scenarios for this dangerous mixture and provides several solutions. read more...

add a comment |category: |Views: 11

tags: another

Stop Polluting the UI Thread - Use a ThreadBarrier(blog.quantumbitdesigns.com)

submitted by QuantumBitDesignsQuantumBitDesigns(325) 3 years, 11 months ago

A ThreadBarrier is a technique for simplifying the interaction between the UI and a worker thread. No longer do UI Controls need to check InvokeRequired and do the posting of events from a worker thread. read more...

add a comment |category: |Views: 465

tags: another

A list of development blogs(blog.quantumbitdesigns.com)

submitted by QuantumBitDesignsQuantumBitDesigns(325) 3 years, 11 months ago

Blogs can be a valuable resource for tutorials, tips, guides, and insights. What better place to get this knowledge from the thousands of bloggers covering topics on .NET, WinForms, WPF, WCF, Silverlight, ASP.NET, Design Patterns, Threading, and others. read more...

add a comment |category: |Views: 24

tags: another