One search. Many ideas.
Search everything, in one place.
Trending searches
- DEV dev.selectgo.vn
Implementing Problem Details in ASP.NET Core APIs
One of the most overlooked aspects when building APIs is how they communicate errors. A well-designed API informs consumers effectively when something goes wrong. Consistent error responses are not just a best practice but a necessity. T...
.NET Core
- DEV dev.selectgo.vn
Decorator Design Pattern in ASP.NET Core 5
Imagine that you are working on an existing application that sends notifications to other programs. The initial version of that application was only sending notifications by email but now you are asked to add some additional features in ...
.NET Core
- DEV dev.selectgo.vn
Strategy Pattern in ASP.NET Core
Let’s say you are implementing an online eCommerce shop checkout page and you have been told to implement a feature that will allow customers to choose one of the multiple shipping methods. Each shipping method can have different logics ...
.NET Core
- DEV dev.selectgo.vn
Builder Design Pattern in ASP.NET Core
Post author:Waqas Anwar Post category:ASP.NET Core / Design Patterns Post published:August 29, 2021 Imagine you are building an application that requires the construction of a complex object which has many fields and nested objects that ...
.NET Core
- DEV dev.selectgo.vn
API Versioning in ASP.NET Core - The .NET 10 Guide
API versioning in ASP.NET Core lets multiple versions of the same endpoint run side by side, so you can ship breaking changes without breaking the clients already calling your API. On .NET 10, the modern way to do it is the Asp.Versionin...
.NET Core
- DEV dev.selectgo.vn
ASP.NET Core SynchronizationContext
…nchronizationContext? Stepping back a moment, a good question to ask is why the AspNetSynchronizationContext was removed in ASP.NET Core. While I’m not privy to the team’s internal discussions on the subject, I assume it is for ...
.NET Core
- DEV dev.selectgo.vn
Rate Limiting in ASP.NET Core (.NET 10) - Complete Guide
A free-tier user runs a for loop against my pricing endpoint. The endpoint hits PostgreSQL on every call, fans out to Stripe for plan metadata, and warms a HybridCache entry that other tenants depend on. Within thirty seconds, the databa...
.NET Core
- DEV dev.selectgo.vn
HybridCache in ASP.NET Core .NET 10 - Complete Guide
I wrote custom IDistributedCache extension methods - GetOrSetAsync, TryGetValue, SetAsync with generics - for every project that needed Redis caching. Dozens of lines of boilerplate that I copied from project to project. HybridCache made...
.NET Core
- DEV dev.selectgo.vn
Minimal APIs in ASP.NET Core .NET 10 - Routing, Binding & Validation
Minimal APIs are the recommended approach for building HTTP APIs in ASP.NET Core. Introduced in .NET 6 and significantly enhanced through each release, Minimal APIs in .NET 10 have matured into a production-ready framework with built-in ...
.NET Core
- DEV dev.selectgo.vn
Global Exception Handling in ASP.NET Core - The Complete Guide for .NET 10
Exception handling can make or break your application. If exceptions aren’t handled properly, your API could leak sensitive stack traces, return inconsistent error formats, or worse - crash entirely. I’ve seen production systems go down ...
.NET Core
- More results