ASP.NET Core
news

64stories

Stories

AutoNormalize 1.0
Clean input at the edge
DVDEV Community: #aspnetcore surya pratap singh 3 pts Nov 22

AutoNormalize v1.0.0 keeps string normalization at the ASP.NET Core boundary

AutoNormalize, a new MIT-licensed NuGet package, normalizes request strings during System.Text.Json contract building and inside EF Core's SaveChanges instead of through a global string converter, sidestepping password trimming, immutable record and dictionary key pitfalls. The author explains the design and shares benchmarks.

ASP.NET Core
ASP.NET Core
DVDEV Community: #dotnet Harsh Gupta Nov 19

Rate Limiting in Vineforce Teams: Designing Dynamic API Policies on ASP.NET Core

Vineforce Teams inherits ASP.NET Zero's dynamic rate limiting, where policies live in the database rather than in Program.cs or appsettings.json and take effect at runtime without a restart. The article explains how a request is matched to a policy and how to choose between the four limiter algorithms without throttling legitimate users.

ASP.NET Core
ASP.NET Core
ABASI Backbone Learning Christopher D. Cavell Nov 17

Task.Run Does Not Make ASP.NET Core Work Durable

Returning 202 Accepted and starting the work with `Task.Run` makes an endpoint fast, but the work lives only in that process: nothing coordinates it with shutdown, it may touch a disposed request-scoped service, and its failures go unrecorded. The article separates the three guarantees an endpoint can choose from and what each one actually promises.

ASP.NET Core
Stop queries on disconnect
CCC# Corner Sophia Morales Nov 13

Stopping EF Core queries when the client disconnects in ASP.NET Core

When a client closes the tab, ASP.NET Core ends the request but a query already running keeps holding database connections, CPU and pool capacity. The article shows how to carry the cancellation token from the controller through services and repositories into EF Core async calls, and how to keep cancellation out of the error logs.

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message