Blazor

Blazor

Published on VSM: An Introduction to Templated Components in Blazor

I've just had an article, An Introduction to Templated Components in Blazor, published on Visual Studio Magazine. The article tells you all about templated components and gives you some ideas about how you can take advantage of them in your Blazor and Razor Components projects.…

1 min read
Blazor

Simple Localisation in Blazor

In this post, I'm going to show you a way to set the current culture in your Blazor apps based on the users browser. Just to be clear this is going to be for client-side only apps. I've actually bundled this up as a Nuget package to make things a bit easier if you want to do the same in your app.…

4 min read
Blazor

Service Lifetimes in Blazor

In this post, I want to show some slight differences in behaviour with dependency injection lifetimes in Blazor and Razor Components, aka server-side Blazor.…

5 min read