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. DotNet Core - Create a Script DLL

    • .NET Core
    • .NET
    • C#
    • Scripting

    In this article we will go over creating a DLL for scripts, this will allow for a single file artifact that can be loaded up in just about any .NET Core application.

  2. Blazor - Enable API Endpoints

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

    Just a quick post showing how to enable API controllers in a Blazor server application. I noticed, for performance, the default templates I used does not automatically wire up API controllers that are in your application. To enable API controllers you just need to add to the endpoints mapping, endpoints.MapControllers();.

  3. C# Merge Dictionaries

    • .NET Core
    • .NET
    • C#

    While working on my Game client conversion, which is why I have not posted many articles for a while, I found a need to merge two dictionaries into a single dictionary. Its not a real complicated process, but I all the examples I found would alway use the item from the first dictionary or would throw exceptions on a duplicate. To get around these two scenarios I created the MergeLayoutControlOptions method below, it takes in a list of Dictionary typed objects and merges them with the last grouped value taking priority in the new Dictionary.

  4. Project - EventHorizon Blazor Interop

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

    I have been working on a project that will generate a C# Blazor WASM abstraction from a TypeScript definition file, as part of that project I needed a way to run the equivalent functionality in JavaScript. This article will go over that WASM Interop project I created, I also package it up in an easy to use NuGet package if you want to use it as well.