Latest Posts

Build A Giphy Search With ASP.NET Core

Build A Giphy Search With ASP.NET Core

No matter how you choose to pronounce it, GIFs are a fantastic technology of our modern age. A correctly selected GIF can bring laughter, joy, and even comfort to both sender and recipient alike.

Implement A Webhook Framework With ASP.NET Core

Implement A Webhook Framework With ASP.NET Core

Let’s say we’re building a brand new HTTP API that supports webhooks, and we want the best for our ASP.NET consumers. We should document elements like endpoints, payloads, authentication, and responses our API expects from consumers. Documentation can be overwhelming...

ExceptionDispatchInfo And Capturing Exceptions

ExceptionDispatchInfo And Capturing Exceptions

As long as there has been software, there have been bugs. Exceptions are a hierarchy of classes designed to help developers capture, inspect, and handle errors. For C# developers and many other languages, the way we work with exceptions is...

Module Initializers In C# 9

Module Initializers In C# 9

.NET 5 is shaping up to be an excellent release for .NET folks, and C# developers are fortunate to get more features to help solve day to day programming problems and niche optimizations. One of the features that caught my...

Looking At System.IO.Path

Looking At System.IO.Path

As a web developer, I rarely need to deal with physical files on disk. It’s a request/response kind of life while communicating with a database engine. When working on this blog, I find myself doing more file manipulation, as I’m...

Generate QR Codes With C#

Generate QR Codes With C#

Quick Response (QR) codes are all around us, helping us quickly retrieve information on our mobile devices. QR codes are high-density barcodes that encode all kinds of information: numbers, alphanumeric, byte/binary, and even script languages like Kanji.

FormattableStringFactory and Formats

FormattableStringFactory and Formats

In this post, we’ll be looking at FormattableStringFactory, a factory type used by .NET’s compilers to create instances of FormattableString. We can find the FormattableStringFactory class under the System.Runtime.CompilerServices namespace.

Use ASP.NET With Turbolinks 5

Use ASP.NET With Turbolinks 5

The web development community has come a long way since the early days of the web. Building interactive web experiences can leave many developers in a state of paralysis. What web framework should we use? What transpiler should create my...

Add Headers To A Response In ASP.NET 5

Add Headers To A Response In ASP.NET 5

Hey folks, this is a short but crucial blog post for anyone writing custom middleware for ASP.NET. In this post, we’ll see how we can correctly add headers to an HTTP response and avoid the dreaded System.InvalidOperationException error.