File operations with UWP

Gone are the days of choosing a location on the hard drive and saving/loading.  UWP adopts a more phone or tablet-like approach where the user must give permissions before an app can conduct specific kinds of actions – including looking at specific folders, even in a desktop application. With UWP, you now have StorageFolders.  There…

Details

Keeping the GUI responsive

Passing data from worker threads to the UI thread is always a chore no matter which programming language is used.  Code can be a bear to develop, complex to read, and difficult to maintain.  Race conditions, debugging, security access, etc – it’s all a not-so-fun part of coding. I see that C# 4.0 introduced the async/await…

Details

Persisting data for UWP

UWP apps are funny.  Unlike regular desktop apps, it’s not always obvious how to store and retrieve data.  There are two cases I’m talking about: There is no Settings GUI in UWP apps like there was in WPF apps.  Previously, an Engineer could right-click on Properties in Visual Studio and set initial values for the…

Details

Thoughts on Model-View-ViewModel

So many methodologies on how to program.  Things were so simple 20-30 years ago.  Single file programs.  Then turning into multiple files, procedural.  Then OOP.  Then Winforms.  Then MFC.  Then .NET and all the C# goodness.  Then WPF.  And now MVVM. There’s pluses and minuses to advancement in technology.  On some occasions, I feel that…

Details