The first time I used Blazor Server was for a technical blog.

Deployed bare-metal on Ubuntu Server, behind an Nginx reverse proxy, it used:

  • C# 12/.NET 8
  • Blazor SSR
  • MySQL
  • Dapper
  • Monaco Editor
  • Bootstrap 4
  • Auth0
  • Systemd

I initially used EF Core, but switched to Dapper to experiment with a more explicit data-access and caching strategy.


Overview

The site included the usual functionality you'd expect from a single tenant blogging platform — posts, categories, users, and media management:

Content Managment Image

Flexibility

I embedded the Monaco Editor for creating posts so I could practise JavaScript, HTML and CSS. Monaco is the core editor behind Visual Studio Code:

Monaco Editor Image

That turned out to be a good choice as it affords great flexibility. For example, the documentation for Project Galahad provided functionality to view UML diagrams:

UML Image

And different layout styles for posts were possible—essentially everything was customizable:

UML Image

Virtual Resume

Whilst building the site, I experimented with an interactive, searchable career history—perhaps a little too enthusiastically. Here's an example of a command to list the six most recent jobs in which C# was used:

Resume Image

One of the blog posts communicated with a local AI via a Uvicorn API.

Whilst awaiting a response from the AI straining under old hardware, it displayed the scrolling Matrix theme:

Scintella Image

The Biggest Surprise

I was completely unaware of the sheer number of bots, scanners, scammers, and malicious actors on the internet. I had basic security measures in place through Nginx, but they weren't nearly enough. The bad actors were having a field day. Kestrel, however, was rock solid and held the line admirably.

I spent the next three weeks setting up security in depth, ensuring most bad traffic never reached Kestrel.

Kestrel really surprised me, it is a world class server.


The Experience

The sheer delight of using C# and having the entire .NET ecosystem at your service is amazing. I especially appreciate server-side rendering, it simplifies everything.

So far, I'm very impressed! Blazor has become my favourite web framework.

Hassan Habib has mentioned that Blazor is something that they are very excited about at Microsoft. The future looks very encouraging for Blazor developers.