Articles

Checkout out these articles! I mainly focus on Tech related topics with a heavy focus on .NET and anything relating to Game Development. But you will find some hidden gems about infrastructure like Kibana to Kubernetes!


  1. Blazor Server - Get Access Token for User

    • Blazor
    • ASP.NET Core
    • .NET
    • C#
    • WebAssembly
    • Wasm

    In this article I show, using Blazor Server, a few snippets to get the AccessToken for a logged in User. It is not as straight forward to get the AccessCode for a user, the snippets will be using an Authentication type of OpenID. I have included comments in the code below with helpful details that might be useful.

  2. Blazor - Cascading Component Attributes

    • Blazor
    • ASP.NET Core
    • .NET
    • C#

    When using Blazor you will sometimes need to give a Button some of your own flare, with that comes the problem of mapping all the attributes to another tag from your component. Below I show an out of the box way to cascade the attributes from your wrapper component to a tag, in this case a button.

  3. CSS - Fancy Full Screen Loading UI

    • CSS
    • HTML
    • JavaScript

    This article I am just showing off a simple full screen UI I am playing around with, the main reason to have a Full Screen Loading UI is to hide loading details about your application. In my case I am hosting a Wasm application, and since it requires a hearty load of assets I wanted a Fancy loading screen to show the user when they first hit the site. Below is the HTML, CSS and JavaScript I use to show and manage the UI.

  4. Blazor - Playing Sound with JSRuntime

    • Blazor
    • ASP.NET Core
    • .NET
    • C#

    With this article is just show off how to play an audio sound from Blazor, it's not much different that using JavaScript, well it is just using JavaScript. But since Blazor does not have a built-in abstraction over the Audio JavaScript API we have to use IJSRuntime to call into it. Their are other libraries that can do this for you, abstracting away the JavaScript, but in some cases you just need an simple example of calling a block of code. Also this article is just to show off more of my Blazor Component Library. 😁