Sharpen The Saw - August 2019

4 Aug 2019 sharpen-the-saw

In todays post: Checking for nulls in C#; performance improvements in .NET 3.0; proving stereotypes aren’t true when working remote; blocking the worst passwords; and understanding ValueTask.


Dependency Injection: ViewModels

10 Aug 2019 wordtutor-redux csharp

Based on the foundation from last time, we can now turn our attention to our view-models. How can we use our dependency injection framework to construct each view model on demand?


Dependency Injection: Views

17 Aug 2019 wordtutor-redux csharp

We saw last time that setting up dependency injection for our viewmodels involved a small number of moving parts. The same applies when applying dependency injection to our views, but with a few additional complexities.


Redux Subscriptions

25 Aug 2019 wordtutor-redux csharp

One of the problems we currently have is caused by lack of updates - our application model can change without our view-models being notified that the change has happened, leaving our user interface showing stale information. To solve this, we’ll extend our Redux store with subscriptions, to allow each view-models to be proactively notified when things change.


ViewModel Subscriptions

31 Aug 2019 wordtutor-redux csharp

Now that our Redux store supports subscriptions, we can register to update our existing view models, allowing them to automatically stay current as our application state changes. The changes to each will be similar, but with a few variations on the common theme.