Picture this. It’s Monday morning, and your team lead drops a message in the group chat: “New service starting today. Minimal API or Controller?” A few seconds of silence follow. Then everyone starts typing at once. Even years after Minimal APIs were introduced, this question continues to divide .NET teams. Some developers prefer the simplicity…
Author: Pablo Francesco
ASP.NET Core Tutorial :: How to Manage Vendor-Neutral Feature Flags with OpenFeature?
Feature flags are becoming a crucial component of contemporary software development. They enable canary deployments, A/B testing, progressive feature releases, and the rapid disabling of troublesome functionality without requiring the deployment of new code. Vendor lock-in is a problem that many businesses face when using a feature flag platform, despite the fact that feature flags…
Using Query Objects to Create Adaptable EF Core Queries
Assume you are in charge of an HR portal whose technology stack is Entity Framework. There are numerous user interfaces (UIs) and dashboards on this HR portal that show employee data. or instance, the HR manager might require an Employee List page with several filters, like displaying all IT department personnel. This is how the…
ASP.NET Tutorial: What is Middleware and Why Does it Matter?
In one line, I would sum up the necessity of middleware in.NET development as follows: By centralizing and standardizing cross-cutting issues, middleware eliminates the need to duplicate them in each controller or endpoint. The ASP.NET middleware mental model This is how the core appears: where middleware runs BEFORE and also AFTER the controller. This allows…
From Chaos to Clarity: Implementing Centralized Logging in ASP.NET Core
Writing logs to a local text file may be adequate if you are using a single ASP.NET Core application on a single server. However, what happens if your architecture expands? When you expand to three load-balanced servers, what happens? Or when you go to a microservices design where a dozen different APIs communicate with one…
