Performance, hosting, and Copilot updates
A varied mix of .NET performance tips, background job schedulers, ASP.NET Core security, EF Core patterns, and recent tooling news.
Jasen's top three picks
- 1 How ValueTask Boosts .NET Performance with Zero Allocations
itnext.io
Zero-allocation async gets the spotlight right away with a practical ValueTask refresher.
- 2 Background Jobs in .NET: Hangfire vs Quartz.NET
medium.com
Hangfire vs Quartz is the sort of scheduler comparison people reach for when jobs start mattering.
- 3 Unit of Work in EF Core: Managing Transactions the Right Way
medium.com
The EF Core and IServiceScopeFactory posts are both very ‘real app’ topics, which I always appreciate.
Editor's note
I kept this one intentionally mixed: performance, data access, hosting, security, and tooling all made the cut. The ValueTask piece is a useful refresher if you care about allocations, and the Visual Studio/Copilot item is a good snapshot of where Microsoft is pushing developer workflows. I also liked the practical EF Core and IIScopeFactory-style guidance for people shipping real apps.
Today's articles
How ValueTask Boosts .NET Performance with Zero Allocations
itnext.io
Slash memory overhead in async C# code with practical ValueTask examples for high-throughput APIs Continue reading on ITNEXT »
Topics: C# .NET Core Performance
Read articleBackground Jobs in .NET: Hangfire vs Quartz.NET
medium.com
Choosing the Right Job Scheduler for Your .NET Project
Topics: .NET Core
Read articleUnit of Work in EF Core: Managing Transactions the Right Way
medium.com
Building a Unit of Work with EF Core
Read articleUnderstanding IServiceScopeFactory in .NET: When, Why, and How to Use It (With Real Examples)
c-sharpcorner.com
IServiceScopeFactory in .NET enables the manual creation of scoped services, allowing singletons and background tasks to safely utilize scoped dependencies. This ensures proper disposal, prevents memo...
Topics: ASP.NET Core .NET Core
Read articleHow to Delete Blank Rows and Columns in Excel using C#
medium.com
When working with Excel files, blank rows and columns may appear due to improper data formatting, extra spaces, or manual editing. These…
Read articleIOptions vs IOptionsSnapshot vs IOptionsMonitor in .NET — What’s the Difference?
medium.com
Are you sure your app reloads config without a restart? Spoiler: it depends on which Options API you inject. In one of my production…
Topics: .NET Core
Read articleASP.NET Core Development with XoomCoreWeb Boilerplate
c-sharpcorner.com
XoomCoreWeb is an open-source ASP.NET Core boilerplate with Onion Architecture, role-based access control, EF Core, Serilog logging, and audit trails. Available on GitHub and Visual Studio Marketplace...
Topics: ASP.NET Core .NET Core
Read articleYour .NET App Will Be an AI Agent (Whether You Like It or Not)
medium.com
Why This Blog Matters Continue reading on Dev Genius »
Topics: ASP.NET Core OpenAI
Read articleWhy .NET Has So Many Versions (And What You Really Need to Know)
dotnetfullstackdev.medium.com
From AssemblyVersion to NuGet to Binding Redirects — Finally Explained for Real Humans.
Read articleIntroduction to Playwright and TypeScript for Automation Testing
c-sharpcorner.com
Explore Playwright & TypeScript for automation testing! This guide covers setup, advantages over Selenium, and why TypeScript enhances reliability and scalability.
Topics: C# Unit Testing
Read article.Net and Kafka Integration: A Practical Guide
medium.com
In my previous article, I gave an overview about Kafka Architecture. This article is going to explain Producer and Consumer functionality…
Read articleHow to add Digital Signature in C# using KAiZEN APIs?
medium.com
Easily add digital signatures to your applications!
Read articleC# 14 Will Change How You Code — Here’s Why
medium.com
C# 14 ships with .NET 10 and brings a set of focused, developer‑friendly improvements: extension members, null‑conditional assignment…
Read articleFixing an old .NET Core native library loading issue on Alpine
andrewlock.net
In this post I walk through the process of solving a native library loading issue on alpine with an old .NET runtime, showing the steps we took and the solution
Topics: .NET Core Native AOT
Read articleCQRS ≠ MediatR
c-sharpcorner.com
Demystifying CQRS and MediatR in .NET! Learn the difference between Command Query Responsibility Segregation and MediatR, with practical examples. Use them right!
Read articleApplication Security in ASP.NET Core Web API – Best Practices & Implementation
c-sharpcorner.com
Secure your ASP.NET Core Web API with HTTPS, JWT authentication, role-based access, input validation, rate limiting, CORS, secure secrets, security headers, logging, and regular penetration testing fo...
Topics: ASP.NET Core Security Web API
Read articlePreventing SQL Injection in ASP.NET MVC, ASP.NET Core MVC, and Web API Applications
c-sharpcorner.com
Protect your ASP.NET MVC, ASP.NET Core, and Web API apps from SQL Injection! Learn practical C# strategies, parameterized queries, and secure coding practices to prevent data breaches and ensure robus...
Topics: ASP.NET Core Security Web API
Read articleIs Copilot More Accurate Than ChatGPT
c-sharpcorner.com
Wondering if GitHub Copilot is more accurate than ChatGPT for real-world coding projects? Discover which tool performs better in autocomplete, debugging, and large-scale software development.
Topics: GitHub Copilot Visual Studio
Read articleGitHub Copilot for Azure (Preview) Launches in Visual Studio 2022 with Azure MCP Support
devblogs.microsoft.com
The GitHub Copilot for Azure extension is now in Public Preview for Visual Studio 2022 (17.14+). It brings a curated set of Azure developer tools—exposed through the Azure MCP server—directly into Git...
Topics: Azure GitHub Copilot Visual Studio
Read article.NET Command Shell Execution — Error — The directory name is invalid
medium.com
This week my team experienced this error when executing commandline shell scripts through the System.Diagnostics.Process SDK:
Read articleMemory Management and Garbage Collection in .NET — A Deep Dive
medium.com
When writing C# code, memory is being allocated and released behind the scenes. Unlike languages like C or C++, where developers manually…
Topics: .NET Core Performance
Read articleIteration Plan for August & Re-writing Terminal Tools | VS Code Insiders Podcast ep. 2
youtube.com
We also sit down with VS Code engineer Daniel Imms about vast improvements coming to the Terminal for agent mode integration. * Bluesky: https://bsky.app/profile/vscode.dev
Topics: Visual Studio Visual Studio Code
Read articleBoost Your .NET Projects: Find the Fastest Way to Get an Item’s Index in Arrays
dotnettips.wordpress.com
This article examines the performance of three index-finding methods in .NET arrays: Array.BinarySearch (O(log n)), Array.FindIndex (O(n)), and Array.IndexOf (O(n)).
Topics: .NET Core Performance
Read articleMads K (Microsoft) on Visual Studio and VSCode
jesseliberty.com
Mads K of Microsoft talks about the targeting of Visual Studio and VSCode. Towards the end, I ask him about a few of his favorite plugins.
Topics: Visual Studio Visual Studio Code
Read article