Tag
dotnet
.NETWhen Cached State Isn't Enough: Adding PostgreSQL with .NET Aspire
Add PostgreSQL to a .NET Aspire app for durable incident state, with explicit migration ownership across multiple API replicas.
.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
Build a permission-gated repository maintenance agent in .NET with GitHub Copilot and Microsoft Agent Framework.
azureDeploying a .NET gRPC Server on Azure App Service
Deploy an ASP.NET Core gRPC service to Azure App Service, configure HTTP/2 proxying, and test the hosted endpoint with grpcurl.
distributed systemsBuilding a gRPC Client in .NET
Build a .NET gRPC client from a shared .proto contract, generate the client stubs, call the server, and inspect the response.
Updated · originally
distributed systemsBuilding a gRPC Server in .NET
Build a gRPC server in .NET from a Protocol Buffers contract, implement the service, handle common setup errors, and test it with grpcurl.
Updated · originally
talksGo for .NET Developers
Learn Go from a .NET developer's perspective with talk slides and examples covering syntax, packages, structs, testing, and HTTP services.
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 the WebSocket Protocol with ASP.NET Core
Understand the WebSocket protocol through an ASP.NET Core example: inspect the HTTP upgrade, frames, EndOfMessage, and a raw echo endpoint.
Updated · originally
c#How to ramp up in a new codebase with NDepend
Use NDepend dependency graphs, code metrics, and static analysis to understand an unfamiliar .NET codebase and locate technical debt.
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
Secure the Hangfire Dashboard in ASP.NET Core with endpoint routing, a custom authorization policy, Azure AD authentication, and role checks.
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#
Understand nullable value types in C#, how Nullable<T> represents missing values, and how to inspect and safely access the underlying value.
asp.net coreDeploying an ASP.NET Core App on Google Kubernetes Engine
Explore the original ASP.NET Core deployment walkthrough using Docker, Google Container Registry, and Google Kubernetes Engine.
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
Pre-configure ASP.NET Core services that need dependencies before registration by using an explicit factory and service-provider setup.