Browsing Tag
dotnet
97 posts
A .NET TUI for Advent of Code
It’s that time of year in North America: wood stoves are burning, lights are going on houses, turkey…
Aborted attempt to return meaningful Problem Details response from model binding errors in an ASP.NET Core Minimal API
Introduction Model Binding is the process of binding parameters of the route handler to request parameters (to route…
What is inside Rate Limiting for .NET
The Rate Limiting API debuted in .NET 7. It implements several popular algorithms for limiting the number of…
𝐄𝐟𝐟𝐢𝐜𝐢𝐞𝐧𝐭𝐥𝐲 𝐌𝐚𝐧𝐚𝐠𝐢𝐧𝐠 𝐃𝐛𝐂𝐨𝐧𝐭𝐞𝐱𝐭 𝐋𝐢𝐟𝐞𝐭𝐢𝐦𝐞 𝐢𝐧 𝐄𝐅 𝐂𝐨𝐫𝐞
In Entity Framework (EF) Core, managing the 𝗗𝗯𝗖𝗼𝗻𝘁𝗲𝘅𝘁 lifetime is crucial for 𝗮𝗽𝗽𝗹𝗶𝗰𝗮𝘁𝗶𝗼𝗻 𝗽𝗲𝗿𝗳𝗼𝗿𝗺𝗮𝗻𝗰𝗲 and 𝗱𝗮𝘁𝗮 𝗶𝗻𝘁𝗲𝗴𝗿𝗶𝘁𝘆. Mismanagement…
Mastering C# Fundamentals: Do-While and For Loops
Meta Description: Learn how to efficiently control the flow of your C# programs using iteration statements like do-while…
[ML.NET] Predicting the Future with ML.NET with examples
Hello, I’m Duc Nguyen (Duke) Today I will introduce ML.NET to the .NET community So, what’s the ML.NET?…
AuthenticationHandler in ASPNET
In ASP.NET Core Identity, an AuthenticationHandler is a component that implements the logic for authenticating users based on…
Securing APIs with YARP: Authentication and Authorization in .NET 8 Minimal APIs
As microservices and API-driven architectures continue to rise in popularity, securing these services becomes increasingly crucial. One of…
How to Create a Blazor Web App for Document PDF Viewing and Annotation
Dynamsoft Document Viewer SDK provides a comprehensive set of APIs for viewing and annotating PDFs and images in…
C# Tip: nameof
Let’s explore the nameof operator, introduced in C# 6, which allows you to get the name of variables,…