With ASP.NET Core 9.0, we have access to a new Caching API: HybridCache, and it’s designed to replace both IDistributedCache and IMemoryCache. Let’s go through with an example […]
With .NET 9, ASP.NET Core now has built-in support for OpenAPI document generation in both controller-based and minimal APIs. For as long as I can remember, ASP.NET […]
Recently I was updating an old .NET Core web application to .NET 8 and the code was reading a certificate as follows. private X509Certificate2 GetCertificateByThumbprint(string thumbprint){ X509Store store = new (StoreName.My, StoreLocation.CurrentUser); store.Open(OpenFlags.ReadOnly);