Best of .NETMay 2025

  1. 1
    Article
    Avatar of troyhuntTroy Hunt·1y

    Have I Been Pwned 2.0 is Now Live!

    The revamped Have I Been Pwned website has been launched, introducing new features, improved search functionality, and a dedicated breach page with targeted advice. Email verification is enhanced, domain search is refined, and a new central dashboard consolidates user features. The site maintains the same API while adopting modern web technologies for better performance. A merch store is also available as part of the new offerings.

  2. 2
    Article
    Avatar of dotnet.NET Blog·1y

    Why we built our startup in C#

    Tracebit chose C# for building their B2B SaaS security product due to its productivity, cross-platform capabilities, popularity, rich standard library, expressive language features, and excellent tooling. Despite its reputation as a stable language without much buzz in the startup community, C# provides advantages such as a large talent pool, quality libraries, robust documentation, and fewer unexpected roadblocks. Its performance and open-source nature further enhance value for startups looking for a solid development foundation.

  3. 3
    Article
    Avatar of milanjovanovicMilan Jovanović·1y

    CQRS Pattern the Way It Should've Been From the Start

    This post explains how to implement CQRS in .NET without relying on MediatR, providing a guide for building a lightweight setup using simple interfaces, decorators, and dependency injection. Explore the benefits such as better control over CQRS infrastructure, predictable dispatching, simplified debugging, and improved testability. Learn how to define command and query interfaces, add decorators for logging and validation, and register everything using Scrutor for a clean and extensible CQRS pipeline.

  4. 4
    Article
    Avatar of milanjovanovicMilan Jovanović·51w

    YARP vs Nginx - A Quick Performance Comparison

    A performance comparison between YARP and Nginx reverse proxies using identical test conditions shows YARP significantly outperforming Nginx with 3.6x higher throughput (36,662 vs 10,169 RPS at 200 users) and much lower latency (7.77ms vs 21.23ms p90). The test used a simple .NET API with k6 load testing across different user loads. YARP demonstrated better scalability and integration within .NET ecosystems, while Nginx performance remained relatively flat across all test scenarios.

  5. 5
    Article
    Avatar of milanjovanovicMilan Jovanović·1y

    Event-Driven Architecture in .NET with RabbitMQ

    Learn how to implement event-driven architecture in .NET using RabbitMQ through a step-by-step guide. This involves setting up producers and consumers using RabbitMQ with Docker, understanding key components like queues and exchanges, and exploring different patterns such as competing consumers and fanout exchanges. The guide provides code snippets for setting up the system and tips for expanding the basic setup with advanced RabbitMQ features.

  6. 6
    Video
    Avatar of tsoding_dailyTsoding Daily·51w

    I tried .NET on Linux and Died Inside

    The author shares their experience of attempting to install and use .NET on Linux, highlighting challenges with the installation process, the handling of native executables, and drawing comparisons to Java. Additionally, they explore handling C# command line arguments, string interpolation, and attempt to use external libraries through FFI with examples. Frustrations with language and development environment nuances are expressed throughout the session.

  7. 7
    Article
    Avatar of devblogsDevBlogs·1y

    Modernizing Project Files with AI: A Success Story from the .NET Team

    Microsoft revamped its .NET Framework build system by using AI to automate project file conversions. Through experimentation with Copilot and a Python script using Azure OpenAI models, the team achieved a faster transformation process. Although accuracy required manual intervention, the script method accelerated project burndown and met goals ahead of schedule. The initiative demonstrated AI's potential in simplifying complex workflows and enhancing productivity without significant cost.

  8. 8
    Article
    Avatar of last9Last9·1y

    .NET Logging with Serilog and OpenTelemetry

    Leverage Serilog and OpenTelemetry to enhance .NET application observability. Structured logs from Serilog make debugging easier, while OpenTelemetry unifies logs, metrics, and traces for deeper insights into system operations. This combination allows for better tracing of microservice requests, performance analysis, and context-rich debugging.

  9. 9
    Article
    Avatar of collectionsCollections·51w

    Beginner's Guide to REST API Development with .NET 9 and ASP.NET Core

    Learn to develop REST APIs using .NET 9 and ASP.NET Core through a comprehensive guide available on freeCodeCamp.org's YouTube channel. The course covers REST concepts, ASP.NET Core architecture, project structure, HTTP methods, and CRUD operations. It includes SQL Server integration and testing using built-in tools and Postman.

  10. 10
    Article
    Avatar of collectionsCollections·51w

    Streamlining C# Development with .NET 10

    The upcoming .NET 10 simplifies C# development by allowing direct command line execution of standalone files, enhancing accessibility and productivity. This feature supports file-based apps, enabling management of elements like NuGet packages within a single file. While initial performance may lag, improvements are anticipated, helping C# align with simpler scripting languages. Flexibility to integrate these files into traditional projects remains intact.

  11. 11
    Video
    Avatar of nickchapsasNick Chapsas·1y

    .NET Will Get MUCH faster

    The post discusses the continuous and significant performance improvements observed in .NET, highlighting the ongoing potential for further optimization and enhancement. While initially skeptical about how much more could be improved, the author acknowledges that there is always room for progress, leading to a constant cycle of upgrades.

  12. 12
    Article
    Avatar of syncfusionSyncfusion·1y

    What's New in .NET 10 Preview: Top Features Developers Shouldn't Miss

    .NET 10 Preview introduces significant runtime improvements and updates to libraries and SDKs, enhancing performance, security, and developer productivity. Key features include enhanced certificate handling, improved string normalization and comparison, and optimized array processing. These advancements support diverse applications from system-level tasks to sophisticated web solutions while promoting efficient development workflows.

  13. 13
    Article
    Avatar of devblogsDevBlogs·1y

    .NET 10 Preview 4 is now available!

    .NET 10 Preview 4 has been released, featuring enhancements across the .NET Runtime, SDK, and libraries. Major updates include out-of-proc trace support, rate limiting trace sampling, and new async Zip APIs in libraries, along with JSON Patch and minimal API validation for ASP.NET Core. F# language and .NET MAUI see improvements, while Entity Framework Core introduces full-text search support for Azure Cosmos DB. Windows Forms and WPF receive quality improvements and shared functionalities.

  14. 14
    Article
    Avatar of communityCommunity Picks·1y

    .NET Digest #7

    The .NET Digest #7 provides updates on .NET 10 Previews 2 and 3, the latest Mono release, and several AI-enhancements in Visual Studio. It also covers articles about rewriting NuGet Restore for improved performance, new caching management in ASP.NET Core, and MSTest 3.8 features. Additionally, there are announcements about conferences and new versions, such as Rider 2025.1 and PVS-Studio 7.36.

  15. 15
    Article
    Avatar of jetbrainsJetBrains·1y

    The .NET Tools Blog

    A jumpstart guide that helps Visual Studio and ReSharper users transition to JetBrains Rider, highlighting the advantages and process of moving to the new development environment.

  16. 16
    Article
    Avatar of andrewlock.NET Escapades·51w

    Converting a docker-compose file to .NET Aspire

    This post details the conversion of a docker-compose.yml file for the mailing-list manager listmonk into a .NET Aspire app host project. The transition aims to simplify local development and artifact generation for deployment. The author provides a step-by-step guide to model the services in .NET Aspire, install prerequisites, and utilize Aspire integrations and parameters for configuration. The post concludes with exporting the Aspire app host back to a docker-compose.yml file to compare results.

  17. 17
    Video
    Avatar of nickchapsasNick Chapsas·1y

    The New constructors in C# are awesome

    C# introduces expression-bodied constructors, allowing concise syntax for simple classes and structs without braces or boilerplate. They're ideal for straightforward value assignments, though careful code folding is needed to avoid lengthy declarations.