March 16, 2019

Blazor State Management Part III - Cascading Parameters

Cascading parameters provides a way to share data and behavior from ancestor components to child components without having to manually pass parameters down in intermediate components. Components can access the data it needs without requiring parent components to manage data dependencies. In this article, we will explore using cascading parameters, along with event delegation, in order to share data throughout a component tree.

March 14, 2019

Blazor State Management Part II - Event Delegation

Data-binding is a useful concept and tool. In practice, data-binding lets Blazor developers manage and manipulate local component state and rest easy knowing the component UI is always working with, and reflecting the current state. The problem, data-binding does not work with state shared across components. In this article, we explore event delegation. A technique for handling state changes and for sharing state across components.

March 08, 2019

Blazor State Management Part I - Data-Binding

Data-Binding. It's the magical glue that binds an application's UI to its business model. Or, more formally, It's a process for updating UI when application state changes and vice versa, keeping the state in sync with changes occurring in the UI. Blazor supports data-binding, but to what extent?

May 24, 2018

TypeScript and Runtime Type Safety

Intellisense, type definitions, tooling, and documentation. A few of the benefits that follow from TypeScript's compile-time static type system but it's not all good news. There are some drawbacks. For starters, the type checking, and thus type safety, occur at compile time. What about Runtime type safety?

March 16, 2018

Authoring TypeScript Libraries

You've written a TypeScript library. Now what? Time to publish, of course. But how? Do you publish it as a TypeScript module or compile it to JavaScript? Should it run in browser or Node.js, or both? What about ES5 versus ES6 or ESNext? And don't forget, some people prefer AMD modules.

November 12, 2017

ASP.NET Core. Linux Edition

ASP.NET Core + Linux = Freedom. Love ASP.NET? What about Linux? Do you wish to bring the two together? Well now you can with ASP.NET core. Deploy your favorite web stack to your favorate hosting environment. Or, develop from the comfort of your favorite MacBook or Linux box.

June 15, 2016

Fixed HTML Table Header

Large HTML tables got you down? Easily fix table headers for readability. Best part. No framework or library necessary.