Getting Started

A 2-post collection

Pluralsight Course "Understanding ASP.NET Core 2.x" Updated

My Pluralsight course about ASP.NET Core 2 is one of the most popular courses I have. Many people have already watched it and I'm thrilled about the very positive feedback I'm getting about it. There is 2.x in the title so the intention of the course is that I'm updating it as ASP.NET Core minor versions come out. Since the course was created when 2.0 was released I have now updated it to reflect version 2.1. Maybe you're thinking: that's a bit late. Well I finished the updates about 4 weeks ago (I'm writing this on 20 July). During these 4 weeks I've been busy getting Pluralsight to publish the updates. I'm told the team...

Using React's new context API

Why context? A component tree can quickly grow. The root component has many children, the children have many children and so on. What if you want to pass information that is considered global to a tree or subtree of components? For example what language these components should use. Or what the username is. You could use props of course, but it seems unnessary to pass on the same information over and over again to each component. This is where the context comes in. Pre context In this example from the React website no context is used. The theme with value dark is passed with a prop to the child toolbar component which passes it on to it's child ThemedButton also...