Best of .NETNovember 2023

  1. 1
    Article
    Avatar of communityCommunity Picks·3y

    What's new in .NET 8?

    Explore the new features and enhancements in .NET 8, including C# 12, performance improvements, Native AOT, new types for improving performance, and NuGet audit for package security.

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

    EP 38 : How to use Guard Clauses in C#

    This article discusses guard clauses in C#, including what they are, how to implement them in .NET, and how they differ from validation.

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

    .NET 8 and C# 12–Overview

    DevToys is an offline Windows app that offers help with a large list of coding tasks. It provides a fully offline experience and supports tasks such as converters, parsers, formatters, generators, validators, and more.

  4. 4
    Article
    Avatar of bartwullemsThe Art of Simplicity·3y

    .NET 8–Http Logging

    ASP.NET Core in .NET 8 introduces new capabilities in the HTTP logging middleware, eliminating the need for Serilog to achieve similar results. These capabilities include measuring the duration of request/response processing and consolidating all enabled logs into one.

  5. 5
    Article
    Avatar of hnHacker News·3y

    Bevy 0.12

    Bevy 0.12 brings several new features and improvements to the Bevy game engine, including one-shot systems, UI materials, and a unified `Time` API. The UI in Bevy 0.12 now supports outlines and custom shaders. Additionally, the `AnimationPlayer` API has been improved.

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

    EP 39 : How to organize your dependencies in .NET

    The article discusses three different approaches of registering dependencies in .NET, which are inline dependency registration, extension method dependency registration, and modularized dependency registration. Each approach offers its own benefits, with modularized dependency registration providing a more organized and modular approach to dependency registration.

  7. 7
    Article
    Avatar of dotnet.NET Blog·3y

    Announcing C# 12

    C# 12 is now available and brings better developer productivity with simplified syntax and faster execution. The new features include collection expressions, primary constructors for all classes and structs, aliasing any type, and default parameters for lambda expressions. These features simplify code and improve performance. The article also mentions experimental features like the experimental attribute and interceptors.

  8. 8
    Article
    Avatar of discdotDiscover .NET·3y

    What Is .NET Aspire? The Insane Future of .NET!

    Introducing .NET Aspire, a cloud-ready stack for building observable distributed applications that aims to solve pain points in building distributed apps. It provides easy implementation and connectivity between services, along with features like output caching using Redis.

  9. 9
    Article
    Avatar of devblogsDevBlogs·3y

    Announcing ASP.NET Core in .NET 8

    ASP.NET Core in .NET 8 brings new features and improvements, including enhanced performance, support for native AOT, full stack web UI capabilities with Blazor, and a JavaScript SDK and project system in Visual Studio. It also introduces metrics, named pipes transport, Redis-based output caching, route tooling improvements, debugging enhancements, and more. To upgrade an existing project, follow the migration guide. The release of .NET 8 is being celebrated at .NET Conf 2023, a virtual developer event.

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

    How To Easily Create PDF Documents in ASP.NET Core

    Learn how to easily create PDF documents in ASP.NET Core using libraries like QuestPDF and IronPDF. The article discusses common problems faced by .NET developers when working with PDF files, features of QuestPDF and IronPDF, merging multiple PDF files, and exporting PDF files from an API.

  11. 11
    Article
    Avatar of discdotDiscover .NET·3y

    Every New Feature Added in C# 12

    C# 12 introduces several new features, including primary constructors, collection expressions, and ref readonly parameters. Primary constructors allow for simplified constructor syntax at the class level, collection expressions simplify array initialization, and ref readonly parameters allow for passing references to value types. Other features mentioned include default lambda parameters, alias any type, inline arrays, the experimental attribute, and interceptors.

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

    Vertical Slice Architecture

    Vertical Slice Architecture organizes the system around features instead of technical layers, minimizing coupling between slices and maximizing coupling in a slice.

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

    How To Use EF Core Interceptors

    EF Core interceptors allow you to intercept, change, or suppress EF Core operations. They can be used for audit logging, publishing domain events, and storing outbox messages. These interceptors can be configured using Dependency Injection.

  14. 14
    Article
    Avatar of discdotDiscover .NET·3y

    A more flexible and enhanced way of logging in .NET 8

    The latest version of .NET (version 8) introduces a more flexible and enhanced way of logging using the `LoggerMessageAttribute`. This attribute helps in defining logs and provides benefits like reduced code size and improved performance.

  15. 15
    Article
    Avatar of discdotDiscover .NET·3y

    The Evolution of C#

    C# has evolved over the years with the introduction of various features and updates. It is widely used in the technology industry today. The latest upcoming major update for C# is C# 12.

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

    Primary constructors has caused concerns for C# developers

    Concerns have been raised by C# developers regarding the use of primary constructors for dependency injection. While primary constructors reduce code bloat, the mutability of parameters can lead to instances being changed in other parts of the class, increasing the risk of runtime exceptions. There are discussions about adding read-only parameters to primary constructors in the future.

  17. 17
    Article
    Avatar of systemweaknessSystem Weakness·3y

    Protecting Your C# Entity Framework Application from SQL Injection

    Learn how to protect your C# Entity Framework application from SQL injection attacks by using parameterized queries, the Entity Framework Core setup, and proper input sanitization.