C# C# const, static, readonly: An IL Deep Dive This post is a deep dive into what happens at the IL (Intermediate Language) level when the C# keywords const, static, and readonly are used for fields and properties.
C# Deep Diving Into “CA2254: Template Should Be a Static Expression” and How to Fix It This post is an in-depth explainer on why the .NET logging warning CA2254 appears and how to fix it.
NuGet Featured ZeroRedact: A Simple Redaction NuGet Package ZeroRedact is a fast, simple, zero allocation redacting library for .NET. Read about how to easily redact discrete pieces of PII or other sensitive information in .NET.
GitHub Copilot Making a WebApp With GitHub Copilot Part 1 How hands off can you be when using GitHub Copilot? I tested this by making a little WebApp to sort, filter, and order markdown tables.
WebAssembly Client WebAssembly Websites Are Held Back by Web Crawlers Client-only Wasm sites are a fantastic addition to the open web. We'll look at how they aren't treated equally by search engine web crawlers due to their dynamic nature and some solutions.
C# Is It Valid to Have NonAction on Private Methods Inside a Controller in ASP.NET Core? Preventing a method/action from handling requests is as easy as using private, or the NonAction attribute. But how do these work? And is it valid to use them together?
C# Featured Use Any Language to Control mGBA mGBA-http is an HTTP interface for mGBA emulator scripting. Programmatically connect to mGBA with your favourite language using an HTTP REST API. Easily create your own cross platform "Twitch Plays", Gameboy playing bot, or more.
C# How to Set the Subject Metadata for a PDF With iText7 and C# In this post I'll take you through setting the subject metadata for a PDF with iText7 and C# in a way you can understand what's happening and just copy it into your codebase.
C# How to Delete Specific Metadata from a PDF With iText7 and C# In this post I'll take you through deleting specific metadata from a PDF with iText7 and C# in a way you can understand what's happening and just copy it into your codebase.
C# How to Set the Keywords Metadata for a PDF With iText7 and C# In this post I'll take you through setting the keywords metadata for a PDF with iText7 and C# in a way you can understand what's happening and just copy it into your codebase.
C# How to Set the Producer Metadata for a PDF With iText7 and C# In this post I'll take you through setting the producer metadata for a PDF with iText7 and C# in a way you can understand what's happening and just copy it into your codebase.
C# How to Set the Creator Metadata for a PDF With iText7 and C# In this post I'll take you through setting the creator metadata for a PDF with iText7 and C# in a way you can understand what's happening and just copy it into your codebase.
C# What Does Asterisk *, Plus +, and Double Colon :: Mean in ASP.NET Core URLs? Sometimes in a .NET project you might see a wildcard in the URL like http://*:5400 or perhaps two colons in the console output like http://[::]:5400. This post will explain what they are, and how they work.
C# How to Set Custom Metadata for a PDF With iText7 and C# In this post I'll take you through setting custom metadata for a PDF with iText7 and C# in a way you can understand what's happening and just copy it into your codebase.
C# How to Set the Author Metadata for a PDF With iText7 and C# In this post I'll take you through setting the author metadata for a PDF with iText7 and C# in a way you can understand what's happening and just copy it into your codebase.
C# How Heavy Is the nameof Expression in C#? With proof, we'll be looking at how heavy (or light!) the C# nameof expression is and what that means for your code.
C# How to Set the Title Metadata for a PDF With iText7 and C# In this post I'll take you through setting the title metadata for a PDF with iText7 and C# in a way you can understand what's happening and just copy it into your codebase.
C# How to Get the Standard Metadata for a PDF With iText7 and C# In this post I'll take you through getting the standard set of metadata for a PDF with iText7 and C# in a way you can understand what's happening and just copy it into your codebase.
C# Can’t Debug After Running Benchmark.net Quick post to explain why you might not be able to debug your C# Visual Studio code or debug your unit tests after running Benchmark.net.
C# How to Get All the Metadata for a PDF With iText7 and C# In this post I'll take you through getting all the metadata for a PDF with iText7 and C# in a way you can understand what's happening and just copy it into your codebase.
.NET The Weird Things Roslyn Gets up To Ever wanted to see some strange, interesting, and weird .NET behaviour and features? What about bizarre C# to baffle? If so, then welcome to this little curated and peculiar collection.
C# Writing My Own Pokémon Spritesheet Generator in C# For my Living Dex project I wanted to control how the Pokémon spritesheets work. There are existing spritesheet generators, but I wanted to make my own in .NET for fun and learning.
C# How to Natively Read .tgz Files With the New C# TarReader Class In .NET 7 we can now natively decompress/unpack and open .tgz/.tar.gz files/archives without third party libraries or complex code.
Game Boy Featured Why Did I Write a Gameboy Color Image Decolouriser? Come read about how I created this tool to more cleanly import Gameboy Color images as backgrounds in GB Studio because sometimes the colour definition gets lost when using the GB Studio tools.
C# Featured Shrinking a Self-Contained .NET 6 Wordle-Clone Executable Shrinking the size of an executable in .NET can be more than just TrimMode. Join me in this post where we will look at the compiler, linker, and the experimental .NET AOT in order to further shrink the .exe of a Wordle clone, TinyWordle.