Best of .NETFebruary 2024

  1. 1
    Article
    Avatar of medium_jsMedium·2y

    The ultimate static file server benchmark

    The article presents a benchmark of the performance of static file servers implemented in various languages. The front-runners in terms of performance were Quarkus, Webflux, and Rust.

  2. 2
    Article
    Avatar of hnHacker News·2y

    Avalonia UI

    Avalonia UI is an open source UI framework for building stunning, desktop, mobile, web and embedded applications using a .NET single codebase. It provides a familiar developer experience, offers deep integration with JetBrains tools, and is trusted by companies for modernizing their WPF apps.

  3. 3
    Article
    Avatar of mwaseemzakirWaseem .NET Newsletter·2y

    EP 48 : Refactoring in C#

    Refactoring in C# is the process of improving the internal structure of code without changing its external behavior. It aims to enhance efficiency, code readability, and maintainability. The post discusses situations when code should be refactored and provides common refactoring techniques.

  4. 4
    Article
    Avatar of codemazeCode Maze·2y

    Clean Architecture in .NET

    Clean Architecture is an architecture pattern aimed at building maintainable, scalable, and easily testable applications. It separates the application into different layers: domain, application, infrastructure, and presentation. Clean Architecture and Onion Architecture have similar goals but differ in how they separate layers based on abstraction and focus on the core. To implement Clean Architecture in .NET, follow the principles of separation of concerns, loose coupling, and testability. Use CQRS with MediatR for the application layer.

  5. 5
    Article
    Avatar of medium_jsMedium·2y

    I Hate JavaScript, Thank You Blazor

    Blazor has addressed the frustrations with JavaScript by providing a component-based architecture, seamless code sharing between server and client, and the advantages of C# and compile-time error checking.

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

    Introducing ASP.NET Core metrics and Grafana dashboards in .NET 8

    ASP.NET Core in .NET 8 introduces metrics and Grafana dashboards. Metrics can be used to monitor app activity and can be displayed on a dashboard or trigger real-time alerts. There are options available for using these metrics, including the .NET Aspire dashboard and ASP.NET Core Grafana dashboards.

  7. 7
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    Learn the C# Programming Language – Full Book for Beginners

    Learn the C# Programming Language – Full Book for Beginners. The post provides an overview of C#, its history, and its evolution into a versatile programming language. It also introduces the .NET environment, free tools for C# development, and the types of applications that can be built using C#.

  8. 8
    Article
    Avatar of medium_jsMedium·2y

    .Net vs Java vs Go vs Rust: Hello UUID performance

    This article compares the performance of .Net with Java, Go, and Rust frameworks using a Hello World case. The resource usage and performance of the applications are discussed, with Rust being declared the winner.

  9. 9
    Article
    Avatar of discdotDiscover .NET·2y

    LINQ MindMap: .NET 9 Edition

    An updated version of the LINQ MindMap for .NET 9 that includes everything up until .NET 9.

  10. 10
    Article
    Avatar of bartwullemsThe Art of Simplicity·2y

    EF Core–.NET 8 update

    EF Core 8 release introduces a new feature that allows the use of handwritten SQL statements to fetch EF Core entities, making it an alternative to micro-ORMs like Dapper. Check out the What's New page on Microsoft Learn for more information.

  11. 11
    Article
    Avatar of milanjovanovicMilan Jovanović·2y

    Using Scoped Services From Singletons in ASP.NET Core

    Learn how to resolve scoped services in a singleton service in ASP.NET Core using the IServiceScopeFactory. Understand the differences between Transient, Scoped, and Singleton lifetimes in ASP.NET Core applications. Discover how to use scoped services in ASP.NET Core middleware.

  12. 12
    Article
    Avatar of codemazeCode Maze·2y

    How to Call SignalR Hub from Controller in ASP.NET Core

    This post explains how to call a SignalR Hub from a Controller in ASP.NET Core and demonstrates how to simulate a recurring server-client interaction using SignalR Hub and ASP.NET Core Controller.

  13. 13
    Article
    Avatar of colkgirlCode Like A Girl·2y

    Dependency Injection in .net core

    Learn about dependency injection and its components, including services, dependency inversion, and inversion of control. Understand how dependency injection achieves loose coupling in programming.

  14. 14
    Article
    Avatar of codemazeCode Maze·2y

    Creating Conditional Required Attributes for Validation in .NET Web API

    Learn about creating conditional required attributes for validation in .NET Web API and the approaches to achieve it. Explore the usage of custom validation attributes and the ExpressiveAnnotations library.

  15. 15
    Article
    Avatar of codemazeCode Maze·2y

    How to Log a Class and Method Names Using Serilog

    Learn how to log class and method names using Serilog in a Minimal API project.

  16. 16
    Article
    Avatar of codemazeCode Maze·2y

    Tools and Best Practices for Secret Management in .NET

    Learn about the tools and best practices for secret management in .NET applications, including the importance of secret management in software development.

  17. 17
    Article
    Avatar of milanjovanovicMilan Jovanović·2y

    Automatically Register Minimal APIs in ASP.NET Core

    Learn how to automatically register minimal APIs in ASP.NET Core using the IEndpoint interface and reflection.

  18. 18
    Article
    Avatar of andrewlock.NET Escapades·2y

    Using named pipes with ASP.NET Core and HttpClient

    This post explains Windows named pipes, their usefulness and how to use them with ASP.NET Core and HttpClient.

  19. 19
    Article
    Avatar of codemazeCode Maze·2y

    Parallel.ForEachAsync() and Task.Run() With When.All in C#

    This post compares the 'Task.WhenAll()' and 'Parallel.ForEachAsync()' methods for parallel programming in C#. It discusses their benefits, usage, and considerations for different scenarios.

  20. 20
    Video
    Avatar of discdotDiscover .NET·2y

    The Messaging Pattern You NEED To Know in .NET

    Learn about the transactional outbox pattern in messaging using .NET and the importance of using it. Discover alternatives to the outbox pattern and how to implement it using Amazon SQS.