Contributions

Article
Learn how to create custom validation attributes in ASP.NET Core to enforce business logic, by extending the ValidationAttribute class.
Article
If you are looking to migrate Azure Functions running In-process to Out-of-process/Isolated, this post will help you with steps and known errors.
Article
Learn how to understand HRESULTs in .NET exceptions. HRESULTs can help debug errors by highlighting error codes not available in the message.
Article
Learn how to debug an HTTP Error 500.19 - Internal Server Error when trying to host both ASP.NET and ASP.NET Core websites on IIS.
Article
Learn how to easily unit test methods in the BlobServiceClient provided by the Azure.Storage.Blobs package using NUnit and NSubstitute.
Article
Using a couple of available tools you can validate NuGet packages before publishing to nuget.org. Learn how to set it up on GitHub Actions.
Article
Learn how to inject dependencies using keys in ASP.NET Core. With keyed services you can finally inject multiple objects of the same type.
Article
This post will show how to validate JSON files against a JSON Schema as part of a build on Azure DevOps. Never push invalid JSON files again.
Article
Learn about how to set up logging in Azure Functions. With just a few changes, it is easy to improve on what comes from the new project template.
Article
Learn how to set up middleware in ASP.NET Core based on one or more conditions. This can help you run custom code for only specific endpoints.
Article
Visual Studio caches JSON Schema files used for IntelliSense. Learn how to force reload a schema if Visual Studio doesn't pick up the changes.
Article
Learn how to modify response headers from ASP.NET Core middleware. You need to use the correct hook to avoid a System.InvalidOperationException.
Article
Learn how to create a debug visualizer for Visual Studio. In this post, I'll develop a visualizer of email addresses to help you get started.
Article
In this post, I'll share a list of features that some of you may not know. From small gems to large features that you probably haven't seen.
Article
Learn how to parse a website from .NET/C# using the two most popular NuGet packages for the job: Html Agility Pack and AngleSharp.
Article
This post will show you how to simplify URLs to better compare them and to implement uniqueness checks across URLs with multiple parameters.
Article
This post will explain how to get the IP of the requesting client in a proxied ASP .NET Core website. Learn all about custom headers and more.
Article
Deploy access restricted Azure websites from DevOps pipelines easily with this step-by-step guide to enhance your website's security.
Article
Learn how to develop Visual Studio extensions with ease using Roslyn analyzers. This step-by-step guide will help you get started in no time!
Article
Learn how to zip a list of files and download it from an ASP.NET Core website. The post also digs down into a couple of best practices.
Article
Set up logging with Microsoft.Extensions.Logging in WPF applications running on .NET 7. Learn how to configure global error handling and logging.
Article
Set up automated builds of Visual Studio extensions. Read through, to learn how to use GitHub Actions to pick up commits and publish extensions.
Article
Learn about polling an asynchronous API with Azure Durable Functions. Easily integrate with async REST APIs using an initial request and retries.
Article
Learn how to generate header images using Bannerbear. The post also highlights how images can be generated using ASP.NET Core middleware.
Article
Learn about the built-in rate-limiting middleware in ASP.NET Core. The post uses limiting on an API key and compares it to AspNetCoreRateLimit.
Article
A blog post about how to implement file download in ASP.NET Core (MVC). Learn about the built-in result object types and when to use which type.
Article
Learn how to get the base path (schema, domain, and port) in an ASP.NET Core application. Examples for both MVC and Razor Pages are included.
Article
In this post, I'll introduce you to three different NuGet packages that will help you when dealing with exceptions in .NET/C#.
Article
Learn how to build a simple Reddit client with Blazor and the pushshift.io API. Pull conversations and statistics from Reddit with a few lines.
Article
This post revisits the Repository Pattern, addresses the implementation pitfalls in .NET, and reviews proposed solutions to reduce complexity.

Showing the last 30 only...