Tag
aspnetcore
.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.
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
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
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…
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…