Tag
dotnet
.NETWhen IMemoryCache Stops Scaling: Moving to Redis with .NET Aspire
See why IMemoryCache breaks down across multiple app instances, then move shared cache state to Redis and wire it with .NET Aspire.
aiBuild a Safe Repository Maintenance Agent with GitHub Copilot and Microsoft Agent Framework in .NET
Giving an AI agent access to a repository takes only a few lines of code. Giving it useful access without silently approving every command is the real…
azureDeploying a .NET gRPC Server on Azure App Service
In this article we are going to be deploying a gRPC web service written in .NET to an Azure App Service. We will then interact with it and also…
distributed systemsBuilding a gRPC Client in .NET
In this article, we will take a look at how to create a simple gRPC client with .NET and communicate with a server. This is the final post of the blog…
distributed systemsBuilding a gRPC Server in .NET
In this article, we will look at how to build a simple web service with gRPC in .NET. We will keep our changes to minimal and leverage the same…
talksGo for .NET Developers
This blog post kind of different from my usual ones since this is based on a recent talk I delivered at the Adelaide .NET User Group on the 09 Dec…
asp.net coreASP.NET Core Health Checks
Add health checks to an ASP.NET Core service, expose them on an endpoint, and choose which dependencies belong in a readiness signal.
asp.net coreDistributed Caching in ASP.NET Core with Redis
Move a cache out of process memory and into Redis with IDistributedCache, so an ASP.NET Core app keeps its cache when you scale horizontally.
Updated · originally
asp.net coreUnderstanding WebSockets with ASP.NET
What RFC 6455 actually specifies, how the HTTP upgrade handshake works, and how SignalR builds on it in an ASP.NET Core app.
Updated · originally
c#How to ramp up in a new codebase with NDepend
Reading code is good. But, visualising code is even better. I recently wrapped up a gig where we had to perform a .NET Core upgrade (from .NET…
asp.net coreHaving Fun with Microsoft IoC Container for .NET Core
Wire up Microsoft's built-in dependency injection container from an empty console app, then read the DI extension source to see how it resolves.
asp.net coreUnderstanding .NET Generic Host Model
How the .NET Generic Host separates initialisation from execution, and what it configures for you in both a web app and a worker service.
asp.net coreSecuring Hangfire Dashboard in ASP.NET Core with a Custom Auth Policy
This blog post assumes that you have a basic understanding of Hangfire. If not, you can follow their excellent guide on how to get started. The scope…
asp.net coreSimple In-Memory Caching in .NET 10 with IMemoryCache
Cache expensive calls in a .NET 10 app with IMemoryCache, then fix the thundering herd the naive version causes by locking around the cache miss.
Updated · originally
c#Understanding Nullable Value Types in C#
I recently started picking out different topics that I like to learn more about. One such thing I wanted to have a closer look at is "Nullable value…
asp.net coreDeploying an ASP.NET Core App on Google Kubernetes Engine
I recently started playing around with the Google Cloud Platform. Since ASP.NET Core now runs on virtually any major OS, I wanted to give it a go with…
c#Demystifying Async & Await in C#
What async and await really do in C#, why a Task is not a thread, and which common misconceptions about the two cause the most trouble.
asp.net coreHow to Pre-Configure Services Before Registering with ASP.NET Core's Built-in Service Container
In ASP.NET, if you are using the default DI service container, registering services is done in the ConfigureServices(IServiceCollection) method in…